Access Restriction Bypass Affecting tomcat7-lib package, versions <0:7.0.68-1.15.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.18% (57th 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-AMZN201803-TOMCAT7LIB-1694909
  • published27 Sept 2021
  • disclosed25 Feb 2016

Introduced: 25 Feb 2016

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

How to fix?

Upgrade Amazon-Linux:2018.03 tomcat7-lib to version 0:7.0.68-1.15.amzn1 or higher.
This issue was patched in ALAS-2016-680.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat7-lib package and not the tomcat7-lib package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

References