Miggo Logo

CVE-2011-1183: Access controll bypass in Apache Tomcat

5.8

CVSS Score

Basic Information

EPSS Score
0.7155%
CWE
-
Published
5/14/2022
Updated
2/21/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.tomcat:tomcatmaven= 7.0.117.0.12

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper handling of security constraints when no login configuration exists. The commit diff shows critical changes in AuthenticatorBase.java where security constraint checks (constraints == null) were modified to include a context.getPreemptiveAuthentication() check. In the vulnerable version (7.0.11), the absence of this check allowed unauthenticated access to protected resources when constraints were not explicitly defined. The test case added in the commit (testSecurityAnnotationsNoWebXmlLoginConfig) directly validates this scenario, confirming the function's role in the vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*p**** Tom**t *.*.**, w**n w**.xml **s no lo*in *on*i*ur*tion, *o*s not *ollow s**urity *onstr*ints, w*i** *llows r*mot* *tt**k*rs to *yp*ss int*n*** ****ss r*stri*tions vi* *TTP r*qu*sts to * m*t*-**t* *ompl*t* w** *ppli**tion. NOT*: t*is vuln*r**i

Reasoning

T** vuln*r**ility st*ms *rom improp*r **n*lin* o* s**urity *onstr*ints w**n no lo*in *on*i*ur*tion *xists. T** *ommit *i** s*ows *riti**l ***n**s in `*ut**nti**tor**s*.j*v*` w**r* s**urity *onstr*int ****ks (*onstr*ints == null) w*r* mo*i*i** to in*l