Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat
  4. ›
  5. CVE-2012-5885

CVE-2012-5885: Improper Access Control in Apache Tomcat

May 17, 2022 (updated July 12, 2022)

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

  • lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
  • lists.opensuse.org/opensuse-updates/2012-12/msg00090.html
  • lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
  • marc.info/?l=bugtraq&m=136485229118404&w=2
  • marc.info/?l=bugtraq&m=136612293908376&w=2
  • rhn.redhat.com/errata/RHSA-2013-0623.html
  • rhn.redhat.com/errata/RHSA-2013-0629.html
  • rhn.redhat.com/errata/RHSA-2013-0631.html
  • rhn.redhat.com/errata/RHSA-2013-0632.html
  • rhn.redhat.com/errata/RHSA-2013-0640.html
  • rhn.redhat.com/errata/RHSA-2013-0647.html
  • rhn.redhat.com/errata/RHSA-2013-0648.html
  • rhn.redhat.com/errata/RHSA-2013-0726.html
  • svn.apache.org/viewvc?view=revision&revision=1377807
  • svn.apache.org/viewvc?view=revision&revision=1380829
  • svn.apache.org/viewvc?view=revision&revision=1392248
  • tomcat.apache.org/security-5.html
  • tomcat.apache.org/security-6.html
  • tomcat.apache.org/security-7.html
  • www-01.ibm.com/support/docview.wss?uid=swg21626891
  • www.ubuntu.com/usn/USN-1637-1
  • exchange.xforce.ibmcloud.com/vulnerabilities/80408
  • github.com/advisories/GHSA-99rf-92v6-cwx4
  • nvd.nist.gov/vuln/detail/CVE-2012-5885
  • oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19432

Code Behaviors & Features

Detect and mitigate CVE-2012-5885 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.5.0 before 5.5.36, all versions starting from 6.0.0 before 6.0.36, all versions starting from 7.0.0 before 7.0.30

Fixed versions

  • 5.5.36
  • 6.0.36
  • 7.0.30

Solution

Upgrade to versions 5.5.36, 6.0.36, 7.0.30 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-264

Source file

maven/org.apache.tomcat/tomcat/CVE-2012-5885.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.