CVE-2021-24376: autoptimize
Vulnerability summary
CVE-2021-24376 is a critical (CVSS 9.8) vulnerability in autoptimize. EPSS estimates a 3.73% chance of exploitation in the next 30 days, higher than 89.6% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 2.7.8.
Timeline
- 21-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versions- wordfenceSource9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.73%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
0.00 pp
From 3.73% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Autoptimize1 product
- autoptimize< 2.7.8
Unknown1 product
- autoptimize≥ 2.7.8, < 2.7.8
Wordpress1 product
- autoptimize< 2.7.8
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1eX Refsource CONFIRMExploitThird Party Advisory