CVE-2007-5342
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
5.156%
chance of exploitation in the next 30 days
higher than 92.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
Timeline
- 2007-12-27Published by the CNA22:00 UTC
- 2022-05-01GitHub advisory published (GHSA-w65j-cmqc-37p2)5239 days after publication
Exploit and advisory records
GitHub advisory GHSA-w65j-cmqc-37p2, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.apache.tomcat:tomcat-juli | from 5.5.9 through 5.5.25 | |
| Maven org.apache.tomcat:tomcat-juli | from 6.0.0 through 6.0.15 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache tomcat | 5.5.10no fix listed5.5.11no fix listed5.5.12no fix listed5.5.13no fix listed5.5.14no fix listed(+28 more) | not listednot listednot listednot listednot listed |
References
- http://www.securityfocus.com/bid/27006
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
- http://marc.info/?l=bugtraq&m=139344343412337&w=2
- http://security.gentoo.org/glsa/glsa-200804-10.xml
- http://www.debian.org/security/2008/dsa-1447
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:188
- http://www.redhat.com/support/errata/RHSA-2008-0042.html
- http://www.redhat.com/support/errata/RHSA-2008-0195.html
- http://www.redhat.com/support/errata/RHSA-2008-0831.html
- http://www.redhat.com/support/errata/RHSA-2008-0832.html
- http://www.redhat.com/support/errata/RHSA-2008-0833.html
- http://www.redhat.com/support/errata/RHSA-2008-0834.html
- http://www.redhat.com/support/errata/RHSA-2008-0862.html
- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00315.html
- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00460.html
- http://osvdb.org/39833
- http://secunia.com/advisories/28274
- http://secunia.com/advisories/28317
- http://secunia.com/advisories/28915
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2007-5342'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2007-5342'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2007-5342'curl 'https://api.contrastcyber.com/cve_products/CVE-2007-5342'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).