Miggo Logo

CVE-2020-1762: Insufficient Session Expiration in Kiali

8.6

CVSS Score
3.1

Basic Information

EPSS Score
0.78837%
Published
5/18/2021
Updated
1/9/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/kiali/kialigo>= 0.4.0, < 1.15.11.15.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stemmed from three key issues: 1) Missing validation of JWT expiration/subject claims in GetTokenClaimsIfValid, 2) Use of a weak static signing key in GetSignedTokenString, and 3) Over-reliance on external token validation in ValidateToken without JWT claim checks. The commits show these were addressed by adding claim validation (ExpiresAt, Subject, SessionId), enforcing secure signing keys, and removing the insufficient ValidateToken method. The CWEs (295/384/613) directly map to these flaws in JWT handling and session management.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*n insu**i*i*nt JWT v*li**tion vuln*r**ility w*s *oun* in Ki*li v*rsions *.*.* to *.**.* *n* w*s *ix** in Ki*li v*rsion *.**.*, w**r*in * r*mot* *tt**k*r *oul* **us* t*is *l*w *y st**lin* * v*li* JWT *ooki* *n* usin* t**t to spoo* * us*r s*ssion, pos

Reasoning

T** vuln*r**ility st*mm** *rom t*r** k*y issu*s: *) Missin* v*li**tion o* JWT *xpir*tion/su*j**t *l*ims in **tTok*n*l*imsI*V*li*, *) Us* o* * w**k st*ti* si*nin* k*y in **tSi*n**Tok*nStrin*, *n* *) Ov*r-r*li*n** on *xt*rn*l tok*n v*li**tion in V*li**