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.

Category

6.4
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 12.42% Top 10%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory opensuse.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory gentoo.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory marc.info Vendor Advisory apple.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://secunia.com/advisories/30676 third party advisory
http://www.redhat.com/support/errata/RHSA-2008-0862.html vendor advisory
http://secunia.com/advisories/28915 third party advisory
http://www.vupen.com/english/advisories/2008/2823 vdb entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10417 vdb entry signature
http://secunia.com/advisories/37460 third party advisory
http://secunia.com/advisories/29313 third party advisory
http://www.securityfocus.com/bid/31681 vdb entry
http://secunia.com/advisories/32120 third party advisory
http://www.vmware.com/security/advisories/VMSA-2009-0016.html
http://www.redhat.com/support/errata/RHSA-2008-0042.html vendor advisory
http://secunia.com/advisories/28274 third party advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:188 vendor advisory
http://secunia.com/advisories/28317 third party advisory
http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm
http://securityreason.com/securityalert/3485 third party advisory
http://www.securityfocus.com/archive/1/485481/100/0/threaded mailing list
http://www.securityfocus.com/archive/1/507985/100/0/threaded mailing list
http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html vendor advisory
http://tomcat.apache.org/security-6.html
http://www.redhat.com/support/errata/RHSA-2008-0832.html vendor advisory
http://secunia.com/advisories/57126 third party advisory
http://secunia.com/advisories/32222 third party advisory
http://www.redhat.com/support/errata/RHSA-2008-0195.html vendor advisory
https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00315.html vendor advisory
http://security.gentoo.org/glsa/glsa-200804-10.xml vendor advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/39201 vdb entry
http://svn.apache.org/viewvc?view=rev&revision=606594
http://www.redhat.com/support/errata/RHSA-2008-0833.html vendor advisory
https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00460.html vendor advisory
http://www.vupen.com/english/advisories/2008/1856/references vdb entry
http://www.vmware.com/security/advisories/VMSA-2008-0010.html
http://tomcat.apache.org/security-5.html
http://osvdb.org/39833 vdb entry
http://www.vupen.com/english/advisories/2008/0013 vdb entry
http://www.vupen.com/english/advisories/2008/2780 vdb entry
http://www.redhat.com/support/errata/RHSA-2008-0831.html vendor advisory
http://www.securityfocus.com/bid/27006 vdb entry patch
http://www.redhat.com/support/errata/RHSA-2008-0834.html vendor advisory
http://www.debian.org/security/2008/dsa-1447 vendor advisory
http://marc.info/?l=bugtraq&m=139344343412337&w=2 vendor advisory
http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html vendor advisory
http://support.apple.com/kb/HT3216
http://secunia.com/advisories/29711 third party advisory
http://www.vupen.com/english/advisories/2009/3316 vdb entry
http://secunia.com/advisories/32266 third party advisory
https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E mailing list

Frequently Asked Questions

What is the severity of CVE-2007-5342?
CVE-2007-5342 has been scored as a medium severity vulnerability.
How to fix CVE-2007-5342?
To fix CVE-2007-5342, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2007-5342 being actively exploited in the wild?
It is possible that CVE-2007-5342 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~12% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.