Autoptimize < 2.7.8 - Race Condition leading to RCE
CVE-2021-24377
Key facts
CVE-2021-24377 is a high severity (CVSS 8.1) vulnerability in Wordpress Autoptimize. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.1%, the estimated probability of exploitation in the next 30 days.
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit code yet
- No: No attacks seen yet
- No: Not on CISA's exploited list
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Autoptimize. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (8.1).
What is CVE-2021-24377?
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 Version(s)
Autoptimize 2.7.8