cve.bz

CVE-2012-5886 apache tomcat: Improper Authentication

no score yetEPSS 8.8%Fix available

apache tomcat: no CVSS score yet. EPSS 8.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat-catalina 5.5.36, 6.0.36, 7.0.30.

On this page
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.
EPSS
8.8% (unchanged from 8.8% a week ago; 8.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-5886 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-5886?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-5886?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-5886 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2012-5886

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2012-5886](https://cve.bz/cve/badge/CVE-2012-5886.svg)](https://cve.bz/cve/CVE-2012-5886)

HTML:

<a href="https://cve.bz/cve/CVE-2012-5886"><img src="https://cve.bz/cve/badge/CVE-2012-5886.svg" alt="CVE-2012-5886"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcat5.5.0
apache:tomcat5.5.1
apache:tomcat5.5.2
apache:tomcat5.5.3
apache:tomcat5.5.4
apache:tomcat5.5.5
apache:tomcat5.5.6
apache:tomcat5.5.7
apache:tomcat5.5.8
apache:tomcat5.5.9
apache:tomcat5.5.10
apache:tomcat5.5.11
apache:tomcat5.5.12
apache:tomcat5.5.13
apache:tomcat5.5.14
apache:tomcat5.5.15
apache:tomcat5.5.16
apache:tomcat5.5.17
apache:tomcat5.5.18
apache:tomcat5.5.19
apache:tomcat5.5.20
apache:tomcat5.5.21
apache:tomcat5.5.22
apache:tomcat5.5.23
apache:tomcat5.5.24
apache:tomcat5.5.25
apache:tomcat5.5.26
apache:tomcat5.5.27
apache:tomcat5.5.28
apache:tomcat5.5.29
apache:tomcat5.5.30
apache:tomcat5.5.31
apache:tomcat5.5.32
apache:tomcat5.5.33
apache:tomcat5.5.34
apache:tomcat5.5.35
apache:tomcat6.0
apache:tomcat6.0.0
apache:tomcat6.0.0:alpha
apache:tomcat6.0.1
apache:tomcat6.0.1:alpha
apache:tomcat6.0.2
apache:tomcat6.0.2:alpha
apache:tomcat6.0.2:beta
apache:tomcat6.0.3
apache:tomcat6.0.4
apache:tomcat6.0.4:alpha
apache:tomcat6.0.5
apache:tomcat6.0.6
apache:tomcat6.0.6:alpha
apache:tomcat6.0.7
apache:tomcat6.0.7:alpha
apache:tomcat6.0.7:beta
apache:tomcat6.0.8
apache:tomcat6.0.8:alpha
apache:tomcat6.0.9
apache:tomcat6.0.9:beta
apache:tomcat6.0.10
apache:tomcat6.0.11
apache:tomcat6.0.12
apache:tomcat6.0.13
apache:tomcat6.0.14
apache:tomcat6.0.15
apache:tomcat6.0.16
apache:tomcat6.0.17
apache:tomcat6.0.18
apache:tomcat6.0.19
apache:tomcat6.0.20
apache:tomcat6.0.24
apache:tomcat6.0.26
apache:tomcat6.0.27
apache:tomcat6.0.28
apache:tomcat6.0.29
apache:tomcat6.0.30
apache:tomcat6.0.31
apache:tomcat6.0.32
apache:tomcat6.0.33
apache:tomcat6.0.35
apache:tomcat7.0.0
apache:tomcat7.0.0:beta
apache:tomcat7.0.1
apache:tomcat7.0.2
apache:tomcat7.0.2:beta
apache:tomcat7.0.3
apache:tomcat7.0.4
apache:tomcat7.0.4:beta
apache:tomcat7.0.5
apache:tomcat7.0.6
apache:tomcat7.0.7
apache:tomcat7.0.8
apache:tomcat7.0.9
apache:tomcat7.0.10
apache:tomcat7.0.11
apache:tomcat7.0.12
apache:tomcat7.0.13
apache:tomcat7.0.14
apache:tomcat7.0.15
apache:tomcat7.0.16
apache:tomcat7.0.17
apache:tomcat7.0.18
apache:tomcat7.0.19
apache:tomcat7.0.20
apache:tomcat7.0.21
apache:tomcat7.0.22
apache:tomcat7.0.23
apache:tomcat7.0.25
apache:tomcat7.0.28

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9xrj-439h-62hgMavenorg.apache.tomcat:tomcat-catalina>=5.5.0 <5.5.365.5.36
GHSA-9xrj-439h-62hgMavenorg.apache.tomcat:tomcat-catalina>=6.0.0 <6.0.366.0.36
GHSA-9xrj-439h-62hgMavenorg.apache.tomcat:tomcat-catalina>=7.0.0 <7.0.307.0.30

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:5::servertomcat5, tomcat5-jasper, tomcat5-webapps and 9 more0:5.5.23-0jpp.38.el5_9RHSA-2013:0640
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moretomcat6, tomcat6-lib, tomcat6-javadoc and 6 more0:6.0.24-52.el6_4RHSA-2013:0623
Red Hatjboss_enterprise_application_platform:5::el4jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more0:2.1.13-3_patch_02.ep5.el4RHSA-2013:0629
Red Hatjboss_enterprise_application_platform:5::el5jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more0:2.1.13-3_patch_02.ep5.el5RHSA-2013:0629
Red Hatjboss_enterprise_application_platform:5::el6jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more0:2.1.13-4_patch_02.ep5.el6RHSA-2013:0629
Red Hatjboss_enterprise_application_platform:6::el5jbossweb, jbossweb-lib0:7.0.17-4.Final_redhat_3.ep6.el5RHSA-2013:0647
Red Hatjboss_enterprise_application_platform:6::el6jbossweb, jbossweb-lib0:7.0.17-4.Final_redhat_3.ep6.el6RHSA-2013:0647
Red Hatjboss_enterprise_web_platform:5::el5jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more0:2.1.13-3_patch_02.ep5.el5RHSA-2013:0631
Red Hatjboss_enterprise_web_platform:5::el6jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more0:2.1.13-4_patch_02.ep5.el6RHSA-2013:0631
Red Hatjboss_enterprise_web_server:2::el5tomcat6, tomcat6-lib, tomcat6-log4j and 7 more0:6.0.35-6_patch_06.ep6.el5RHSA-2013:0266
Red Hatjboss_enterprise_web_server:2::el6tomcat6, tomcat6-lib, tomcat6-log4j and 7 more0:6.0.35-29_patch_06.ep6.el6RHSA-2013:0266

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
JBEWP 5 for RHEL 5jbossweb-0:2.1.13-3_patch_02.ep5.el5Fixed 2013-03-11RHSA-2013:0631
JBEWP 5 for RHEL 6jbossweb-0:2.1.13-4_patch_02.ep5.el6Fixed 2013-03-11RHSA-2013:0631
JBoss Data Grid 6.1Fixed 2013-03-20RHSA-2013:0665
JBoss Enterprise BRMS Platform 5.3Fixed 2013-07-01RHSA-2013:1006
Red Hat Enterprise Linux 5tomcat5-0:5.5.23-0jpp.38.el5_9Fixed 2013-03-12RHSA-2013:0640
Red Hat Enterprise Linux 6tomcat6-0:6.0.24-52.el6_4Fixed 2013-03-11RHSA-2013:0623
Red Hat JBoss Enterprise Application Platform 5.2Fixed 2013-03-11RHSA-2013:0632
Red Hat JBoss Enterprise Application Platform 5 for RHEL 5jbossweb-0:2.1.13-3_patch_02.ep5.el5Fixed 2013-03-11RHSA-2013:0629
Red Hat JBoss Enterprise Application Platform 5 for RHEL 6jbossweb-0:2.1.13-4_patch_02.ep5.el6Fixed 2013-03-11RHSA-2013:0629
Red Hat JBoss Enterprise Application Platform 6.0Fixed 2013-03-14RHSA-2013:0648
Red Hat JBoss Enterprise Application Platform 6 for RHEL 5jbossweb-0:7.0.17-4.Final_redhat_3.ep6.el5Fixed 2013-03-14RHSA-2013:0647
Red Hat JBoss Enterprise Application Platform 6 for RHEL 6jbossweb-0:7.0.17-4.Final_redhat_3.ep6.el6Fixed 2013-03-14RHSA-2013:0647
Red Hat JBoss Enterprise Web Server 2 for RHEL 5tomcat6-0:6.0.35-6_patch_06.ep6.el5Fixed 2013-02-19RHSA-2013:0266
Red Hat JBoss Enterprise Web Server 2 for RHEL 6tomcat6-0:6.0.35-29_patch_06.ep6.el6Fixed 2013-02-19RHSA-2013:0266
Red Hat JBoss BRMS 5jbosswebAffected
Red Hat JBoss Data Grid 6jbosswebAffected
Red Hat JBoss Enterprise Web Server 2tomcat7Not affected
Red Hat JBoss Operations Network 3jbosswebNot affected
Red Hat JBoss Portal 5jbosswebWill not fix
Red Hat JBoss SOA Platform 5jbosswebAffected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-5886.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON