Skip to content

CVE-2021-24376 Autoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings"

CriticalCVSS 9.8 EPSS 3.7%
Published
Updated
Exploit status
No public exploit known
Technology
PHPWordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
autoptimize < 2.7.8 2.7.8 Fixed
wordpress autoptimize(WordPress) < 2.7.8 2.7.8 Fixed

Affected products

ProductAffected versionsFixed in
wordpress autoptimize(WordPress) < 2.7.8 2.7.8
autoptimize < 2.7.8 2.7.8

References