Access Restriction Bypass Affecting tomcat5 package, versions <0:5.5.23-0jpp_4rh.9


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
5.16% (92nd 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-RHEL10-TOMCAT5-9880509
  • published28 Apr 2025
  • disclosed23 Dec 2007

Introduced: 23 Dec 2007

CVE-2007-5342  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade RHEL:10 tomcat5 to version 0:5.5.23-0jpp_4rh.9 or higher.
This issue was patched in RHSA-2008:0862.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat5 package and not the tomcat5 package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

The default catalina.policy in the JULI logging component in Apache Tomcat 5.5.9 through 5.5.25 and 6.0.0 through 6.0.15 does not restrict certain permissions for web applications, which allows attackers to modify logging configuration options and overwrite arbitrary files, as demonstrated by changing the (1) level, (2) directory, and (3) prefix attributes in the org.apache.juli.FileHandler handler.

References

CVSS Base Scores

version 3.1