CVE-2012-5887 apache tomcat: Improper Authentication
apache tomcat: no CVSS score yet. EPSS 12% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 5.5.36, 6.0.36, 7.0.30.
On this page
- EPSS
- 12% (unchanged from 12% a week ago; 12% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th 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: no · 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
- Record from
- the NVD, synced
Fix and patched versions
org.apache.tomcat:tomcat(Maven): fixed in 5.5.36, 6.0.36, 7.0.30- Red Hat: fixed package versions per release
- Vendor advisory: http://tomcat.apache.org/security-5.html
- Vendor advisory: http://tomcat.apache.org/security-6.html
- Vendor advisory: http://tomcat.apache.org/security-7.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2012-5887 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-5887?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-5887?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-5887 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.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| apache:tomcat | from 5.5.0 before 5.5.36 |
| apache:tomcat | from 6.0.0 before 6.0.36 |
| apache:tomcat | from 7.0.0 before 7.0.30 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-28cq-6rmx-pjq4 | Maven | org.apache.tomcat:tomcat | >=5.5.0 <5.5.36 | 5.5.36 |
| GHSA-28cq-6rmx-pjq4 | Maven | org.apache.tomcat:tomcat | >=6.0.0 <6.0.36 | 6.0.36 |
| GHSA-28cq-6rmx-pjq4 | Maven | org.apache.tomcat:tomcat | >=7.0.0 <7.0.30 | 7.0.30 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | enterprise_linux:5::server | tomcat5, tomcat5-jasper, tomcat5-webapps and 9 more | 0:5.5.23-0jpp.38.el5_9 | RHSA-2013:0640 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | tomcat6, tomcat6-lib, tomcat6-javadoc and 6 more | 0:6.0.24-52.el6_4 | RHSA-2013:0623 |
| Red Hat | jboss_enterprise_application_platform:5::el4 | jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more | 0:2.1.13-3_patch_02.ep5.el4 | RHSA-2013:0629 |
| Red Hat | jboss_enterprise_application_platform:5::el5 | jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more | 0:2.1.13-3_patch_02.ep5.el5 | RHSA-2013:0629 |
| Red Hat | jboss_enterprise_application_platform:5::el6 | jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more | 0:2.1.13-4_patch_02.ep5.el6 | RHSA-2013:0629 |
| Red Hat | jboss_enterprise_application_platform:6::el5 | jbossweb, jbossweb-lib | 0:7.0.17-4.Final_redhat_3.ep6.el5 | RHSA-2013:0647 |
| Red Hat | jboss_enterprise_application_platform:6::el6 | jbossweb, jbossweb-lib | 0:7.0.17-4.Final_redhat_3.ep6.el6 | RHSA-2013:0647 |
| Red Hat | jboss_enterprise_web_platform:5::el5 | jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more | 0:2.1.13-3_patch_02.ep5.el5 | RHSA-2013:0631 |
| Red Hat | jboss_enterprise_web_platform:5::el6 | jbossweb, jbossweb-lib, jbossweb-el-1.0-api and 2 more | 0:2.1.13-4_patch_02.ep5.el6 | RHSA-2013:0631 |
| Red Hat | jboss_enterprise_web_server:2::el5 | tomcat6, tomcat6-lib, tomcat6-log4j and 7 more | 0:6.0.35-6_patch_06.ep6.el5 | RHSA-2013:0266 |
| Red Hat | jboss_enterprise_web_server:2::el6 | tomcat6, tomcat6-lib, tomcat6-log4j and 7 more | 0:6.0.35-29_patch_06.ep6.el6 | RHSA-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.
| Product | Package | State | Advisory |
|---|---|---|---|
| JBEWP 5 for RHEL 5 | jbossweb-0:2.1.13-3_patch_02.ep5.el5 | Fixed 2013-03-11 | RHSA-2013:0631 |
| JBEWP 5 for RHEL 6 | jbossweb-0:2.1.13-4_patch_02.ep5.el6 | Fixed 2013-03-11 | RHSA-2013:0631 |
| JBoss Data Grid 6.1 | Fixed 2013-03-20 | RHSA-2013:0665 | |
| JBoss Enterprise BRMS Platform 5.3 | Fixed 2013-07-01 | RHSA-2013:1006 | |
| Red Hat Enterprise Linux 5 | tomcat5-0:5.5.23-0jpp.38.el5_9 | Fixed 2013-03-12 | RHSA-2013:0640 |
| Red Hat Enterprise Linux 6 | tomcat6-0:6.0.24-52.el6_4 | Fixed 2013-03-11 | RHSA-2013:0623 |
| Red Hat JBoss Enterprise Application Platform 5.2 | Fixed 2013-03-11 | RHSA-2013:0632 | |
| Red Hat JBoss Enterprise Application Platform 5 for RHEL 5 | jbossweb-0:2.1.13-3_patch_02.ep5.el5 | Fixed 2013-03-11 | RHSA-2013:0629 |
| Red Hat JBoss Enterprise Application Platform 5 for RHEL 6 | jbossweb-0:2.1.13-4_patch_02.ep5.el6 | Fixed 2013-03-11 | RHSA-2013:0629 |
| Red Hat JBoss Enterprise Application Platform 6.0 | Fixed 2013-03-14 | RHSA-2013:0648 | |
| Red Hat JBoss Enterprise Application Platform 6 for RHEL 5 | jbossweb-0:7.0.17-4.Final_redhat_3.ep6.el5 | Fixed 2013-03-14 | RHSA-2013:0647 |
| Red Hat JBoss Enterprise Application Platform 6 for RHEL 6 | jbossweb-0:7.0.17-4.Final_redhat_3.ep6.el6 | Fixed 2013-03-14 | RHSA-2013:0647 |
| Red Hat JBoss Enterprise Web Server 2 for RHEL 5 | tomcat6-0:6.0.35-6_patch_06.ep6.el5 | Fixed 2013-02-19 | RHSA-2013:0266 |
| Red Hat JBoss Enterprise Web Server 2 for RHEL 6 | tomcat6-0:6.0.35-29_patch_06.ep6.el6 | Fixed 2013-02-19 | RHSA-2013:0266 |
| Red Hat JBoss BRMS 5 | jbossweb | Affected | |
| Red Hat JBoss Data Grid 6 | jbossweb | Affected | |
| Red Hat JBoss Enterprise Web Server 2 | tomcat7 | Not affected | |
| Red Hat JBoss Operations Network 3 | jbossweb | Not affected | |
| Red Hat JBoss Portal 5 | jbossweb | Will not fix | |
| Red Hat JBoss SOA Platform 5 | jbossweb | Affected | |
| 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-5887.
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
- http://tomcat.apache.org/security-5.html
- http://tomcat.apache.org/security-6.html
- http://tomcat.apache.org/security-7.html
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
- http://rhn.redhat.com/errata/RHSA-2013-0623.html
- http://rhn.redhat.com/errata/RHSA-2013-0629.html
- http://rhn.redhat.com/errata/RHSA-2013-0631.html
- http://rhn.redhat.com/errata/RHSA-2013-0632.html
- http://rhn.redhat.com/errata/RHSA-2013-0633.html
- http://rhn.redhat.com/errata/RHSA-2013-0640.html
- http://rhn.redhat.com/errata/RHSA-2013-0647.html
- http://rhn.redhat.com/errata/RHSA-2013-0648.html
- http://rhn.redhat.com/errata/RHSA-2013-0726.html
- http://secunia.com/advisories/51371
- http://svn.apache.org/viewvc?view=revision&revision=1377807
- http://svn.apache.org/viewvc?view=revision&revision=1380829
- http://svn.apache.org/viewvc?view=revision&revision=1392248
- http://www-01.ibm.com/support/docview.wss?uid=swg21626891
- http://www.securityfocus.com/bid/56403
- http://www.ubuntu.com/usn/USN-1637-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79809