CVE-2021-24376

published 21 Jun 2021 · updated 3 Aug 2024

Autoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings"

5.0MediumEPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in 2.7.8.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=2.7.8 <2.7.82.7.8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-24376 severity on Zeptric[![CVE-2021-24376](https://zeptric.io/badge/cve/CVE-2021-24376.svg)](https://zeptric.io/cve/CVE-2021-24376)