CVE-2021-24171
JSON

9.8critical

WooCommerce Upload Files < 59.4 - Unauthenticated Arbitrary File Upload

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.90% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

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.

Affected

Product or packageVersionsReported by
Unknown WooCommerce Upload Filesfrom 59.4 before 59.4CVE List
vanquish woocommerce_upload_filesbefore 59.4NVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

El plugin de WordPress WooCommerce Upload Files versiones anteriores a 59.4 ejecutó una sola pasada de saneamiento para eliminar extensiones bloqueadas como .php.&#xa0;Era posible omitir esto y cargar un archivo con una extensión PHP insertando una extensión "blocked" dentro de otra extensión "blocked" en el parámetro "wcuf_file_name".&#xa0;También fue posible llevar a cabo un ataque de extensión doble y subir archivos a una ubicación diferente por medio del salto de ruta usando el parámetro "wcuf_current_upload_session_id"

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24171 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24171 changed 2026-06-17Public domain