CVE-2021-24377 Autoptimize < 2.7.8 - Race Condition leading to RCE
An attacker can achieve remote code execution by exploiting a race condition in the Autoptimize WordPress plugin's import feature.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-24377?
CVE-2021-24377 is a high-severity vulnerability in Unknown Autoptimize, published on 21 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-362
Which versions are affected by CVE-2021-24377?
It affects 1 product.
Products include Autoptimize Autoptimize.
How do I fix CVE-2021-24377?
No fix has been published for CVE-2021-24377 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-24377 being exploited?
There is no known exploitation of CVE-2021-24377 in the wild and no public exploit code.
Other vulnerabilities in Unknown Autoptimize
- CVE-2021-24376 Autoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings"
- CVE-2020-24948 File upload in n/a
- CVE-2023-2113 Autoptimize < 3.1.7 - Admin+ Stored Cross-Site Scripting via Settings Import
- CVE-2022-2635 Autoptimize < 3.1.1 - Admin+ Stored Cross Site Scripting
- CVE-2021-24378 Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload
Sources
Also known as GHSA-4639-xx39-q537.