CVE-2012-5887
CVE-2012-5887 is a medium-severity vulnerability in Apache Tomcat with a CVSS 2.0 base score of 5.0. Its EPSS exploit-prediction score of 12% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-287.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.0)
- EPSS exploit prediction: 12% (96th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-287
- Affected product: Apache Tomcat
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2012-5887?
- CVE-2012-5887 has a CVSS 2.0 base score of 5.0, rated medium severity.
- Is CVE-2012-5887 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 12% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5887?
- CVE-2012-5887 affects Apache Tomcat. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2012-5887?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-5887 published?
- CVE-2012-5887 was published on 2012-11-17 and last updated on 2026-10-09.
References
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
- http://rhn.redhat.com/errata/RHSA-2013-0623.html
- http://rhn.redhat.com/errata/RHSA-2013-0629.html
- http://rhn.redhat.com/errata/RHSA-2013-0631.html
- http://rhn.redhat.com/errata/RHSA-2013-0632.html
- http://rhn.redhat.com/errata/RHSA-2013-0633.html
- http://rhn.redhat.com/errata/RHSA-2013-0640.html
- http://rhn.redhat.com/errata/RHSA-2013-0647.html
- http://rhn.redhat.com/errata/RHSA-2013-0648.html
- http://rhn.redhat.com/errata/RHSA-2013-0726.html
- http://secunia.com/advisories/51371
- 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
- http://www-01.ibm.com/support/docview.wss?uid=swg21626891
- http://www.securityfocus.com/bid/56403
- http://www.ubuntu.com/usn/USN-1637-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79809
Affected products (1)
- cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Tomcat
- CVE-2026-65905 — Critical (CVSS 9.8): Authentication Bypass by Capture-replay vulnerability in Apache Tomcat's DIGEST authenticator. If, before windowSize…
- CVE-2026-65637 — Critical (CVSS 9.8): Improper Input Validation vulnerability in Apache Tomcat due to incomplete fix for CVE-2026-32990. This issue…
- CVE-2026-43512 — Critical (CVSS 9.8): DEPRECATED: Authentication Bypass Issues vulnerability in digest authentication in Apache Tomcat. This issue affects…
- CVE-2026-41293 — Critical (CVSS 9.8): Improper Input Validation vulnerability in Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through…
- CVE-2025-31651 — Critical (CVSS 9.8): Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat. For a subset of unlikely…
- CVE-2025-24813 — Critical (CVSS 9.8): Path Equivalence: 'file.Name' (Internal Dot) leading to Remote Code Execution and/or Information disclosure and/or…
All CVEs affecting Apache Tomcat →
Other CWE-287 (Improper Authentication) vulnerabilities
- CVE-2026-130778 — Critical (CVSS 10.0): Incus before 7.6.0 contains an authentication bypass vulnerability that allows remote attackers to authenticate as any…
- CVE-2026-100397 — Critical (CVSS 10.0): Rucio is a scientific data management framework. From 1.14.0 until 35.9.1, 38.6.1, 40.4.2, and 41.1.1,…
- CVE-2026-127275 — Critical (CVSS 10.0): A vulnerability was determined in Linksys EA8100 1.0.3.216940. This issue affects the function…
- CVE-2026-121933 — Critical (CVSS 10.0): A flaw has been found in Linksys E5350 1.0.00.037. This impacts the function save_settings of the file…
- CVE-2026-121615 — Critical (CVSS 10.0): A vulnerability was determined in Linksys E5600 1.1.0.26. Affected is an unknown function of the file…
- CVE-2026-84295 — Critical (CVSS 10.0): Improper authentication in Progress Software WS_FTP Server versions prior to 2024.0.6 and 2025.0.3 on Windows could…
Browse all CWE-287 (Improper Authentication) vulnerabilities →