tomcat: timing attack in Realm implementation
Published Aug 10, 2017
5.9
MEDIUMCVSS 3.1
EPSS 7.99%
Description
The Realm implementations in Apache Tomcat versions 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 did not process the supplied password if the supplied user name did not exist. This made a timing attack possible to determine valid user names. Note that the default configuration includes the LockOutRealm which makes exploitation of this vulnerability harder.
Affected products
-
- Version 6.0.0 to 6.0.45StatusaffectedConstraints-
- Version 7.0.0 to 7.0.70StatusaffectedConstraints-
- Version 8.0.0.RC1 to 8.0.36StatusaffectedConstraints-
- Version 8.5.0 to 8.5.4StatusaffectedConstraints-
- Version 9.0.0.M1 to 9.0.0.M9StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | n/a |
|
Configuration 1
- ≥ 6.0.0 · ≤ 6.0.45
- ≥ 7.0.0 · ≤ 7.0.70
- ≥ 8.0 · ≤ 8.0.36
- ≥ 8.5.0 · ≤ 8.5.4
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
Configuration 2
- 16.04
Configuration 3
- 8.0
Configuration 4
- 3.0.0
- 7.0
- 7.4
- 7.5
- 7.6
- 7.7
- 7.0
- 7.4
- 7.6
- 7.7
- 7.6
- 7.7
- 7.0
Configuration 5
- n/a
- n/a
- n/a
Configuration 6
- ≥ 8.0.0 · ≤ 8.5.0
- ≥ 7.4.0 · ≤ 7.7.1
No data.
Red Hat Enterprise Linux 7
tomcat-0:7.0.76-2.el7
Fixed · RHSA-2017:2247
Red Hat JBoss Web Server 3 for RHEL 6
hibernate4-eap6-0:4.2.23-1.Final_redhat_1.1.ep6.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6
jbcs-httpd24-0:1-3.jbcs.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6
jbcs-httpd24-apache-commons-daemon-0:1.0.15-1.redhat_2.1.jbcs.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6
jbcs-httpd24-apache-commons-daemon-jsvc-1:1.0.15-17.redhat_2.jbcs.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6
mod_cluster-0:1.3.5-2.Final_redhat_2.1.ep7.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6
tomcat-native-0:1.2.8-9.redhat_9.ep7.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6
tomcat-vault-0:1.0.8-9.Final_redhat_2.1.ep7.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6
tomcat7-0:7.0.70-16.ep7.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6
tomcat8-0:8.0.36-17.ep7.el6
Fixed · RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 7
hibernate4-eap6-0:4.2.23-1.Final_redhat_1.1.ep6.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3 for RHEL 7
jbcs-httpd24-0:1-3.jbcs.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3 for RHEL 7
jbcs-httpd24-apache-commons-daemon-0:1.0.15-1.redhat_2.1.jbcs.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3 for RHEL 7
jbcs-httpd24-apache-commons-daemon-jsvc-1:1.0.15-17.redhat_2.jbcs.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3 for RHEL 7
mod_cluster-0:1.3.5-2.Final_redhat_2.1.ep7.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3 for RHEL 7
tomcat-native-0:1.2.8-9.redhat_9.ep7.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3 for RHEL 7
tomcat-vault-0:1.0.8-9.Final_redhat_2.1.ep7.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3 for RHEL 7
tomcat7-0:7.0.70-16.ep7.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3 for RHEL 7
tomcat8-0:8.0.36-17.ep7.el7
Fixed · RHSA-2017:0456
Red Hat JBoss Web Server 3.1
n/a
Fixed · RHSA-2017:0457
Red Hat Enterprise Linux 5
tomcat5
Will not fix
Red Hat Enterprise Linux 6
tomcat6
Will not fix
Red Hat JBoss BRMS 5
jbossweb
Out of support scope
Red Hat JBoss Data Grid 6
jbossweb
Out of support scope
Red Hat JBoss Data Virtualization 6
jbossweb
Out of support scope
Red Hat JBoss Enterprise Application Platform 5
jbossweb
Not affected
Red Hat JBoss Enterprise Application Platform 6
jbossweb
Not affected
Red Hat JBoss Enterprise Web Server 2
tomcat6
Will not fix
Red Hat JBoss Enterprise Web Server 2
tomcat7
Will not fix
Red Hat JBoss Enterprise Web Server 3
tomcat7
Fix deferred
Red Hat JBoss Enterprise Web Server 3
tomcat8
Fix deferred
Red Hat JBoss Fuse 6
jbossweb
Will not fix
Red Hat JBoss Fuse Service Works 6
jbossweb
Out of support scope
Red Hat JBoss Operations Network 3
jbossweb
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | tomcat-0:7.0.76-2.el7 | Fixed | RHSA-2017:2247 |
| Red Hat JBoss Web Server 3 for RHEL 6 | hibernate4-eap6-0:4.2.23-1.Final_redhat_1.1.ep6.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 6 | jbcs-httpd24-0:1-3.jbcs.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 6 | jbcs-httpd24-apache-commons-daemon-0:1.0.15-1.redhat_2.1.jbcs.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 6 | jbcs-httpd24-apache-commons-daemon-jsvc-1:1.0.15-17.redhat_2.jbcs.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 6 | mod_cluster-0:1.3.5-2.Final_redhat_2.1.ep7.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 6 | tomcat-native-0:1.2.8-9.redhat_9.ep7.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 6 | tomcat-vault-0:1.0.8-9.Final_redhat_2.1.ep7.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 6 | tomcat7-0:7.0.70-16.ep7.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 6 | tomcat8-0:8.0.36-17.ep7.el6 | Fixed | RHSA-2017:0455 |
| Red Hat JBoss Web Server 3 for RHEL 7 | hibernate4-eap6-0:4.2.23-1.Final_redhat_1.1.ep6.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3 for RHEL 7 | jbcs-httpd24-0:1-3.jbcs.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3 for RHEL 7 | jbcs-httpd24-apache-commons-daemon-0:1.0.15-1.redhat_2.1.jbcs.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3 for RHEL 7 | jbcs-httpd24-apache-commons-daemon-jsvc-1:1.0.15-17.redhat_2.jbcs.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3 for RHEL 7 | mod_cluster-0:1.3.5-2.Final_redhat_2.1.ep7.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat-native-0:1.2.8-9.redhat_9.ep7.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat-vault-0:1.0.8-9.Final_redhat_2.1.ep7.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat7-0:7.0.70-16.ep7.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat8-0:8.0.36-17.ep7.el7 | Fixed | RHSA-2017:0456 |
| Red Hat JBoss Web Server 3.1 | n/a | Fixed | RHSA-2017:0457 |
| Red Hat Enterprise Linux 5 | tomcat5 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | tomcat6 | Will not fix | n/a |
| Red Hat JBoss BRMS 5 | jbossweb | Out of support scope | n/a |
| Red Hat JBoss Data Grid 6 | jbossweb | Out of support scope | n/a |
| Red Hat JBoss Data Virtualization 6 | jbossweb | Out of support scope | n/a |
| Red Hat JBoss Enterprise Application Platform 5 | jbossweb | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | jbossweb | Not affected | n/a |
| Red Hat JBoss Enterprise Web Server 2 | tomcat6 | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 2 | tomcat7 | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 3 | tomcat7 | Fix deferred | n/a |
| Red Hat JBoss Enterprise Web Server 3 | tomcat8 | Fix deferred | n/a |
| Red Hat JBoss Fuse 6 | jbossweb | Will not fix | n/a |
| Red Hat JBoss Fuse Service Works 6 | jbossweb | Out of support scope | n/a |
| Red Hat JBoss Operations Network 3 | jbossweb | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.99% (0.07991) | 94.59th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.75% (0.07746) | 93.85th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.49% (0.00488) | 63.40th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.13% (0.00132) | 49.85th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.13% (0.00132) | 48.00th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.19% (0.00188) | 54.57th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.77% (0.07767) | 93.09th | v2 (v2022.01.01) |
| Apr 19, 2022 | 7.77% (0.07767) | 92.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.24% (0.05242) | 88.72th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.24% (0.05242) | 75.28th | v2 (v2022.01.01) |
References (49)
- http://rhn.redhat.com/errata/RHSA-2017-0457.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.debian.org/security/2016/dsa-3720 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.securityfocus.com/bid/93939 vdb-entryx_refsource_BIDBroken Link
- http://www.securitytracker.com/id/1037144 vdb-entryx_refsource_SECTRACKBroken Link
- https://access.redhat.com/errata/RHSA-2017:0455 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:0456 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2247 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-0762 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1390526 Issue Tracking
- https://github.com/advisories/GHSA-wxcp-f2c8-x6xv Advisory
- https://github.com/apache/tomcat/commit/86b2e436099cb48f30dad950175c5beeeb763756
- https://github.com/apache/tomcat/commit/970e615c7ade6ec6c341470bbc76aa1256353737
- https://github.com/apache/tomcat/commit/d79c63d424fe6b225678416343b9ce106dec947c
- https://github.com/apache/tomcat80/commit/dc4c3317452f0bc2c5e1f6a08d3bd9f22488b450
- https://lists.apache.org/thread.html/1872f96bad43647832bdd84a408794cd06d9cbb557af63085ca10009%40%3Cannounce.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/1872f96bad43647832bdd84a408794cd06d9cbb557af63085ca10009@%3Cannounce.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2016-0762
- https://security.netapp.com/advisory/ntap-20180605-0001 x_refsource_CONFIRMThird Party Advisory
- https://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.47
- https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.72
- https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.5_and_8.0.37
- https://usn.ubuntu.com/4557-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2016-0762
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISCPatchThird Party Advisory
Change history (0)
No recorded changes yet.