Author-level code execution via forged PHAR requests
Published Dec 18, 2023 · Updated Aug 2, 2024
CSRF in WP All Export before 1.4.0 and WP All Export Pro before 1.8.6 allows remote authenticated users to trigger PHAR deserialization. The admin AJAX options action accepts an attacker-controlled phar:// filepath before nonce validation, and the download action dereferences it to deserialize archive metadata. Exploitation requires file-upload capability, a usable object gadget, PHP 7.4 or earlier, and a logged-in Super Admin induced to send both requests; the gadget executes in the server context.
Summary
What happened
CSRF in WP All Export before 1.4.0 and WP All Export Pro before 1.8.6 allows remote authenticated users to trigger PHAR deserialization. The admin AJAX options action accepts an attacker-controlled phar:// filepath before nonce validation, and the download action dereferences it to deserialize archive metadata. Exploitation requires file-upload capability, a usable object gadget, PHP 7.4 or earlier, and a logged-in Super Admin induced to send both requests; the gadget executes in the server context.
The record
- CVE
- CVE-2023-5886
- Published
- Dec 18, 2023
- Updated
- Aug 2, 2024
- Vendor
- Breakdance
- Product
- WP All Export Pro
- Classifications
- CWE-352, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 18, 2023CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.8.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan PHAR deserialization proof of conceptproof of concept · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo