keycloak-admin-console-config: Keycloak Admin Console Configuration Disclosure

2026-01-08 Keycloak Admin Console Config PoC Public

Description

Detected Keycloak admin console configuration was exposing realm name, client ID, SSL requirements, and authentication server URL enabling reconnaissance and targeted authentication attacks.

PoC

id: keycloak-admin-console-config

info:
  name: Keycloak Admin Console Configuration Disclosure
  author: 0x_Akoko
  severity: low
  description: |
    Detected Keycloak admin console configuration was exposing realm name, client ID, SSL requirements, and authentication server URL enabling reconnaissance and targeted authentication attacks.
  reference:
    - https://www.keycloak.org/docs/latest/server_admin/index.html
    - https://www.keycloak.org/docs/latest/securing_apps/index.html
  metadata:
    verified: true
    max-request: 4
    shodan-query: app:"Keycloak"
  tags: keycloak,config,exposure,disclosure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin/master/console/config"
      - "{{BaseURL}}/admin/main/console/config"
      - "{{BaseURL}}/auth/admin/master/console/config"
      - "{{BaseURL}}/auth/admin/main/console/config"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"realm":'
          - '"resource":'
          - '"auth-server-url":'
        condition: and

      - type: word
        part: content_type
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100cad3ca53655112b2211ee5375e81f53a9d3d448d9761d51ac194581986de00e2022100c7ff6ca8abcd680a5ad3e85271a69d4416f30075501cb97c6edd2b11faa211ae:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities