CVE-2021-24376

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:*

History

21 Nov 2024, 05:52

Type Values Removed Values Added
References () https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e - Exploit, Third Party Advisory () https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e - Exploit, Third Party Advisory

25 Jun 2021, 15:46

Type Values Removed Values Added
References (CONFIRM) https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e - (CONFIRM) https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e - Exploit, Third Party Advisory
CPE cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CWE CWE-434

21 Jun 2021, 20:27

Type Values Removed Values Added
New CVE

Information

Published : 2021-06-21 20:15

Updated : 2024-11-21 05:52


NVD link : CVE-2021-24376

Mitre link : CVE-2021-24376

CVE.ORG link : CVE-2021-24376


JSON object : View

Products Affected

autoptimize

  • autoptimize
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type