Autoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings"
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-434.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Autoptimize | 2.7.8 to before 2.7.8 | 2.7.8 | Patch available | CNA |
- Autoptimize VendorUnknown Affected 2.7.8 to before 2.7.8 Fixed in 2.7.8 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:* | before 2.7.8 | Vulnerable | Autoptimize |
- cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:* Versions before 2.7.8 Vulnerable ·Autoptimize
Remediation
- Fix · CNA Autoptimize (Unknown) Fixed in 2.7.8
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Autoptimize 2.7.8
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2021-06669 Autoptimize < 2.7.8 - Race Condition leading to RCEPriority LOW 38
- TI-2021-06670 Autoptimize < 2.7.8 - Authenticated Stored XSS via File UploadPriority LOW 23
Timeline
- 2026-10-02 Threatist record created from CVE-2021-24376
- 2026-10-03 Alias added: GHSA-8637-ph22-g43w
References
More Autoptimize vulnerabilities
- TI-2023-01988 Autoptimize < 3.1.7 - Admin+ Stored Cross-Site Scripting via Settings Import CVSS 3.1MEDIUM 4.8
- TI-2020-15253 The ao_ccss_import AJAX call in Autoptimize Wordpress Plugin 2.7.6 does not ensure that… CVSS 3.1HIGH 7.2
- TI-2021-06669 Autoptimize < 2.7.8 - Race Condition leading to RCE CVSS 3.1HIGH 8.1
- TI-2022-02436 Autoptimize < 3.1.1 - Admin+ Stored Cross Site Scripting CVSS 3.1MEDIUM 4.8
- TI-2021-06670 Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload CVSS 3.1MEDIUM 4.8
- TI-2021-06624 Autoptimize < 2.8.4 - Authenticated Stored Cross-Site Scripting (XSS) CVSS 3.1MEDIUM 4.8
Sources
- CVE-2021-24376 · CVE Program
- CVE-2021-24376 · NVD
- FIRST EPSS
- GHSA-8637-ph22-g43w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences