Miggo Logo

CVE-2020-1698: Keycloak leaks sensitive information in logged exceptions

5.5

CVSS Score
3.1

Basic Information

EPSS Score
0.15604%
Published
5/24/2022
Updated
4/22/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.keycloak:keycloak-coremaven< 9.0.09.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The commit diff shows a critical change in HttpMethod.java where the exception message was modified from using 'builder' (which includes request parameters) to 'builder.getMethod()' (which only shows the HTTP verb). This directly matches the vulnerability description about password leakage in logged exceptions. The CVE and GHSA both reference this code change as the fix, confirming this function's role in the vulnerability.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

* *l*w w*s *oun* in k*y*lo*k in v*rsions ***or* *.*.*. * lo**** *x**ption in t** *ttpM*t*o* *l*ss m*y l**k t** p*sswor* *iv*n *s p*r*m*t*r. T** *i***st t*r**t *rom t*is vuln*r**ility is to **t* *on*i**nti*lity.

Reasoning

T** *ommit *i** s*ows * *riti**l ***n** in `*ttpM*t*o*.j*v*` w**r* t** *x**ption m*ss*** w*s mo*i*i** *rom usin* '*uil**r' (w*i** in*lu**s r*qu*st p*r*m*t*rs) to '*uil**r.**tM*t*o*()' (w*i** only s*ows t** *TTP v*r*). T*is *ir**tly m*t***s t** vuln*r