Arbitrary file upload in Autoptimize
CVE-2021-24376
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.037 · 90.1th percentile
- Published
- 2021-06-21
The Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archive via the "Import Settings" feature, after its extraction. However, the extracted folders are not checked and it is possible to upload a zip which contained a directory with PHP file in it and then it is not removed from the disk. It is a bypass of CVE-2020-24948 which allows sending a PHP file via the "Import Settings" functionality to achieve Remote Code Execution.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.037, 90.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Autoptimize
- Autoptimize — versions 2.7.8
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (20142995/nuclei-templates, afine-com/research, afinepl/research, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e (Exploit, Third Party Advisory)