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

Published Jun 21, 2021
·
Updated

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 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-24376?

The severity of CVE-2021-24376 is considered high due to the potential for unauthorized file uploads and execution of malicious code.

2

How do I fix CVE-2021-24376?

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

3

What causes CVE-2021-24376?

CVE-2021-24376 is caused by inadequate validation of extracted files during the import process in the Autoptimize plugin.

4

Who is affected by CVE-2021-24376?

Any user of the Autoptimize WordPress plugin prior to version 2.7.8 is affected by CVE-2021-24376.

5

What impact does CVE-2021-24376 have on my WordPress site?

CVE-2021-24376 can lead to malicious file uploads, which may compromise the security of your WordPress site.

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