Skip to content

CVE-2021-24377 Autoptimize < 2.7.8 - Race Condition leading to RCE

HighCVSS 8.1 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
Technology
WordPress

Description

The Autoptimize WordPress plugin before 2.7.8 attempts to remove potential malicious files from the extracted archive uploaded via the 'Import Settings' feature, however this is not sufficient to protect against RCE as a race condition can be achieved in between the moment the file is extracted on the disk but not yet removed. It is a bypass of CVE-2020-24948.

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
autoptimize < 2.7.8 2.7.8
wordpress autoptimize(WordPress) < 2.7.8 2.7.8

References