WordPress Plugin Vulnerabilities

Autoptimize < 2.7.8 - Race Condition leading to RCE

Description

The plugin 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.

Proof of Concept

Affects Plugins

Fixed in 2.7.8

References

Classification

Type
RCE
OWASP top 10
CWE

Miscellaneous

Original Researcher
Marcin Węgłowski
Submitter
Marcin Węgłowski
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2020-10-09 (about 5 years ago)
Added
2021-06-07 (about 4 years ago)
Last Updated
2021-06-25 (about 4 years ago)

Other