Skip to main content

aDirectory CVE-2024-50420

CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2024-10-29 audit@patchstack.com
10.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify site running aDirectory ≤ 1.3
  2. Delivery
    Craft POST request with PHP web shell payload
  3. Exploit
    Submit to unauthenticated upload endpoint
  4. Execution
    Request uploaded shell URL
  5. Persist
    Execute commands as web server user
  6. Impact
    Establish 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 1.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

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

NVD PRIMARY 10.0 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 23, 2026 - 15:22 NVD
10.0 (CRITICAL)
CVE Published
Oct 29, 2024 - 09:15 nvd
N/A

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
1.7%
Top 18% exploitable
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 1.7%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy