CVE-2011-1183: Access controll bypass in Apache Tomcat
5.8
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.7155%
CWE
-
Published
5/14/2022
Updated
2/21/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.tomcat:tomcat | maven | = 7.0.11 | 7.0.12 |
Vulnerability Intelligence
Miggo AI
Root 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.