{"id":"CVE-2012-5885","aliases":["GHSA-99rf-92v6-cwx4"],"kind":"cve","tier":"cold","status":"published","title":"Improper Access Control in Apache Tomcat","description":"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.","ai_summary":null,"severity":"medium","cvss":{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD"},"scores":[{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd"}],"cwe":["CWE-264"],"remote":true,"remote_unauth":true,"epss":{"score":0.0898,"percentile":0.9601,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","affected":">= 5.5.0, < 5.5.36","fixed":["5.5.36","6.0.36","7.0.30"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade org.apache.tomcat:tomcat to one of 5.5.36, 6.0.36, 7.0.30 (or later in the same release line).","technologies":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=136612293908376&w=2","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html","kind":"vendor"},{"url":"http://marc.info/?l=bugtraq&m=136485229118404&w=2","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0631.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0640.html","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-1637-1","kind":"vendor"},{"url":"http://tomcat.apache.org/security-7.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0648.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0633.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0629.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0647.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0632.html","kind":"vendor"},{"url":"http://tomcat.apache.org/security-6.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0623.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0726.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5885","kind":"vendor"},{"url":"http://www-01.ibm.com/support/docview.wss?uid=swg21626891","kind":"other"},{"url":"http://secunia.com/advisories/51371","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19432","kind":"other"},{"url":"http://svn.apache.org/viewvc?view=revision&revision=1392248","kind":"other"},{"url":"http://www.securityfocus.com/bid/56403","kind":"other"},{"url":"http://svn.apache.org/viewvc?view=revision&revision=1380829","kind":"other"},{"url":"http://tomcat.apache.org/security-5.html","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80408","kind":"other"},{"url":"http://svn.apache.org/viewvc?view=revision&revision=1377807","kind":"other"}],"workarounds":null,"vendors":["apache"],"products":["tomcat"],"cpes":["cpe:2.3:a:apache:tomcat:5.5.0:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.10:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.11:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.12:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.13:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.14:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.15:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.16:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.17:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.18:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.19:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.20:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.21:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.22:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.23:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.24:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.25:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.26:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.27:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.28:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.29:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.30:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.31:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.32:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.33:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.34:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.35:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.4:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.5:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.6:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.7:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.8:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:5.5.9:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.0:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.0:alpha:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.10:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.11:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.12:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.13:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.14:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.15:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.16:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.17:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.18:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.19:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.1:alpha:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.20:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.24:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.26:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.27:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.28:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.29:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.2:alpha:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.2:beta:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.30:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.31:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.32:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.33:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.35:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.4:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.4:alpha:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.5:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.6:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.6:alpha:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.7:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.7:alpha:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.7:beta:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.8:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.8:alpha:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.9:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0.9:beta:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:6.0:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.0:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.0:beta:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.10:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.11:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.12:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.13:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.14:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.15:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.16:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.17:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.18:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.19:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.20:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.21:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.22:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.23:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.25:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.28:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.2:beta:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.4:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.4:beta:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.5:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.6:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.7:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.8:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:7.0.9:*:*:*:*:*:*:*"],"published_at":"2012-11-17T19:00:00.000Z","modified_at":"2026-10-09T20:17:05.170Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5885"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-99rf-92v6-cwx4","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2012-5885","markdown":"https://flawdb.com/CVE-2012-5885.md","json":"https://flawdb.com/api/v1/entries/CVE-2012-5885"}}