CVE-2007-5342
MEDIUM 6.4CVSS 2.0JULI logging component in Apache Tomcat does not restrict certain permissions for web applications
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.
- Published
- 27 Dec 2007
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264CWE-284
- Also known as
- GHSA-w65j-cmqc-37p2
- Sources
- NVDJSONOSV GHSA-w65j-cmqc-37p2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.9:*:*:*:*:*:*:* |
= 5.5.9 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.10:*:*:*:*:*:*:* |
= 5.5.10 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.11:*:*:*:*:*:*:* |
= 5.5.11 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.12:*:*:*:*:*:*:* |
= 5.5.12 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.13:*:*:*:*:*:*:* |
= 5.5.13 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.14:*:*:*:*:*:*:* |
= 5.5.14 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.15:*:*:*:*:*:*:* |
= 5.5.15 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.16:*:*:*:*:*:*:* |
= 5.5.16 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.17:*:*:*:*:*:*:* |
= 5.5.17 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.18:*:*:*:*:*:*:* |
= 5.5.18 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.19:*:*:*:*:*:*:* |
= 5.5.19 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.20:*:*:*:*:*:*:* |
= 5.5.20 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.21:*:*:*:*:*:*:* |
= 5.5.21 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.22:*:*:*:*:*:*:* |
= 5.5.22 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.23:*:*:*:*:*:*:* |
= 5.5.23 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.24:*:*:*:*:*:*:* |
= 5.5.24 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:5.5.25:*:*:*:*:*:*:* |
= 5.5.25 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.1:*:*:*:*:*:*:* |
= 6.0.1 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.2:*:*:*:*:*:*:* |
= 6.0.2 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.3:*:*:*:*:*:*:* |
= 6.0.3 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.4:*:*:*:*:*:*:* |
= 6.0.4 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.5:*:*:*:*:*:*:* |
= 6.0.5 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.6:*:*:*:*:*:*:* |
= 6.0.6 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.7:*:*:*:*:*:*:* |
= 6.0.7 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.8:*:*:*:*:*:*:* |
= 6.0.8 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.9:*:*:*:*:*:*:* |
= 6.0.9 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.10:*:*:*:*:*:*:* |
= 6.0.10 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.11:*:*:*:*:*:*:* |
= 6.0.11 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.12:*:*:*:*:*:*:* |
= 6.0.12 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.13:*:*:*:*:*:*:* |
= 6.0.13 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.14:*:*:*:*:*:*:* |
= 6.0.14 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.15:*:*:*:*:*:*:* |
= 6.0.15 | |
| OSV | Maven | org.apache.tomcat:tomcat-juli | >= 5.5.9, <= 5.5.25 | |
| OSV | Maven | org.apache.tomcat:tomcat-juli | >= 6.0.0, <= 6.0.15 |
References
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html · WEB
- http://marc.info/?l=bugtraq&m=139344343412337&w=2 · WEB
- http://osvdb.org/39833
- http://secunia.com/advisories/28274
- http://secunia.com/advisories/28317
- http://secunia.com/advisories/28915
- http://secunia.com/advisories/29313
- http://secunia.com/advisories/29711
- http://secunia.com/advisories/30676
- http://secunia.com/advisories/32120
- http://secunia.com/advisories/32222
- http://secunia.com/advisories/32266
- http://secunia.com/advisories/37460
- http://secunia.com/advisories/57126
- http://security.gentoo.org/glsa/glsa-200804-10.xml · WEB
- http://securityreason.com/securityalert/3485 · WEB
- http://support.apple.com/kb/HT3216 · WEB
- http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm · WEB
- http://svn.apache.org/viewvc?view=rev&revision=606594 · WEB
- http://tomcat.apache.org/security-5.html · WEB
- http://tomcat.apache.org/security-6.html · WEB
- http://www.debian.org/security/2008/dsa-1447 · WEB
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:188 · WEB
- http://www.redhat.com/support/errata/RHSA-2008-0042.html · WEB
- http://www.redhat.com/support/errata/RHSA-2008-0195.html · WEB
- http://www.redhat.com/support/errata/RHSA-2008-0831.html · WEB
- http://www.redhat.com/support/errata/RHSA-2008-0832.html · WEB
- http://www.redhat.com/support/errata/RHSA-2008-0833.html · WEB
- http://www.redhat.com/support/errata/RHSA-2008-0834.html · WEB
- http://www.redhat.com/support/errata/RHSA-2008-0862.html · WEB
- http://www.securityfocus.com/archive/1/485481/100/0/threaded · WEB
- http://www.securityfocus.com/archive/1/507985/100/0/threaded · WEB
- http://www.securityfocus.com/bid/27006 · Patch, WEB
- http://www.securityfocus.com/bid/31681 · WEB
- http://www.vmware.com/security/advisories/VMSA-2008-0010.html · WEB
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html · WEB
- http://www.vupen.com/english/advisories/2008/0013
- http://www.vupen.com/english/advisories/2008/1856/references
- http://www.vupen.com/english/advisories/2008/2780
- http://www.vupen.com/english/advisories/2008/2823
- http://www.vupen.com/english/advisories/2009/3316
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39201 · WEB
- https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E · WEB
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10417 · WEB
- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00315.html · WEB
- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00460.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2007-5342 · ADVISORY
- https://github.com/apache/tomcat/tree/main/java/org/apache/juli · PACKAGE
- https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E · WEB
History
- 25 Nov 2026 20:14 UTC · NVD: first stored (published 27 Dec 2007)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 May 2022)