CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-24376
Autoptimize vulnerability

The Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archive via the "Import Settings" feature, after its extraction. However, the extracted folders are not checked and it is possible to upload a zip which contained a directory with PHP file in it and then it is not removed from the disk. It is a bypass of CVE-2020-24948 which allows sending a PHP file via the "Import Settings" functionality to achieve Remote Code Execution.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Autoptimize. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Autoptimize runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.