CVE-2016-6797: Incorrect Authorization in Apache Tomcat
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.59857%
CWE
Published
5/13/2022
Updated
2/23/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.tomcat:tomcat | maven | >= 9.0.0.M1, <= 9.0.0.M9 | 9.0.0.M10 |
org.apache.tomcat:tomcat | maven | >= 8.5.0, <= 8.5.4 | 8.5.5 |
org.apache.tomcat:tomcat | maven | >= 8.0.0, <= 8.0.36 | 8.0.37 |
org.apache.tomcat:tomcat | maven | >= 7.0.0, < 7.0.72 | 7.0.72 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from missing authorization checks in ResourceLinkFactory
's lookup logic (getObjectInstance
) and improper lifecycle management of resource links in NamingContextListener
. The patch added: 1) A validation check in getObjectInstance
via validateGlobalResourceAccess
, 2) Registration/deregistration hooks in addResourceLink
/removeResourceLink
to track authorized resources. These changes directly address the root cause of unrestricted JNDI access described in CVE-2016-6797
.