GHSA-9xrj-439h-62hg CVE-2012-5886
Improper Authentication in Apache Tomcat
- Severity
- Medium
- The publisher's own rating, not a CVSS score
- Exploit chance (EPSS)
- 8.77%
- Chance of exploitation in the next 30 days. Higher than 95.17% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-287 Improper Authentication
- Fix
5.5.36- Upgrade org.apache.tomcat:tomcat-catalina to this version or later
Description
The HTTP Digest Access Authentication implementation in Apache Tomcat 5.5.x before 5.5.36, 6.x before 6.0.36, and 7.x before 7.0.30 caches information about the authenticated user within the session state, which makes it easier for remote attackers to bypass authentication via vectors related to the session ID.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-catalina | >= 5.5.0, < 5.5.36 |
5.5.36 |
| org.apache.tomcat:tomcat-catalina | >= 6.0.0, < 6.0.36 |
6.0.36 |
| org.apache.tomcat:tomcat-catalina | >= 7.0.0, < 7.0.30 |
7.0.30 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.apache.tomcat:tomcat-catalina Maven → 5.5.36
- maven
<dependency><groupId>org.apache.tomcat</groupId><artifactId>tomcat-catalina</artifactId><version>5.5.36</version></dependency>- gradle
implementation("org.apache.tomcat:tomcat-catalina:5.5.36")
Weakness
CWE-287: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
How to prevent it
- Architecture and Design: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
References
Advisories
Other links
- exchange.xforce.ibmcloud.com/vulnerabilities/80407
- lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
- lists.opensuse.org/opensuse-updates/2012-12/msg00090.html
- lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
- rhn.redhat.com/errata/RHSA-2013-0623.html
- rhn.redhat.com/errata/RHSA-2013-0629.html
- rhn.redhat.com/errata/RHSA-2013-0631.html
- rhn.redhat.com/errata/RHSA-2013-0632.html
- rhn.redhat.com/errata/RHSA-2013-0640.html
- rhn.redhat.com/errata/RHSA-2013-0647.html
- rhn.redhat.com/errata/RHSA-2013-0648.html
- rhn.redhat.com/errata/RHSA-2013-0726.html
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- tomcat.apache.org/security-5.html
- tomcat.apache.org/security-6.html
- tomcat.apache.org/security-7.html
- www-01.ibm.com/support/docview.wss
- ubuntu.com/usn/USN-1637-1
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-83qj-6fr2-vhqg Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT | Critical Known exploited | Also affects org.apache.tomcat:tomcat-catalina |
| GHSA-xjgh-84hx-56c5 Unrestricted Upload of File with Dangerous Type Apache Tomcat | High Known exploited | Also affects org.apache.tomcat:tomcat-catalina |
| GHSA-cw54-59pw-4g8c Apache Tomcat Improper Access Control vulnerability | Critical Known exploited | Also affects org.apache.tomcat:tomcat-catalina |
| GHSA-h3x4-894j-xpx5 Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability | Critical | Also affects org.apache.tomcat:tomcat-catalina |
| GHSA-9xv2-5v5q-p794 Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability | Critical | Also affects org.apache.tomcat:tomcat-catalina |
| GHSA-gcx9-497g-6cp6 Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability | Critical | Also affects org.apache.tomcat:tomcat-catalina |
| GHSA-5m62-pw8w-7w9f Apache Tomcat - Security constraints not correctly applied | Critical | Also affects org.apache.tomcat:tomcat-catalina |
| GHSA-9m89-8frq-c98c Apache Tomcat - AJP secret compared in non-constant time | Low | Also affects org.apache.tomcat:tomcat-catalina |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor