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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.73%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.73% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-434
- Affected
- autoptimize/autoptimize
- Source
- contact@wpscan.com
References
- https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1eExploit, Third Party Advisory
- https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1eExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.