Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Unauthenticated network endpoint with trivial ../ traversal (AV:N/AC:L/PR:N/UI:N); arbitrary file deletion harms integrity and availability (I:H/A:H) but reveals no data (C:N).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The WP-BusinessDirectory plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Deletion in versions up to and including 4.0.1. This is due to insufficient path validation in the remove() method of the JBusinessDirectoryControllerUpload class. The task=upload.remove endpoint is accessible without authentication via the plugin's frontend routing system. The _filename parameter is accepted with RAW filter (no sanitization), and the helper function makePathFile() only normalizes directory separator characters without stripping path traversal sequences (../). When combined with the _path_type=2 parameter, which sets the base directory to the plugin's site folder, an attacker can supply a _filename value containing ../ sequences to traverse outside the plugin directory and call PHP's unlink() on arbitrary files - including wp-config.php, wp-config-backup.php, or other critical server files accessible to the web server process. This makes it possible for unauthenticated attackers to delete arbitrary files on the server.
Articles & Coverage 2
AnalysisAI
Arbitrary file deletion in the WP-BusinessDirectory (Business Directory) plugin for WordPress (versions ≤ 4.0.1) lets unauthenticated remote attackers delete any file the web server can access, including wp-config.php. The flaw stems from the frontend-accessible task=upload.remove endpoint accepting an unsanitized _filename parameter that permits ../ path traversal. No public exploit is identified at time of analysis, but the CVSS 9.1 rating and trivial exploitation (network, no auth, no user interaction) make it high priority; deleting wp-config.php can force WordPress into its installer, enabling site takeover.
Technical ContextAI
The vulnerability lives in the remove() method of the JBusinessDirectoryControllerUpload class (site/controllers/upload.php) exposed through the plugin's frontend routing as task=upload.remove. WordPress plugins that build their own file-management endpoints must sanitize file paths before filesystem operations; here the _filename parameter is read with a RAW filter, and the helper makePathFile() only normalizes directory-separator characters without stripping ../ traversal sequences. Combined with _path_type=2 (which anchors the base directory to the plugin's site folder), the attacker-controlled path is passed to PHP's unlink(). This is a textbook CWE-73 (External Control of File Name or Path) issue. Affected CPE: cpe:2.3:a:cmsjunkie:wp-businessdirectory_-_business_directory_plugin_for_wordpress, i.e. the CMSJunkie-authored plugin.
RemediationAI
No fixed version is stated in the provided data, so at time of analysis treat this as: no vendor-released patched version independently confirmed - check the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/d7d68f43-2a57-4352-8aae-0657b386ac7c?source=cve) and the WordPress.org plugin page for a release above 4.0.1 and upgrade to it as soon as available. Until a fixed release is confirmed, the safest control is to deactivate and remove the WP-BusinessDirectory plugin (side effect: directory-listing functionality goes offline). If the plugin must stay active, use a WAF or web-server rule to block or filter requests to the plugin's frontend endpoint carrying task=upload.remove and reject any _filename value containing ../ traversal sequences (side effect: may break legitimate file-removal within the plugin admin UI). As defense in depth, ensure the web-server process user cannot write to or delete wp-config.php and other critical files, and maintain off-host backups so a deletion is recoverable.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-73 – External Control of File Name or Path
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-40908
GHSA-xgpp-v9mr-6fg2