Technical impact
Improper Limitation of a Pathname to a Restricted Directory, commonly known as Path Traversal, is present in the WP Rocket plugin for WordPress. This flaw allows an attacker to supply crafted requests that cause the plugin to resolve file paths outside its intended directory. Based on the description, it is inferred that an attacker could use this traversal to upload or execute arbitrary code on the site, leading to full system compromise.
Affected Systems
The WP Rocket plugin distributed by WP Media for WordPress versions earlier than 3.24.2 is affected. Any installation of WP Rocket prior to the 3.24.2 update is vulnerable, while versions 3.24.2 and later are considered fixed. The vulnerability targets the plugin’s handling of HTTP parameters that dictate file paths and does not directly impact core WordPress files.
Risk and Exploitability
The CVSS score of 9.8 indicates critical severity, and no EPSS score is available, implying no publicly reported exploitation incidents yet. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is through crafted HTTP requests to the plugin’s endpoints, and an attacker may need network or local access to the web server to exploit this path traversal.