All vulnerabilities

Servers and applications

CVE-2007-5342

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…

Severity
Medium 6.4
Published
27 Dec 2007
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
5.2% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:N
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
Apache TomcatServers and applications · cpe:a:apache:tomcat
  • Version 6.0.15
  • Version 6.0.14
  • Version 6.0.13
  • Version 6.0.12
All 33 release lines
  • Version 5.5.9
  • Version 5.5.10
  • Version 5.5.11
  • Version 5.5.12
  • Version 5.5.13
  • Version 5.5.14
  • Version 5.5.15
  • Version 5.5.16
  • Version 5.5.17
  • Version 5.5.18
  • Version 5.5.19
  • Version 5.5.20
  • Version 5.5.21
  • Version 5.5.22
  • Version 5.5.23
  • Version 5.5.24
  • Version 5.5.25
  • Version 6.0
  • Version 6.0.1
  • Version 6.0.2
  • Version 6.0.3
  • Version 6.0.4
  • Version 6.0.5
  • Version 6.0.6
  • Version 6.0.7
  • Version 6.0.8
  • Version 6.0.9
  • Version 6.0.10
  • Version 6.0.11
  • Version 6.0.12
  • Version 6.0.13
  • Version 6.0.14
  • Version 6.0.15

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-5342
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-5342