Keycloak OpenID Configuration - Detect
ID: keycloak-openid-config
Severity: info
Author: rodnt
Tags: keycloak,config,exposure
Description
Section titled “Description”Keycloak Openid configuration information was detected.
YAML Source
Section titled “YAML Source”id: keycloak-openid-config
info: name: Keycloak OpenID Configuration - Detect author: rodnt severity: info description: Keycloak Openid configuration information was detected. reference: - https://issues.jboss.org/browse/KEYCLOAK-571 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N cvss-score: 0 cwe-id: CWE-200 metadata: max-request: 2 tags: keycloak,config,exposure
http: - method: GET path: - "{{BaseURL}}/.well-known/openid-configuration" - "{{BaseURL}}/auth/realms/master/.well-known/openid-configuration"
matchers-condition: and matchers: - type: status status: - 200
- type: word words: - 'issuer' - 'authorization_endpoint' - 'token_endpoint' - 'userinfo_endpoint' - 'jwks_uri' condition: and# digest: 4a0a0047304502205614d975e7865ff28b312e718ec067dbac8ea5bf3f4be7b308920de5ee460d34022100bea16d29d9bd7710c5ff85917d90b83d721f00a6e42256353f680b16cefe0b29:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/configs/keycloak-openid-config.yaml"