Multiple weaknesses were found in Tomcat's DIGEST authentication implementation. This flaw affects all versions up to Tomcat 5.5.35 [1], tomcat 6.0.35 [2] and 7.0.29 [3]. Summary from Tomcat's security pages: 1) Tomcat tracked client rather than server nonces and nonce count. 2) When a session ID was present, authentication was bypassed. 3) The user name and password were not checked before when indicating that a nonce was stale. Relevant upstream pathes are: Tomcat 5: http://svn.apache.org/viewvc?view=rev&rev=1392248 Tomcat 6: http://svn.apache.org/viewvc?view=rev&rev=1380829 Tomcat 7: http://svn.apache.org/viewvc?view=rev&rev=1377807 [1] http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.36 [2] http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.36 [3] http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.30
These issues affect the version of the tomcat5 package, as shipped with Red Hat Enterprise Linux 5. -- These issues affect the version of the tomcat5 package, as shipped with JBoss Enterprise Web Server 1.0.2. -- These issues affect the version of the tomcat5 package, as shipped with Fedora release of 16.
Created tomcat5 tracking bugs for this issue Affects: fedora-16 [bug 873672]
Relevant upstream patch for Tomcat 6: [3] http://svn.apache.org/viewvc?view=revision&revision=1380829 Affected Tomcat 6 versions: From 6.0.0 up to 6.0.35.
These issues affect the version of the tomcat6 package, as shipped with Red Hat Enterprise Linux 6. -- These issues affect the version of the tomcat6 package, as shipped with JBoss Enterprise Web Server 1.0.2. -- These issues affect the versions of the tomcat6 package, as shipped with Fedora release of 16 and 17.
Relevant upstream patch for Tomcat 7: [4] http://svn.apache.org/viewvc?view=revision&revision=1377807 Affected Tomcat 7 versions: From 7.0.0 up to 7.0.29.
These issues affect the version of the tomcat package, as shipped with Fedora release of 16. -- These issues does not affect the version of the tomcat package, as shipped with Fedora release of 17 (that version has been already updated).
Created tomcat6 tracking bugs for this issue Affects: fedora-all [bug 873703]
Created tomcat tracking bugs for this issue Affects: fedora-16 [bug 873707]
The CVE identifier of CVE-2012-3439 has been rejected (and therefore should not be used) by MITRE: -- ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2012-5885, CVE-2012-5886, CVE-2012-5887. Reason: This candidate is a duplicate of CVE-2012-5885, CVE-2012-5886, and CVE-2012-5887. Notes: All CVE users should reference one or more of CVE-2012-5885, CVE-2012-5886, and CVE-2012-5887 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage. -- in favour of the following three ids: CVE-2012-5885, CVE-2012-5886, and CVE-2012-5887, whose description is as follows: 1) CVE-2012-5885: ================= 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. References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5885 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://tomcat.apache.org/security-5.html http://tomcat.apache.org/security-6.html http://tomcat.apache.org/security-7.html 2) CVE-2012-5886: ================= 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. References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5886 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://tomcat.apache.org/security-5.html http://tomcat.apache.org/security-6.html http://tomcat.apache.org/security-7.html 3) CVE-2012-5887: ================= 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. References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5887 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://tomcat.apache.org/security-5.html http://tomcat.apache.org/security-6.html http://tomcat.apache.org/security-7.html
tomcat-7.0.33-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products: JBoss Enterprise Web Server 2.0.0 Via RHSA-2013:0265 https://rhn.redhat.com/errata/RHSA-2013-0265.html
This issue has been addressed in following products: JBEWS 2 for RHEL 5 JBEWS 2 for RHEL 6 Via RHSA-2013:0266 https://rhn.redhat.com/errata/RHSA-2013-0266.html
This issue has been addressed in following products: JBEWP 5 for RHEL 4 JBEWP 5 for RHEL 5 JBEWP 5 for RHEL 6 Via RHSA-2013:0631 https://rhn.redhat.com/errata/RHSA-2013-0631.html
This issue has been addressed in following products: JBEAP 5 for RHEL 4 JBEAP 5 for RHEL 5 JBEAP 5 for RHEL 6 Via RHSA-2013:0629 https://rhn.redhat.com/errata/RHSA-2013-0629.html
This issue has been addressed in following products: JBoss Enterprise Web Platform 5.2.0 Via RHSA-2013:0633 https://rhn.redhat.com/errata/RHSA-2013-0633.html
This issue has been addressed in following products: JBoss Enterprise Application Platform 5.2.0 Via RHSA-2013:0632 https://rhn.redhat.com/errata/RHSA-2013-0632.html
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2013:0623 https://rhn.redhat.com/errata/RHSA-2013-0623.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2013:0640 https://rhn.redhat.com/errata/RHSA-2013-0640.html
This issue has been addressed in following products: JBoss Enterprise Application Platform 6.0.1 Via RHSA-2013:0648 https://rhn.redhat.com/errata/RHSA-2013-0648.html
This issue has been addressed in following products: JBEAP 6 for RHEL 5 JBEAP 6 for RHEL 6 Via RHSA-2013:0647 https://rhn.redhat.com/errata/RHSA-2013-0647.html
This issue has been addressed in following products: JBoss Data Grid 6.1.0 Via RHSA-2013:0665 https://rhn.redhat.com/errata/RHSA-2013-0665.html
This issue has been addressed in following products: JBoss Enterprise SOA Platform 5.3.1 Via RHSA-2013:0726 https://rhn.redhat.com/errata/RHSA-2013-0726.html
This issue has been addressed in following products: Red Hat JBoss BRMS 5.3.1 Via RHSA-2013:1006 https://rhn.redhat.com/errata/RHSA-2013-1006.html
*** Bug 1275985 has been marked as a duplicate of this bug. ***