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

Published Jun 21, 2021
·
Updated

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.

Affected Software

1 affected component
Autoptimize Autoptimize Wordpress<2.7.8

Event History

Jun 21, 2021
CVE Published
via MITRE·07:18 PM
Data Sourced
via MITRE·07:18 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-24377?

CVE-2021-24377 has been rated as a high severity vulnerability due to the potential for remote code execution.

2

How do I fix CVE-2021-24377?

To fix CVE-2021-24377, update the Autoptimize plugin to version 2.7.8 or later.

3

What does CVE-2021-24377 exploit?

CVE-2021-24377 exploits a race condition that can result in remote code execution when using the 'Import Settings' feature of the Autoptimize plugin.

4

Which versions of Autoptimize are affected by CVE-2021-24377?

CVE-2021-24377 affects all versions of the Autoptimize WordPress plugin prior to 2.7.8.

5

Is CVE-2021-24377 a common vulnerability?

CVE-2021-24377 is considered a notable vulnerability due to its implications for WordPress security and the widespread use of the Autoptimize plugin.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203