Miggo Logo

CVE-2014-3655:
JBoss KeyCloak is vulnerable to soft token deletion via CSRF

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.40602%
Published
5/17/2022
Updated
2/2/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.keycloak:keycloak-servicesmaven< 1.0.2.Final1.0.2.Final

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The commit diff shows the vulnerable version of processTotpRemove() was a GET endpoint without CSRF protection. The patch added a stateChecker parameter and csrfCheck() call to validate requests. This matches the CWE-352 (CSRF) description and advisory details about unauthorized token deletion via forged requests. The direct correlation between the vulnerability description and the patched code confirms this function's role in the exploit.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

J*oss K*y*lo*k is vuln*r**l* to so*t tok*n **l*tion vi* *SR*. T*is issu* is *ix** in K*y*lo*k *.*.*.*in*l.

Reasoning

T** *ommit *i** s*ows t** vuln*r**l* v*rsion o* pro**ssTotpR*mov*() w*s * **T *n*point wit*out *SR* prot**tion. T** p*t** ***** * st*t*****k*r p*r*m*t*r *n* *sr*****k() **ll to v*li**t* r*qu*sts. T*is m*t***s t** *W*-*** (*SR*) **s*ription *n* **viso