CVE-2021-24209
WP Super Cache < 1.7.2 - Authenticated Remote Code Execution (RCE)
Description
The WP Super Cache WordPress plugin before 1.7.2 was affected by an authenticated (admin+) RCE in the settings page due to input validation failure and weak $cache_path check in the WP Super Cache Settings -> Cache Location option. Direct access to the wp-cache-config.php file is not prohibited, so this vulnerability can be exploited for a web shell injection.
Exploitation
EPSS 27.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.1% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-94 Improper Control of Generation of Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
WP Super Cache
Unknown
|
affected before 1.7.2
Other versions: unaffected
|
Is my server affected?
This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Patches and release notes
- https://plugins.trac.wordpress.org/changeset/2496238/wp-super-cache plugins.trac.wordpress.org · patch
Exploits and proof of concept
- https://wpscan.com/vulnerability/733d8a02-0d44-4b78-bbb2-37e447acd2f3 wpscan.com · exploit, vdb entry, technical description
Source: the record CVE-2021-24209 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse