Skip to content

JULI logging component in Apache Tomcat does not restrict certain permissions for web applications

Moderate severity GitHub Reviewed Published May 1, 2022 to the GitHub Advisory Database • Updated Sep 22, 2023

Package

maven org.apache.tomcat:tomcat-juli (Maven)

Affected versions

>= 5.5.9, <= 5.5.25
>= 6.0.0, <= 6.0.15

Patched versions

None

Description

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

Published by the National Vulnerability Database Dec 27, 2007
Published to the GitHub Advisory Database May 1, 2022
Reviewed Sep 22, 2023
Last updated Sep 22, 2023

Severity

Moderate

EPSS score

0.425%
(75th percentile)

Weaknesses

CVE ID

CVE-2007-5342

GHSA ID

GHSA-w65j-cmqc-37p2
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.