CVE-2012-5887
Apache Tomcat HTTP Digest Access Authentication Stale Nonce Vulnerability
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.
INFO
Published Date :
Nov. 17, 2012, 7:55 p.m.
Last Modified :
Oct. 30, 2025, 3:49 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] |
Solution
- Update Apache Tomcat to the latest version.
- Update affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2012-5887.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2012-5887 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2012-5887
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2012-5887 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2012-5887 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Modified Analysis by [email protected]
Oct. 30, 2025
Action Type Old Value New Value Removed CPE Configuration OR *cpe:2.3:a:apache:tomcat:6.0.33:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.0:alpha:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.6:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.4:alpha:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.11:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.7:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.4:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.15:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.20:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.9:beta:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.10:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.31:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.29:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.9:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.1:alpha:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.7:alpha:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.24:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.17:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.32:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.28:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.14:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.6:alpha:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.12:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.18:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.2:alpha:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.5:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.7:beta:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.30:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.2:beta:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.13:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.8:alpha:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.26:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.19:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.27:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.35:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.16:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:6.0.8:*:*:*:*:*:*:* Removed CPE Configuration OR *cpe:2.3:a:apache:tomcat:7.0.2:beta:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.12:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.20:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.8:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.5:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.4:beta:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.22:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.28:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.6:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.18:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.14:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.11:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.23:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.0:beta:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.7:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.13:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.15:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.19:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.16:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.10:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.25:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.21:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.17:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.9:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.4:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:7.0.3:*:*:*:*:*:*:* Changed CPE Configuration OR *cpe:2.3:a:apache:tomcat:5.5.27:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.18:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.12:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.14:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.10:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.4:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.7:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.11:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.28:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.6:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.26:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.35:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.20:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.15:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.5:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.30:*:*:*:*:*:*:* *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.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.32:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.31:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.9:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.25:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.33:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.13:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.24:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.34:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.8:*:*:*:*:*:*:* *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.29:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.19:*:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:5.5.23:*:*:*:*:*:*:* OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 5.5.0 up to (excluding) 5.5.36 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 6.0.0 up to (excluding) 6.0.36 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.0.30 Added Reference Type CVE: http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html Types: Third Party Advisory Added Reference Type MITRE: http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html Types: Third Party Advisory Added Reference Type CVE: http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html Types: Third Party Advisory Added Reference Type MITRE: http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html Types: Third Party Advisory Added Reference Type CVE: http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html Types: Third Party Advisory Added Reference Type MITRE: http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0623.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0623.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0629.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0629.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0631.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0631.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0632.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0632.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0633.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0633.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0640.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0640.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0647.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0647.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0648.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0648.html Types: Third Party Advisory Added Reference Type CVE: http://rhn.redhat.com/errata/RHSA-2013-0726.html Types: Third Party Advisory Added Reference Type MITRE: http://rhn.redhat.com/errata/RHSA-2013-0726.html Types: Third Party Advisory Added Reference Type CVE: http://secunia.com/advisories/51371 Types: Broken Link Added Reference Type MITRE: http://secunia.com/advisories/51371 Types: Broken Link Added Reference Type CVE: http://svn.apache.org/viewvc?view=revision&revision=1377807 Types: Permissions Required Added Reference Type MITRE: http://svn.apache.org/viewvc?view=revision&revision=1377807 Types: Permissions Required Added Reference Type CVE: http://svn.apache.org/viewvc?view=revision&revision=1380829 Types: Permissions Required Added Reference Type MITRE: http://svn.apache.org/viewvc?view=revision&revision=1380829 Types: Permissions Required Added Reference Type CVE: http://svn.apache.org/viewvc?view=revision&revision=1392248 Types: Permissions Required Added Reference Type MITRE: http://svn.apache.org/viewvc?view=revision&revision=1392248 Types: Permissions Required Added Reference Type CVE: http://www.securityfocus.com/bid/56403 Types: Broken Link Added Reference Type MITRE: http://www.securityfocus.com/bid/56403 Types: Broken Link Added Reference Type CVE: http://www.ubuntu.com/usn/USN-1637-1 Types: Third Party Advisory Added Reference Type MITRE: http://www.ubuntu.com/usn/USN-1637-1 Types: Third Party Advisory Added Reference Type CVE: http://www-01.ibm.com/support/docview.wss?uid=swg21626891 Types: Third Party Advisory Added Reference Type MITRE: http://www-01.ibm.com/support/docview.wss?uid=swg21626891 Types: Third Party Advisory Added Reference Type CVE: https://exchange.xforce.ibmcloud.com/vulnerabilities/79809 Types: Third Party Advisory, VDB Entry Added Reference Type MITRE: https://exchange.xforce.ibmcloud.com/vulnerabilities/79809 Types: Third Party Advisory, VDB Entry -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html Added Reference http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html Added Reference http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0623.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0629.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0631.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0632.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0633.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0640.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0647.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0648.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-0726.html Added Reference http://secunia.com/advisories/51371 Added Reference http://svn.apache.org/viewvc?view=revision&revision=1377807 Added Reference http://svn.apache.org/viewvc?view=revision&revision=1380829 Added Reference http://svn.apache.org/viewvc?view=revision&revision=1392248 Added Reference http://tomcat.apache.org/security-5.html Added Reference http://tomcat.apache.org/security-6.html Added Reference http://tomcat.apache.org/security-7.html Added Reference http://www.securityfocus.com/bid/56403 Added Reference http://www.ubuntu.com/usn/USN-1637-1 Added Reference http://www-01.ibm.com/support/docview.wss?uid=swg21626891 Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/79809 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Aug. 29, 2017
Action Type Old Value New Value Removed Reference http://xforce.iss.net/xforce/xfdb/79809 [No Types Assigned] Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/79809 [No Types Assigned] -
Initial Analysis by [email protected]
Nov. 19, 2012
Action Type Old Value New Value
Vulnerability Scoring Details
Base CVSS Score: 5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.20 }} -0.75%
score
0.78334
percentile