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
| Id | Name |
|---|---|
| CWE-863 | Incorrect Authorization |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.oracle.com/security-alerts/cpuoct2021.html | Patch, Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2017-0457.html | Third Party Advisory |
| http://www.debian.org/security/2016/dsa-3720 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:0455 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:0456 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:2247 | Third 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
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/tomcat | commit, fix, package | yes | /v1/repositories/apache/tomcat |
| apache/tomcat80 | commit | yes | /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