Unauthenticated code execution via single-pass filename sanitization
Published Apr 5, 2021 · Updated Aug 3, 2024
Unrestricted file upload in Vanquish WooCommerce Upload Files before 59.4 allows remote attackers to execute PHP code without authentication. The public ajax_manage_file_chunk_upload handler removes blocked substrings only once, so nested extensions survive; its session identifier also permits path traversal. A crafted request can place executable PHP in the webroot and enable complete site takeover without an account or user interaction.
Summary
What happened
Unrestricted file upload in Vanquish WooCommerce Upload Files before 59.4 allows remote attackers to execute PHP code without authentication. The public ajax_manage_file_chunk_upload handler removes blocked substrings only once, so nested extensions survive; its session identifier also permits path traversal. A crafted request can place executable PHP in the webroot and enable complete site takeover without an account or user interaction.
The record
- CVE
- CVE-2021-24171
- Published
- Apr 5, 2021
- Updated
- Aug 3, 2024
- Vendor
- Vanquish
- Product
- WooCommerce Upload Files
- Classifications
- CWE-434, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 5, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 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=59.4 <59.4
What conditions does exploitation require?
What is affected?
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
- Wordfence nested-extension and traversal proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Wordfence blocked attacks targeting the file-upload flawreported exploitation
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