Access Restriction Bypass Affecting tomcat package, versions [,6.0.45)[7.0.0, 7.0.68)[8.0.0, 8.0.32)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TOMCAT-2382456
  • published26 Jan 2022
  • disclosed25 Feb 2016
  • creditUnknown

Introduced: 25 Feb 2016

CVE-2016-0763  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade tomcat to version 6.0.45, 7.0.68, 8.0.32 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. The setGlobalContext method in org/apache/naming/factory/ResourceLinkFactory.java in Apache Tomcat 7.x before 7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M3 does not consider whether ResourceLinkFactory.setGlobalContext callers are authorized, which allows remote authenticated users to bypass intended SecurityManager restrictions and read or write to arbitrary application data, or cause a denial of service (application disruption), via a web application that sets a crafted global context.

CVSS Scores

version 3.1