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

High 8.1 Published Updated

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.

Sources

Also known as GHSA-4639-xx39-q537.

Is CVE-2021-24377 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free