aDirectory CVE-2024-50420
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify site running aDirectory ≤ 1.3
-
DeliveryCraft POST request with PHP web shell payload
-
ExploitSubmit to unauthenticated upload endpoint
-
ExecutionRequest uploaded shell URL
-
PersistExecute commands as web server user
-
ImpactEstablish persistence and pivot
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of the aDirectory plugin versions ≤ 1.3, with no user interaction required per CVSS AV:N/AC:L/PR:N/UI:N. The only prerequisite is that the target site has the aDirectory plugin installed and active and the upload endpoint is reachable over the network. Limiting factor: exploitation requires that the web server is configured to execute scripts (e.g., PHP) in the directory where uploads land, which is the default on most LAMP/WordPress hosts but can be disabled by hardened configurations that deny script execution in upload directories. |
| Impact | Risk signals are uniformly severe: the CVSS vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H indicates network-reachable, low-complexity, unauthenticated, no-user-interaction exploitation with scope change and complete CIA impact - a textbook 10.0 critical. EPSS at 1.67% (82nd percentile) is moderate in absolute terms but well above median, consistent with the typical profile of CWE-434 web-shell upload bugs which are highly automatable once discovered. No KEV listing and no public exploit identified at time of analysis temper urgency somewhat, but the combination of trivial exploitability and direct RCE outcome means defenders should treat this as a real priority, not a high-CVSS-but-low-risk artifact. Note: the description states 'Upload a Web Shell to a Web Server' as the demonstrated impact, which aligns with the CVSS vector - no conflicting signals. |
| Exploit ScenarioDerived | An unauthenticated remote attacker discovers a site running aDirectory ≤ 1.3, sends a crafted multipart POST request to the plugin's upload endpoint containing a PHP web shell disguised or directly named with a .php extension, and the server stores the file in a web-accessible location. The attacker then requests the uploaded shell URL to execute arbitrary commands as the web server user, pivoting to data theft, site defacement, or lateral movement into the underlying host. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
Unauthenticated remote code execution in aDirectory plugin versions up to and including 1.3 allows attackers to upload arbitrary files (web shells) to the web server with no authentication or user interaction required. The CVSS 10.0 score with scope-changed impact indicates full compromise potential, and while no public exploit is identified at time of analysis, the EPSS score of 1.67% (82nd percentile) signals elevated exploitation interest relative to the broader CVE population.
RemediationAI
No vendor-released patch identified at time of analysis - the affected range extends through the latest version 1.3 with no fixed version disclosed in the provided data, so administrators should monitor the Patchstack advisory and the aDirectory vendor channel for an updated release beyond 1.3. As compensating controls until a patch ships, deactivate and remove the aDirectory plugin entirely (the safest option, with the trade-off of losing directory functionality), or restrict access to the plugin's upload endpoint via web server ACLs or a WAF rule blocking POST requests with executable extensions (.php, .phtml, .phar) to the plugin's upload paths (trade-off: may break legitimate uploads if the plugin's workflow depends on the same endpoint). Additionally, set the uploads directory to deny PHP execution at the web server level (e.g., an .htaccess deny rule or nginx location block) to neutralize uploaded web shells even if upload succeeds.
Affected ProductsAI
aDirectory plugin from the vendor aDirectory, all versions from unspecified initial release through and including version 1.3 are affected. The advisory was coordinated through Patchstack (audit@patchstack.com), which typically tracks WordPress ecosystem plugins, suggesting this is the aDirectory WordPress plugin; consult the Patchstack advisory database for the canonical vendor reference and any plugin slug/CPE confirmation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
aDirectory is a directory/listing plugin (commonly a WordPress plugin given the Patchstack reporting source) that includes file upload functionality. The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type), where the upload handler fails to validate or restrict the MIME type, extension, or content of uploaded files. This permits an attacker to upload executable server-side scripts (PHP web shells) into a web-accessible directory, where the web server will then execute them on request, granting code execution in the context of the web server process.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Unrestricted Upload of File with Dangerous Type vulnerability in aDirectory aDirectory adirectory allows Upload a Web Shell to a Web Server.This issue affects aDirectory: from n/a through <= 1.3.
Executive ViewAI
aDirectory plugin versions 1.3 and earlier contain a critical unauthenticated remote code execution vulnerability allowing attackers to upload and execute arbitrary files (web shells) on affected web servers without authentication. This CVSS 10.0 vulnerability represents complete system compromise with no vendor patch currently available, creating immediate risk to any organization using these versions. The 82nd percentile EPSS score indicates elevated exploitation interest among attackers.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement Web Application Firewall rules to block file uploads to aDirectory plugin directories; (2) Restrict network access to the plugin via firewall to trusted administrative IP ranges only; (3) Disable the plugin entirely if operationally feasible; (4) Deploy file integrity monitoring on plugin directories to detect unauthorized file creation; (5) Enable real-time alerting for suspicious file upload attempts and web shell execution patterns; (6) Configure web server to run with minimal required privileges to contain blast radius of potential compromise.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB