Miggo Logo

CVE-2009-0580: Exposure of Sensitive Information in Apache Tomcat

4.3

CVSS Score

Basic Information

EPSS Score
0.99471%
Published
5/2/2022
Updated
2/13/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.tomcat:tomcatmaven>= 4.1.0, < 4.1.404.1.40
org.apache.tomcat:tomcatmaven>= 5.0.0, < 5.5.285.5.28
org.apache.tomcat:tomcatmaven>= 6.0.0, < 6.0.196.0.19

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper error handling in three authentication realms during FORM authentication processing. All three realms (MemoryRealm, DataSourceRealm, JDBCRealm) were explicitly listed in CVE-2009-0580's description as having insufficient error checking when processing malformed j_password parameters. The authentication flow in these realms allowed attackers to infer valid usernames based on how URL decoding failures were handled compared to normal authentication failures. Tomcat's security advisories confirm fixes were applied to these specific realm implementations in subsequent versions, directly implicating their authenticate methods as the vulnerable components.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*p**** Tom**t *.*.* t*rou** *.*.**, *.*.* t*rou** *.*.**, *n* *.*.* t*rou** *.*.**, w**n *ORM *ut**nti**tion is us**, *llows r*mot* *tt**k*rs to *num*r*t* v*li* us*rn*m*s vi* r*qu*sts to /j_s**urity_****k wit* m*l*orm** URL *n*o*in* o* p*sswor*s, r*l

Reasoning

T** vuln*r**ility st*ms *rom improp*r *rror **n*lin* in t*r** *ut**nti**tion r**lms *urin* *ORM *ut**nti**tion pro**ssin*. *ll t*r** r**lms (M*moryR**lm, **t*Sour**R**lm, J***R**lm) w*r* *xpli*itly list** in *V*-****-****'s **s*ription *s **vin* insu