← Back to CVEs
CVE-2021-24171
CRITICAL9.8
Description
The WooCommerce Upload Files WordPress plugin before 59.4 ran a single sanitization pass to remove blocked extensions such as .php. It was possible to bypass this and upload a file with a PHP extension by embedding a "blocked" extension within another "blocked" extension in the "wcuf_file_name" parameter. It was also possible to perform a double extension attack and upload files to a different location via path traversal using the "wcuf_current_upload_session_id" parameter.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/5/2021
Last Modified11/25/2024
Sourcenvd
Honeypot Sightings0
Affected Products
vanquish:woocommerce_upload_files
Weaknesses (CWE)
CWE-434CWE-434
References
https://wpscan.com/vulnerability/ed4288a1-f7e4-455f-b765-5ac343f87194(contact@wpscan.com)
https://www.wordfence.com/blog/2021/03/critical-vulnerability-patched-in-woocommerce-upload-files/(contact@wpscan.com)
https://wpscan.com/vulnerability/ed4288a1-f7e4-455f-b765-5ac343f87194(af854a3a-2127-422b-91ae-364da2661108)
https://www.wordfence.com/blog/2021/03/critical-vulnerability-patched-in-woocommerce-upload-files/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.