SecurityContext

CVE-2016-6797: Apache Tomcat - JNDI Injection

  • Cve: CVE-2016-6797
  • Name: Apache Tomcat - JNDI Injection
  • Description: 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.
  • Impact: Web applications can access any global JNDI resource, potentially leading to unauthorized resource access or privilege escalation.
  • Remediation: Update to the latest patched versions of Tomcat where this issue is fixed, or apply security configurations to restrict JNDI resource access.
  • Vulnerability type: jndi_injection
  • Vulnerability impact: information_disclosure, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0807
  • Epss percentile: 0.94936
  • Assignee: [email protected]
  • Published at: 2017-08-10T22:29:00Z
  • Age in days: 3393
  • Modified at: 2026-10-08T22:16:39Z
  • Patch available: yes
  • References total: 23
  • Products total: 14
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-6797
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-863Incorrect Authorization

References

Same in every row:

  • Source: nvd
UrlTags
https://www.oracle.com/security-alerts/cpuoct2021.htmlPatch, Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0457.htmlThird Party Advisory
http://www.debian.org/security/2016/dsa-3720Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:0455Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:0456Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2247Third Party Advisory
https://security.netapp.com/advisory/ntap-20180605-0001/Third Party Advisory
https://usn.ubuntu.com/4557-1/Third Party Advisory
https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
apache:tomcat= 9.0.0 milestone1; = 9.0.0 milestone2; = 9.0.0 milestone3; = 9.0.0 milestone4; = 9.0.0 milestone5; = 9.0.0 milestone6; = 9.0.0 milestone7; = 9.0.0 milestone8; = 9.0.0 milestone9; >= 8.5.0, <= 8.5.4; >= 8.0, <= 8.0.36; >= 7.0.0, <= 7.0.70; >= 6.0.0, <= 6.0.45/v1/products/apache/tomcat
debian:debian_linux= 8.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 16.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation
redhat:enterprise_linux_server_aus= 7.7, = 7.6, = 7.4/v1/products/redhat/enterprise_linux_server_aus
netapp:oncommand_insightall versions/v1/products/netapp/oncommand_insight
redhat:enterprise_linux_eus= 7.7, = 7.6, = 7.5, = 7.4/v1/products/redhat/enterprise_linux_eus
redhat:enterprise_linux_server_tus= 7.7, = 7.6/v1/products/redhat/enterprise_linux_server_tus

Projects

RepositoryLink kindsIndexedUrl
apache/tomcatcommit, fix, packageyes/v1/repositories/apache/tomcat
apache/tomcat80commityes/v1/repositories/apache/tomcat80

Index

  • Repositories: 4
  • Repositories high signal: 2
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Exposed hosts: 21109361
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports