CVE-2012-5887 json
Improper Authentication in Apache Tomcat
published 2012-11-17 13 y ago modified 2026-10-09 31 d ago also GHSA-28cq-6rmx-pjq4 , EUVD-2022-1939
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.1%
- EPSS 12.1% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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 does not properly check for stale nonce values in conjunction with enforcement of proper credentials, which makes it easier for remote attackers to bypass intended access restrictions by sniffing the network for valid requests.
Patch / fix
- maven org.apache.tomcat:tomcat 5.5.36, 6.0.36, 7.0.30
- apache tomcat 5.5.36, 6.0.36, 7.0.30
- tomcat5 RHEL 5 5.5.23-0jpp.38.el5_9
- tomcat5-jasper RHEL 5 5.5.23-0jpp.38.el5_9
- tomcat5-webapps RHEL 5 5.5.23-0jpp.38.el5_9
- tomcat5-common-lib RHEL 5 5.5.23-0jpp.38.el5_9
- tomcat5-server-lib RHEL 5 5.5.23-0jpp.38.el5_9
- tomcat5-jsp-2.0-api RHEL 5 5.5.23-0jpp.38.el5_9
- tomcat5-admin-webapps RHEL 5 5.5.23-0jpp.38.el5_9
- tomcat5-jasper-javadoc RHEL 5 5.5.23-0jpp.38.el5_9
red hat advisories RHSA-2013:0640RHSA-2013:0631RHSA-2013:0629RHSA-2013:0647RHSA-2013:0623RHSA-2013:0266
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5887 updated cvss 5.0
tomcat: three DIGEST authentication implementation issues
-
Red Hat JBoss BRMS 5 jbossweb jbossweb Red Hat JBoss Data Grid 6 jbossweb jbosswebaffected: no fix available
-
Red Hat JBoss Portal 5 jbossweb jbosswebaffected: no fix planned “Will not fix”
-
Red Hat JBoss SOA Platform 5 jbossweb jbosswebaffected: no fix available
-
Red Hat JBoss Data Grid 6.1fixed: vendor fix RHSA-2013:0665
-
Red Hat JBoss Enterprise BRMS Platform 5.3fixed: vendor fix RHSA-2013:1006
-
Red Hat Enterprise Linux (v. 5 server) tomcat5 5.5.23-0jpp.38.el5_9, tomcat5-jasper 5.5.23-0jpp.38.el5_9, tomcat5-webapps 5.5.23-0jpp.38.el5_9, tomcat5-common-lib 5.5.23-0jpp.38.el5_9, tomcat5-server-lib 5.5.23-0jpp.38.el5_9, tomcat5-jsp-2.0-api 5.5.23-0jpp.38.el5_9, +5 morefixed: vendor fix RHSA-2013:0640
-
Red Hat Enterprise Linux Desktop Optional (v. 6) tomcat6 6.0.24-52.el6_4, tomcat6-lib 6.0.24-52.el6_4, tomcat6-javadoc 6.0.24-52.el6_4, tomcat6-webapps 6.0.24-52.el6_4, tomcat6-el-2.1-api 6.0.24-52.el6_4, tomcat6-docs-webapp 6.0.24-52.el6_4, +3 more Red Hat Enterprise Linux HPC Node Optional (v. 6) tomcat6 6.0.24-52.el6_4, tomcat6-lib 6.0.24-52.el6_4, tomcat6-javadoc 6.0.24-52.el6_4, tomcat6-webapps 6.0.24-52.el6_4, tomcat6-el-2.1-api 6.0.24-52.el6_4, tomcat6-docs-webapp 6.0.24-52.el6_4, +3 more Red Hat Enterprise Linux Server (v. 6) tomcat6 6.0.24-52.el6_4, tomcat6-lib 6.0.24-52.el6_4, tomcat6-el-2.1-api 6.0.24-52.el6_4, tomcat6-jsp-2.1-api 6.0.24-52.el6_4, tomcat6-servlet-2.5-api 6.0.24-52.el6_4 Red Hat Enterprise Linux Server Optional (v. 6) tomcat6 6.0.24-52.el6_4, tomcat6-javadoc 6.0.24-52.el6_4, tomcat6-webapps 6.0.24-52.el6_4, tomcat6-docs-webapp 6.0.24-52.el6_4, tomcat6-admin-webapps 6.0.24-52.el6_4 Red Hat Enterprise Linux Workstation (v. 6) tomcat6 6.0.24-52.el6_4, tomcat6-lib 6.0.24-52.el6_4, tomcat6-el-2.1-api 6.0.24-52.el6_4, tomcat6-jsp-2.1-api 6.0.24-52.el6_4, tomcat6-servlet-2.5-api 6.0.24-52.el6_4 Red Hat Enterprise Linux Workstation Optional (v. 6) tomcat6 6.0.24-52.el6_4, tomcat6-javadoc 6.0.24-52.el6_4, tomcat6-webapps 6.0.24-52.el6_4, tomcat6-docs-webapp 6.0.24-52.el6_4, tomcat6-admin-webapps 6.0.24-52.el6_4fixed: vendor fix RHSA-2013:0623
-
Red Hat JBoss Enterprise Application Platform 5 for RHEL 4 AS jbossweb 2.1.13-3_patch_02.ep5.el4, jbossweb-lib 2.1.13-3_patch_02.ep5.el4, jbossweb-el-1.0-api 2.1.13-3_patch_02.ep5.el4, jbossweb-jsp-2.1-api 2.1.13-3_patch_02.ep5.el4, jbossweb-servlet-2.5-api 2.1.13-3_patch_02.ep5.el4 Red Hat JBoss Enterprise Application Platform 5 for RHEL 4 ES jbossweb 2.1.13-3_patch_02.ep5.el4, jbossweb-lib 2.1.13-3_patch_02.ep5.el4, jbossweb-el-1.0-api 2.1.13-3_patch_02.ep5.el4, jbossweb-jsp-2.1-api 2.1.13-3_patch_02.ep5.el4, jbossweb-servlet-2.5-api 2.1.13-3_patch_02.ep5.el4 Red Hat JBoss Enterprise Application Platform 5 for RHEL 5 Server jbossweb 2.1.13-3_patch_02.ep5.el5, jbossweb-lib 2.1.13-3_patch_02.ep5.el5, jbossweb-el-1.0-api 2.1.13-3_patch_02.ep5.el5, jbossweb-jsp-2.1-api 2.1.13-3_patch_02.ep5.el5, jbossweb-servlet-2.5-api 2.1.13-3_patch_02.ep5.el5 Red Hat JBoss Enterprise Application Platform 5 for RHEL 6 Server jbossweb 2.1.13-4_patch_02.ep5.el6, jbossweb-lib 2.1.13-4_patch_02.ep5.el6, jbossweb-el-1.0-api 2.1.13-4_patch_02.ep5.el6, jbossweb-jsp-2.1-api 2.1.13-4_patch_02.ep5.el6, jbossweb-servlet-2.5-api 2.1.13-4_patch_02.ep5.el6fixed: vendor fix RHSA-2013:0629
show 9 moreshow fewer
-
Red Hat JBoss Enterprise Application Platform 5.2fixed: vendor fix RHSA-2013:0632
-
Red Hat JBoss Enterprise Application Platform 6 for RHEL 5 Server jbossweb 7.0.17-4.Final_redhat_3.ep6.el5, jbossweb-lib 7.0.17-4.Final_redhat_3.ep6.el5 Red Hat JBoss Enterprise Application Platform 6 for RHEL 6 Server jbossweb 7.0.17-4.Final_redhat_3.ep6.el6, jbossweb-lib 7.0.17-4.Final_redhat_3.ep6.el6fixed: vendor fix RHSA-2013:0647
-
Red Hat JBoss Enterprise Application Platform 6.0fixed: vendor fix RHSA-2013:0648
-
Red Hat JBoss Enterprise Web Server 2 for RHEL 5 Server tomcat6 6.0.35-6_patch_06.ep6.el5, tomcat6-lib 6.0.35-6_patch_06.ep6.el5, tomcat6-log4j 6.0.35-6_patch_06.ep6.el5, tomcat6-javadoc 6.0.35-6_patch_06.ep6.el5, tomcat6-webapps 6.0.35-6_patch_06.ep6.el5, tomcat6-el-1.0-api 6.0.35-6_patch_06.ep6.el5, +4 more Red Hat JBoss Enterprise Web Server 2 for RHEL 6 Server tomcat6 6.0.35-29_patch_06.ep6.el6, tomcat6-lib 6.0.35-29_patch_06.ep6.el6, tomcat6-log4j 6.0.35-29_patch_06.ep6.el6, tomcat6-javadoc 6.0.35-29_patch_06.ep6.el6, tomcat6-webapps 6.0.35-29_patch_06.ep6.el6, tomcat6-el-1.0-api 6.0.35-29_patch_06.ep6.el6, +4 morefixed: vendor fix RHSA-2013:0266
-
Red Hat JBoss SOA Platform 5.3fixed: vendor fix RHSA-2013:0726
-
Red Hat JBoss Web Platform 5 for RHEL 5 Server jbossweb 2.1.13-3_patch_02.ep5.el5, jbossweb-lib 2.1.13-3_patch_02.ep5.el5, jbossweb-el-1.0-api 2.1.13-3_patch_02.ep5.el5, jbossweb-jsp-2.1-api 2.1.13-3_patch_02.ep5.el5, jbossweb-servlet-2.5-api 2.1.13-3_patch_02.ep5.el5 Red Hat JBoss Web Platform 5 for RHEL 6 Server jbossweb 2.1.13-4_patch_02.ep5.el6, jbossweb-lib 2.1.13-4_patch_02.ep5.el6, jbossweb-el-1.0-api 2.1.13-4_patch_02.ep5.el6, jbossweb-jsp-2.1-api 2.1.13-4_patch_02.ep5.el6, jbossweb-servlet-2.5-api 2.1.13-4_patch_02.ep5.el6fixed: vendor fix RHSA-2013:0631
-
Red Hat JBoss Web Platform 5.2fixed: vendor fix RHSA-2013:0633
-
Red Hat JBoss Web Server 2.0fixed: vendor fix RHSA-2013:0265
-
Red Hat JBoss Enterprise Web Server 2 tomcat7 tomcat7 Red Hat JBoss Operations Network 3 jbossweb jbossweb Red Hat JBoss Web Platform 5 for RHEL 4 AS jbossweb 2.1.13-3_patch_02.ep5.el4, jbossweb-lib 2.1.13-3_patch_02.ep5.el4, jbossweb-el-1.0-api 2.1.13-3_patch_02.ep5.el4, jbossweb-jsp-2.1-api 2.1.13-3_patch_02.ep5.el4, jbossweb-servlet-2.5-api 2.1.13-3_patch_02.ep5.el4 Red Hat JBoss Web Platform 5 for RHEL 4 ES jbossweb 2.1.13-3_patch_02.ep5.el4, jbossweb-lib 2.1.13-3_patch_02.ep5.el4, jbossweb-el-1.0-api 2.1.13-3_patch_02.ep5.el4, jbossweb-jsp-2.1-api 2.1.13-3_patch_02.ep5.el4, jbossweb-servlet-2.5-api 2.1.13-3_patch_02.ep5.el4not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
12.10% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=5.5.0, <5.5.36 >=6.0.0, <6.0.36 >=7.0.0, <7.0.30 |
5.5.36 6.0.36 7.0.30 |
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
lists.opensuse.org
/opensuse-updates/2012-12/msg00089.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0631.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0640.html
vendor-advisory, web, third-party-advisory
-
ubuntu.com
/usn/USN-1637-1
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0648.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0633.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0629.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0647.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0632.html
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2013-01/msg00037.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0623.html
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2012-12/msg00090.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0726.html
vendor-advisory, web, third-party-advisory
-
tomcat.apache.org
/security-7.html
web, vendor-advisory
-
tomcat.apache.org
/security-6.html
web, vendor-advisory
-
tomcat.apache.org
/security-5.html
web, vendor-advisory
-
www-01.ibm.com
/support/docview.wss?uid=swg21626891
web, third-party-advisory
-
secunia.com
/advisories/51371
third-party-advisory, broken-link
-
svn.apache.org
/viewvc?view=revision&revision=1392248
web, permissions-required
-
securityfocus.com
/bid/56403
vdb-entry, broken-link
-
exchange.xforce.ibmcloud.com
/vulnerabilities/79809
vdb-entry, web, third-party-advisory
-
svn.apache.org
/viewvc?view=revision&revision=1380829
web, permissions-required
-
svn.apache.org
/viewvc?view=revision&revision=1377807
web, permissions-required
-
nvd.nist.gov
/vuln/detail/CVE-2012-5887
advisory
-
github.com
/apache/tomcat
package
Sources
- CVE List CVE-2012-5887
- GitHub Advisory GHSA-28cq-6rmx-pjq4
- NVD CVE-2012-5887
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.