W3 Total Cache, 3b66bd46-b266-4f3b-ae74-823586e73ebd
- CVE, Research URL
- Home page URL
- Application
- Published on
- -
- Research Description
- W3 Total Cache [w3-total-cache] < 0.9.5 W3 Total Cache <= 0.9.4.1 – Unauthenticated Security Token Bypass The /pub/apc.php file is used to empty the OPCache/APC. The script seems protected by a nonce (aka security token): *********** $nonce = W3_Request::get_string('nonce'); $uri = $_SERVER['REQUEST_URI']; if (wp_hash($uri) == $nonce) { ************ But the flaw stays in the == operator which is not the one to use when you want to compare hashes because of php type juggling. You can find an example of type juggling on https://3v4l.org/tT4l8 To exploit the vulnerability, the token has to start with `0e` and all other chars have to be numbers, then the user can just add a param in the url like `?nonce=0` and it will be validated.
- Affected versions
-
max 0.9.5.
- Status
-
vulnerable