Skip to main content

Directorist WordPress Plugin CVE-2025-10488

HIGH
Path Traversal (CWE-22)
2025-10-25 security@wordfence.com
8.1
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

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

  1. Access
    Reach add_listing_action AJAX endpoint
  2. Delivery
    Submit crafted file path parameter
  3. Exploit
    Bypass insufficient path validation
  4. Execution
    Move wp-config.php or plant file
  5. Impact
    Achieve remote code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation targets the add_listing_action AJAX action in the Directorist plugin (WordPress), which performs insufficient file path validation on a file-move operation; the attacker supplies a crafted path to relocate an arbitrary server file such as wp-config.php to enable RCE. The description states no authentication is required and there is no user-interaction requirement (UI:N), making default Directorist installations exposed over the network. The primary limiting factors are the disagreement over whether authentication is actually needed (CVSS vector says PR:L, description says unauthenticated - confirm with vendor) and that achieving RCE depends on moving a file to a position the attacker can leverage (e.g., disabling wp-config.php to trigger the setup flow); the plugin must be installed and at version ≤8.4.8.

Impact

This is a genuinely serious flaw that warrants prompt patching, though several signals pull in different directions. The strongest driver is technical impact: an arbitrary file move (CWE-22) that the Wordfence researcher explicitly describes as unauthenticated and trivially escalatable to remote code execution by relocating wp-config.php. The provided CVSS vector (AV:N/AC:L/PR:L/UI:N, C:N/I:H/A:H = 8.1) reflects network-reachable, low-complexity exploitation with high integrity and availability impact. CRITICAL CONFLICT: the CVSS vector encodes PR:L (requires some authentication), but the description states 'unauthenticated attackers' - these disagree, and if the description is correct the true severity is closer to 9.1 (PR:N); verify the authentication requirement with Wordfence/vendor before deprioritizing. Countervailing signals are modest: EPSS is only 0.91% (59th percentile), there is no CISA KEV listing, and no public exploit code is referenced, so this is not yet demonstrably mass-exploited. Net: a high-priority patch item for Directorist operators because of the easy RCE path and network attack vector, but current real-world exploitation appears low/unproven rather than widespread - treat the low EPSS as 'not yet weaponized at scale,' not as 'safe.'

Exploit ScenarioDerived

An attacker sends a crafted request to the add_listing_action AJAX endpoint with a manipulated file path, abusing insufficient path validation to move a server file to an attacker-chosen location. By moving or displacing wp-config.php (or planting a controllable file in a web-executable path), the attacker disrupts the application and can pivot to full remote code execution. No public proof-of-concept is referenced in the provided data, so exploitation currently requires independent development of the request.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.9% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 08, 2026

Arbitrary file move in the Directorist WordPress plugin (all versions up to and including 8.4.8) lets attackers abuse the add_listing_action AJAX action, which performs insufficient validation on a file path used in a move/rename operation, to relocate arbitrary files on the server - including wp-config.php, which can push the site into the WordPress installation flow and yield remote code execution. There is a material disagreement across sources on the authentication prerequisite: the published CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) implies a low-privileged authenticated attacker, while the vulnerability description and the independent assessment (PR:N/UI:N) state that no authentication or user interaction is required, so default installations reachable over the network should be treated as exposed. The flaw is easy to trigger once the plugin is present (AC:L) and carries high integrity and availability impact; EPSS is only ~0.9% (59th percentile) and no public exploit code or CISA KEV entry has been identified at time of analysis, but the low attack complexity and RCE potential make expedited patching the right call.

RemediationAI

Upgrade the Directorist plugin to a release later than 8.4.8 as soon as possible - the fix is carried in the plugin repository changeset referenced above (https://plugins.trac.wordpress.org/changeset?old=3377181%40directorist&new=3377181%40directorist), so installing the current WordPress.org release and confirming the installed version string is greater than 8.4.8 is the primary remediation; if an exact patched version number cannot be confirmed through the plugin's changelog, treat the latest available release as the target rather than staying on 8.4.8. Where immediate upgrade is impossible, deactivate and delete the plugin (side effect: loss of directory/listing functionality), or, if it must stay active, block or filter requests to admin-ajax.php carrying action=add_listing_action at the WAF/reverse proxy and reject path parameters containing '..', absolute paths, or directory separators - accepting that this is brittle because legitimate listing submissions may be blocked. Because escalation depends on moving wp-config.php to trigger the WordPress setup flow, add file-integrity monitoring for wp-config.php and abrupt appearance of install/setup screens, and ensure the web server user does not have broader write permissions than needed so that arbitrary moves outside the plugin directory fail (side effect: some plugin features that legitimately write files may break). Also verify whether authentication is genuinely required for the add_listing_action handler in your version, since sources conflict between PR:L and PR:N; if the vendor or your testing confirms unauthenticated access, prioritize the upgrade as a network-reachable RCE path rather than a low-privilege one.

Affected ProductsAI

All versions of the Directorist: AI-Powered Business Directory Plugin with Classified Ads Listings (WordPress plugin slug 'directorist') up to and including 8.4.8 are affected; no CPE string was supplied in the intelligence feed, so coverage should be derived from the plugin slug and version. The vulnerable logic is documented in the 8.4.5 tagged source (https://plugins.trac.wordpress.org/browser/directorist/tags/8.4.5/includes/classes/class-add-listing.php#L634), and the referenced WordPress.org Trac changeset (https://plugins.trac.wordpress.org/changeset?old=3377181%40directorist&new=3377181%40directorist) points at the repository revision that addresses the issue. Any WordPress site with Directorist installed and not updated past 8.4.8 should be inventoried, including sites where the plugin is inactive but still present on disk. The authoritative third-party write-up is the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/2249ef72-9955-4636-b32f-e88720923268?source=cve.

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

Directorist is a PHP-based WordPress business-directory and classified-listings plugin whose AJAX handlers are registered through WordPress's admin-ajax.php mechanism (typically wp_ajax_* and, in this case, the unauthenticated wp_ajax_nopriv_* variant reflected by the PR:N assessment). The vulnerable code path - reachable through the add_listing_action AJAX action and visible in the plugin's includes/classes/class-add-listing.php (referenced at line 634 of the 8.4.5 tag) - performs a file-move operation on an attacker-influenced path without adequate normalization or containment checks. This is a classic CWE-22 improper-limitation-of-pathname-to-restricted-directory defect, but instead of merely reading a file it causes a server-side rename/move, which is a more destructive primitive: an attacker can relocate sensitive files such as wp-config.php, configuration files, or drop location-adjacent scripts. Moving wp-config.php out of the WordPress root causes the CMS to believe it is uninstalled and serve the setup wizard, which an attacker can complete to point the site at an attacker-controlled database and obtain code execution. The RCE is therefore conditional on moving a file to a position the attacker can leverage, but the root cause - unvalidated file paths in an exposed AJAX handler - is unambiguous.

Know when PHP 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

Vendor (wordfence) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 9.1 CRITICAL

Description explicitly states unauthenticated exploitation so PR:N over the input's PR:L; arbitrary file move gives high integrity/availability impact but no direct confidentiality disclosure.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

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

DescriptionCVE.org

The Directorist: AI-Powered Business Directory Plugin with Classified Ads Listings plugin for WordPress is vulnerable to arbitrary file move due to insufficient file path validation in the add_listing_action AJAX action in all versions up to, and including, 8.4.8. This makes it possible for unauthenticated attackers to move arbitrary files on the server, which can easily lead to remote code execution when the right file is moved (such as wp-config.php).

Executive ViewAI

Why It Matters

The Directorist WordPress plugin, in every version up to and including 8.4.8, contains an arbitrary file move flaw that can be abused to relocate wp-config.php and potentially hand an attacker remote code execution on the web server. No vendor patch is currently available, so any organization hosting this plugin on a network-reachable site should treat that site as exposed and move immediately to interim mitigations. Leadership should care because a successful exploit grants full control of the hosting environment, placing customer data, credentials, and brand trust at risk.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: deactivate or remove the Directorist plugin (versions up to and including 8.4.8) where feasible; if it must remain, block or restrict the add_listing_action AJAX action at the WAF or reverse proxy, limit unauthenticated access to admin-ajax.php, enforce least-privilege WordPress roles, apply strict file permissions on wp-config.php, and monitor for unexpected file moves or the site being pushed into the WordPress installation flow. Note a material disagreement on the authentication prerequisite: the CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) indicates a low-privileged authenticated attacker, while the description and independent assessment (PR:N/UI:N) indicate no authentication or user interaction required, so treat network-reachable default installations as exposed. Exploitation status: no public exploit identified at time of analysis.

Threat Intelligence Overview

EPSS Score
0.9%
Top 41% exploitable
Prevalence
Medium
common WordPress directory/classifieds plugin, sizable but not universal install base
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

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

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