Improper Access Control Affecting tomcat-jsp-2.2-api package, versions <0:7.0.76-9.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.28% (69th 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 Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-TOMCATJSP22API-4924577
  • published26 Jul 2021
  • disclosed31 Jan 2018

Introduced: 31 Jan 2018

CVE-2018-1304  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade RHEL:7 tomcat-jsp-2.2-api to version 0:7.0.76-9.el7 or higher.
This issue was patched in RHSA-2019:2205.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat-jsp-2.2-api package and not the tomcat-jsp-2.2-api package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

References