Live threats

All CVEs / Apache

CVE-2007-5342Apache Tomcat

Medium 6.4 No auth needed

Priority
54
CVSS 2.0
6.4
EPSS
5.2%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Dec 27, 2007
Updated
Jun 16, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.tomcat:tomcat-juli ≥ 5.5.9 ≤ 5.5.25 no fixed version —
Maven org.apache.tomcat:tomcat-juli ≥ 6.0.0 ≤ 6.0.15 no fixed version —

Per OSV / GitHub Advisories (GHSA-w65j-cmqc-37p2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachetomcat5.5.9
apachetomcat5.5.10
apachetomcat5.5.11
apachetomcat5.5.12
apachetomcat5.5.13
apachetomcat5.5.14
apachetomcat5.5.15
apachetomcat5.5.16
apachetomcat5.5.17
apachetomcat5.5.18
apachetomcat5.5.19
apachetomcat5.5.20
apachetomcat5.5.21
apachetomcat5.5.22
apachetomcat5.5.23
apachetomcat5.5.24
apachetomcat5.5.25
apachetomcat6.0
apachetomcat6.0.1
apachetomcat6.0.2
apachetomcat6.0.3
apachetomcat6.0.4
apachetomcat6.0.5
apachetomcat6.0.6
apachetomcat6.0.7
apachetomcat6.0.8
apachetomcat6.0.9
apachetomcat6.0.10
apachetomcat6.0.11
apachetomcat6.0.12
apachetomcat6.0.13
apachetomcat6.0.14
apachetomcat6.0.15

Official sources

References

Links published by the sources. Open them with care.