WP-BusinessDirectory <= 4.0.1 - Unauthenticated Arbitrary File Deletion via Path Traversal via '_filename' Parameter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-6070
- 2026-10-03 Alias added: GHSA-xgpp-v9mr-6fg2
References
Other 5
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d7d68f43-2a57-4352-8aae-0657b386ac7c?source=cve
- https://plugins.trac.wordpress.org/browser/wp-businessdirectory/trunk/site/controllers/upload.php#L450
- https://plugins.trac.wordpress.org/browser/wp-businessdirectory/tags/4.0.0/site/controllers/upload.php#L450
- https://plugins.trac.wordpress.org/browser/wp-businessdirectory/trunk/site/controllers/upload.php#L127
- https://plugins.trac.wordpress.org/browser/wp-businessdirectory/tags/4.0.0/site/controllers/upload.php#L127
More Cmsjunkie vulnerabilities
- TI-2019-15801 Joomla J-ClassifiedsManager 3.0.5 SQL Injection CVSS 4.0HIGH 8.8
- TI-2019-15800 Joomla J-MultipleHotelReservation 6.0.7 SQL Injection CVSS 4.0HIGH 8.8
- TI-2019-15798 Joomla JHotelReservation 6.0.7 SQL Injection via search-hotels CVSS 4.0HIGH 8.8
- TI-2019-15799 Joomla J-CruisePortal 6.0.4 SQL Injection via cruises CVSS 4.0HIGH 7.1
- TI-2019-15802 Joomla! Component J-BusinessDirectory 4.9.7 SQL Injection CVSS 4.0HIGH 8.8
- TI-2015-01338 SQL injection vulnerability in the CMSJunkie J-ClassifiedsManager component for Joomla!… CVSS 2.0HIGH 7.5
Sources
- CVE-2026-6070 · CVE Program
- CVE-2026-6070 · NVD
- FIRST EPSS
- GHSA-xgpp-v9mr-6fg2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences