CVE-2007-5342Apache Tomcat
Medium 6.4 No auth needed
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | 5.5.9 |
| apache | tomcat | 5.5.10 |
| apache | tomcat | 5.5.11 |
| apache | tomcat | 5.5.12 |
| apache | tomcat | 5.5.13 |
| apache | tomcat | 5.5.14 |
| apache | tomcat | 5.5.15 |
| apache | tomcat | 5.5.16 |
| apache | tomcat | 5.5.17 |
| apache | tomcat | 5.5.18 |
| apache | tomcat | 5.5.19 |
| apache | tomcat | 5.5.20 |
| apache | tomcat | 5.5.21 |
| apache | tomcat | 5.5.22 |
| apache | tomcat | 5.5.23 |
| apache | tomcat | 5.5.24 |
| apache | tomcat | 5.5.25 |
| apache | tomcat | 6.0 |
| apache | tomcat | 6.0.1 |
| apache | tomcat | 6.0.2 |
| apache | tomcat | 6.0.3 |
| apache | tomcat | 6.0.4 |
| apache | tomcat | 6.0.5 |
| apache | tomcat | 6.0.6 |
| apache | tomcat | 6.0.7 |
| apache | tomcat | 6.0.8 |
| apache | tomcat | 6.0.9 |
| apache | tomcat | 6.0.10 |
| apache | tomcat | 6.0.11 |
| apache | tomcat | 6.0.12 |
| apache | tomcat | 6.0.13 |
| apache | tomcat | 6.0.14 |
| apache | tomcat | 6.0.15 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apple.com
- lists.opensuse.org
- marc.info
- osvdb.org
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- security.gentoo.org
- securityreason.com
- support.apple.com
- support.avaya.com
- svn.apache.org
- tomcat.apache.org
- tomcat.apache.org
- www.debian.org
- www.mandriva.com
- www.redhat.com
- www.redhat.com
- www.redhat.com
- www.redhat.com
- www.redhat.com
- www.redhat.com
- www.redhat.com
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com Patch
- www.securityfocus.com
- www.vmware.com
- www.vmware.com
- www.vupen.com
- www.vupen.com
- www.vupen.com