Autoptimize <= 2.7.7 - Race Condition leading to Remote Code Execution

8.1
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CVE CVE-2021-24377
CVSS 8.1 (High)
Publicly Published October 9, 2020
Last Updated January 22, 2024
Researcher Marcin Węgłowski

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.

References

Share

1 affected software package

Software Type Plugin
Software Slug autoptimize (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.7.8, or a newer patched version
Affected Version
  • < 2.7.8
Patched Version
  • 2.7.8

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation