cve.bz

CVE-2016-6797 Incorrect Authorization

7.5 highEPSS 8.1%Fix available

High (7.5). EPSS 8.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 7.0.72, 8.0.37, 8.5.5.

On this page
The ResourceLinkFactory implementation in Apache Tomcat 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 limit web application access to global JNDI resources to those resources explicitly linked to the web application. Therefore, it was possible for a web application to access any global JNDI resource whether an explicit ResourceLink had been configured or not.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
8.1% (unchanged from 8.1% a week ago; 8.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-6797 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-6797?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-6797?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-6797 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2016-6797

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2016-6797](https://cve.bz/cve/badge/CVE-2016-6797.svg)](https://cve.bz/cve/CVE-2016-6797)

HTML:

<a href="https://cve.bz/cve/CVE-2016-6797"><img src="https://cve.bz/cve/badge/CVE-2016-6797.svg" alt="CVE-2016-6797"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcatfrom 6.0.0 through 6.0.45
apache:tomcatfrom 7.0.0 through 7.0.70
apache:tomcatfrom 8.0 through 8.0.36
apache:tomcatfrom 8.5.0 through 8.5.4
apache:tomcat9.0.0:milestone1
apache:tomcat9.0.0:milestone2
apache:tomcat9.0.0:milestone3
apache:tomcat9.0.0:milestone4
apache:tomcat9.0.0:milestone5
apache:tomcat9.0.0:milestone6
apache:tomcat9.0.0:milestone7
apache:tomcat9.0.0:milestone8
apache:tomcat9.0.0:milestone9
oracle:tekelec_platform_distributionfrom 7.4.0 through 7.7.1
debian:debian_linux8.0
canonical:ubuntu_linux16.04
redhat:jboss_enterprise_web_server3.0.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus7.4
redhat:enterprise_linux_eus7.5
redhat:enterprise_linux_eus7.6
redhat:enterprise_linux_eus7.7
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_aus7.7
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_server_tus7.7
redhat:enterprise_linux_workstation7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q6x7-f33r-3wxxMavenorg.apache.tomcat:tomcat>=9.0.0.M1 <9.0.0.M109.0.0.M10
GHSA-q6x7-f33r-3wxxMavenorg.apache.tomcat:tomcat>=8.5.0 <8.5.58.5.5
GHSA-q6x7-f33r-3wxxMavenorg.apache.tomcat:tomcat>=8.0.0 <8.0.378.0.37
GHSA-q6x7-f33r-3wxxMavenorg.apache.tomcat:tomcat>=7.0.0 <7.0.727.0.72

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7tomcat66.0.45+dfsg-1~deb7u3DLA-728-1
Debian7tomcat77.0.28-4+deb7u7DLA-729-1
Debian8tomcat77.0.56-3+deb8u5DSA-3721-1
Debian8tomcat88.0.14-1+deb8u4DSA-3720-1
Ubuntu14.04:LTStomcat77.0.52-1ubuntu0.8UBUNTU-CVE-2016-6797 USN-3177-1
Ubuntu16.04:LTStomcat66.0.45+dfsg-1ubuntu0.1UBUNTU-CVE-2016-6797 USN-4557-1
Ubuntu16.04:LTStomcat77.0.68-1ubuntu0.3UBUNTU-CVE-2016-6797
Ubuntu16.04:LTStomcat88.0.32-1ubuntu1.3UBUNTU-CVE-2016-6797 USN-3177-1
UbuntuPro:14.04:LTStomcat6no fix listedUBUNTU-CVE-2016-6797
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moretomcat, tomcat-lib, tomcat-jsvc and 7 more0:7.0.76-2.el7RHSA-2017:2247
Red Hatjboss_enterprise_web_server:3.1::el6hibernate4-eap6, hibernate4-c3p0-eap6, hibernate4-core-eap6 and 2 more0:4.2.23-1.Final_redhat_1.1.ep6.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el6jbcs-httpd24-apache-commons-daemon0:1.0.15-1.redhat_2.1.jbcs.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el6jbcs-httpd24-apache-commons-daemon-jsvc, jbcs-httpd24-apache-commons-daemon-jsvc-debuginfo1:1.0.15-17.redhat_2.jbcs.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el6jbcs-httpd24-runtime0:1-3.jbcs.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el6mod_cluster, mod_cluster-tomcat7, mod_cluster-tomcat80:1.3.5-2.Final_redhat_2.1.ep7.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el6tomcat-native, tomcat-native-debuginfo0:1.2.8-9.redhat_9.ep7.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el6tomcat-vault0:1.0.8-9.Final_redhat_2.1.ep7.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el6tomcat7, tomcat7-lib, tomcat7-jsvc and 9 more0:7.0.70-16.ep7.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el6tomcat8, tomcat8-lib, tomcat8-jsvc and 9 more0:8.0.36-17.ep7.el6RHSA-2017:0455
Red Hatjboss_enterprise_web_server:3.1::el7hibernate4-eap6, hibernate4-c3p0-eap6, hibernate4-core-eap6 and 2 more0:4.2.23-1.Final_redhat_1.1.ep6.el7RHSA-2017:0456
Red Hatjboss_enterprise_web_server:3.1::el7jbcs-httpd24-apache-commons-daemon0:1.0.15-1.redhat_2.1.jbcs.el7RHSA-2017:0456
7 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 2 moretomcat66.0.53-0.56.1SUSE-SU-2017:1632-1
SUSELinux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1tomcat8.0.32-10.13.2SUSE-SU-2016:3079-1
SUSELinux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2, Linux Enterprise Server for SAP Applications 12 SP2tomcat8.0.36-17.1SUSE-SU-2016:3081-1
SUSELinux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12tomcat7.0.78-7.13.4SUSE-SU-2017:1660-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7tomcat-0:7.0.76-2.el7Fixed 2017-08-01RHSA-2017:2247
Red Hat JBoss Web Server 3.1Fixed 2017-03-07RHSA-2017:0457
Red Hat JBoss Web Server 3 for RHEL 6hibernate4-eap6-0:4.2.23-1.Final_redhat_1.1.ep6.el6Fixed 2017-03-07RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6jbcs-httpd24-0:1-3.jbcs.el6Fixed 2017-03-07RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6jbcs-httpd24-apache-commons-daemon-0:1.0.15-1.redhat_2.1.jbcs.el6Fixed 2017-03-07RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6jbcs-httpd24-apache-commons-daemon-jsvc-1:1.0.15-17.redhat_2.jbcs.el6Fixed 2017-03-07RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6mod_cluster-0:1.3.5-2.Final_redhat_2.1.ep7.el6Fixed 2017-03-07RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6tomcat7-0:7.0.70-16.ep7.el6Fixed 2017-03-07RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6tomcat8-0:8.0.36-17.ep7.el6Fixed 2017-03-07RHSA-2017:0455
Red Hat JBoss Web Server 3 for RHEL 6tomcat-native-0:1.2.8-9.redhat_9.ep7.el6Fixed 2017-03-07RHSA-2017:0455
Red Hat Enterprise Linux 5tomcat5Will not fix
Red Hat Enterprise Linux 6tomcat6Will not fix
Red Hat JBoss BRMS 5jbosswebOut of support scope
Red Hat JBoss Data Grid 6jbosswebOut of support scope
Red Hat JBoss Data Virtualization 6jbosswebOut of support scope
Red Hat JBoss Enterprise Application Platform 5jbosswebNot affected
Red Hat JBoss Enterprise Application Platform 6jbosswebNot affected
Red Hat JBoss Enterprise Web Server 2tomcat6Will not fix
Red Hat JBoss Enterprise Web Server 2tomcat7Will not fix
Red Hat JBoss Enterprise Web Server 3tomcat7Fix deferred
14 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-6797.

References

Check your stackJSON