Skip to content
Fencer Intel
medium 5.0

CVE-2012-5885 json

Improper Access Control in Apache Tomcat

published 2012-11-17 13 y ago modified 2026-10-09 31 d ago also GHSA-99rf-92v6-cwx4 , EUVD-2022-3341

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.0%
EPSS 9.0% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

The replay-countermeasure functionality in 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 tracks cnonce (aka client nonce) values instead of nonce (aka server nonce) and nc (aka nonce-count) values, which makes it easier for remote attackers to bypass intended access restrictions by sniffing the network for valid requests, a different vulnerability than CVE-2011-1184.

Patch / fix

  • maven org.apache.tomcat: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-5885 updated cvss 5.0

tomcat: three DIGEST authentication implementation issues

  • Red Hat JBoss BRMS 5 jbossweb jbossweb Red Hat JBoss Data Grid 6 jbossweb jbossweb
    affected: no fix available
  • Red Hat JBoss Portal 5 jbossweb jbossweb
    affected: no fix planned “Will not fix”
  • Red Hat JBoss SOA Platform 5 jbossweb jbossweb
    affected: no fix available
  • Red Hat JBoss Data Grid 6.1
    fixed: vendor fix RHSA-2013:0665
  • Red Hat JBoss Enterprise BRMS Platform 5.3
    fixed: 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 more
    fixed: 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_4
    fixed: 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.el6
    fixed: vendor fix RHSA-2013:0629
show 9 more
  • Red Hat JBoss Enterprise Application Platform 5.2
    fixed: 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.el6
    fixed: vendor fix RHSA-2013:0647
  • Red Hat JBoss Enterprise Application Platform 6.0
    fixed: 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 more
    fixed: vendor fix RHSA-2013:0266
  • Red Hat JBoss SOA Platform 5.3
    fixed: 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.el6
    fixed: vendor fix RHSA-2013:0631
  • Red Hat JBoss Web Platform 5.2
    fixed: vendor fix RHSA-2013:0633
  • Red Hat JBoss Web Server 2.0
    fixed: 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.el4
    not 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

8.98% chance of exploitation in the next 30 days, higher than 95% 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:P/I:N/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-264 Permissions, Privileges, and Access Controls
  • CWE-284 Improper Access Control

References

Sources

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.