{"id":"CVE-2007-5342","state":"PUBLISHED","title":"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,","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.","publishedAt":"2007-12-27T22:00:00.000Z","updatedAt":"2024-08-07T15:24:42.402Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://secunia.com/advisories/30676","http://www.redhat.com/support/errata/RHSA-2008-0862.html","http://secunia.com/advisories/28915","http://www.vupen.com/english/advisories/2008/2823","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10417","http://secunia.com/advisories/37460","http://secunia.com/advisories/29313","http://www.securityfocus.com/bid/31681","http://secunia.com/advisories/32120","http://www.vmware.com/security/advisories/VMSA-2009-0016.html","http://www.redhat.com/support/errata/RHSA-2008-0042.html","http://secunia.com/advisories/28274","http://www.mandriva.com/security/advisories?name=MDVSA-2008:188","http://secunia.com/advisories/28317","http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm","http://securityreason.com/securityalert/3485","http://www.securityfocus.com/archive/1/485481/100/0/threaded","http://www.securityfocus.com/archive/1/507985/100/0/threaded","http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html","http://tomcat.apache.org/security-6.html","http://www.redhat.com/support/errata/RHSA-2008-0832.html","http://secunia.com/advisories/57126","http://secunia.com/advisories/32222","http://www.redhat.com/support/errata/RHSA-2008-0195.html","https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00315.html","http://security.gentoo.org/glsa/glsa-200804-10.xml","https://exchange.xforce.ibmcloud.com/vulnerabilities/39201","http://svn.apache.org/viewvc?view=rev&revision=606594","http://www.redhat.com/support/errata/RHSA-2008-0833.html","https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00460.html","http://www.vupen.com/english/advisories/2008/1856/references","http://www.vmware.com/security/advisories/VMSA-2008-0010.html","http://tomcat.apache.org/security-5.html","http://osvdb.org/39833","http://www.vupen.com/english/advisories/2008/0013","http://www.vupen.com/english/advisories/2008/2780","http://www.redhat.com/support/errata/RHSA-2008-0831.html","http://www.securityfocus.com/bid/27006","http://www.redhat.com/support/errata/RHSA-2008-0834.html","http://www.debian.org/security/2008/dsa-1447","http://marc.info/?l=bugtraq&m=139344343412337&w=2","http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","http://support.apple.com/kb/HT3216","http://secunia.com/advisories/29711","http://www.vupen.com/english/advisories/2009/3316","http://secunia.com/advisories/32266","https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:39.352Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/5xxx/CVE-2007-5342.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-5342","state":"PUBLISHED","datePublished":"2007-12-27T22:00:00.000Z","dateUpdated":"2024-08-07T15:24:42.402Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2007-10-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://secunia.com/advisories/30676","name":"30676","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0862.html","name":"RHSA-2008:0862","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/28915","name":"28915","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2008/2823","name":"ADV-2008-2823","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10417","name":"oval:org.mitre.oval:def:10417","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/37460","name":"37460","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/29313","name":"29313","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/31681","name":"31681","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/32120","name":"32120","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0042.html","name":"RHSA-2008:0042","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/28274","name":"28274","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:188","name":"MDVSA-2008:188","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/28317","name":"28317","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm","tags":["x_refsource_CONFIRM"]},{"url":"http://securityreason.com/securityalert/3485","name":"3485","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://www.securityfocus.com/archive/1/485481/100/0/threaded","name":"20071223 [CVE-2007-5342] Apache Tomcat's default security policy is too open","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","name":"20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html","name":"SUSE-SR:2009:004","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://tomcat.apache.org/security-6.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0832.html","name":"RHSA-2008:0832","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/57126","name":"57126","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/32222","name":"32222","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0195.html","name":"RHSA-2008:0195","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00315.html","name":"FEDORA-2008-1467","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://security.gentoo.org/glsa/glsa-200804-10.xml","name":"GLSA-200804-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39201","name":"apache-juli-logging-weak-security(39201)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://svn.apache.org/viewvc?view=rev&revision=606594","tags":["x_refsource_MISC"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0833.html","name":"RHSA-2008:0833","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00460.html","name":"FEDORA-2008-1603","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.vupen.com/english/advisories/2008/1856/references","name":"ADV-2008-1856","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2008-0010.html","tags":["x_refsource_CONFIRM"]},{"url":"http://tomcat.apache.org/security-5.html","tags":["x_refsource_CONFIRM"]},{"url":"http://osvdb.org/39833","name":"39833","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.vupen.com/english/advisories/2008/0013","name":"ADV-2008-0013","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vupen.com/english/advisories/2008/2780","name":"ADV-2008-2780","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0831.html","name":"RHSA-2008:0831","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/27006","name":"27006","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0834.html","name":"RHSA-2008:0834","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2008/dsa-1447","name":"DSA-1447","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://marc.info/?l=bugtraq&m=139344343412337&w=2","name":"HPSBST02955","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","name":"APPLE-SA-2008-10-09","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://support.apple.com/kb/HT3216","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/29711","name":"29711","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2009/3316","name":"ADV-2009-3316","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/32266","name":"32266","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E","name":"[tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E","name":"[tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E","name":"[tomcat-dev] 20200203 svn commit: r1873527 [22/30] - /tomcat/site/trunk/docs/","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E","name":"[tomcat-dev] 20200213 svn commit: r1873980 [25/34] - /tomcat/site/trunk/docs/","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2020-02-13T16:08:47.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2007-12-23T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://secunia.com/advisories/30676","name":"30676","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0862.html","name":"RHSA-2008:0862","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/28915","name":"28915","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/2823","name":"ADV-2008-2823","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10417","name":"oval:org.mitre.oval:def:10417","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://secunia.com/advisories/37460","name":"37460","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/29313","name":"29313","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/31681","name":"31681","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/32120","name":"32120","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0042.html","name":"RHSA-2008:0042","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/28274","name":"28274","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:188","name":"MDVSA-2008:188","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/28317","name":"28317","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://securityreason.com/securityalert/3485","name":"3485","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/485481/100/0/threaded","name":"20071223 [CVE-2007-5342] Apache Tomcat's default security policy is too open","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","name":"20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html","name":"SUSE-SR:2009:004","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://tomcat.apache.org/security-6.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0832.html","name":"RHSA-2008:0832","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/57126","name":"57126","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/32222","name":"32222","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0195.html","name":"RHSA-2008:0195","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00315.html","name":"FEDORA-2008-1467","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200804-10.xml","name":"GLSA-200804-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39201","name":"apache-juli-logging-weak-security(39201)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://svn.apache.org/viewvc?view=rev&revision=606594","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0833.html","name":"RHSA-2008:0833","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00460.html","name":"FEDORA-2008-1603","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/1856/references","name":"ADV-2008-1856","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2008-0010.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://tomcat.apache.org/security-5.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://osvdb.org/39833","name":"39833","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/0013","name":"ADV-2008-0013","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/2780","name":"ADV-2008-2780","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0831.html","name":"RHSA-2008:0831","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securityfocus.com/bid/27006","name":"27006","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0834.html","name":"RHSA-2008:0834","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1447","name":"DSA-1447","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=139344343412337&w=2","name":"HPSBST02955","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","name":"APPLE-SA-2008-10-09","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://support.apple.com/kb/HT3216","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/29711","name":"29711","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2009/3316","name":"ADV-2009-3316","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://secunia.com/advisories/32266","name":"32266","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E","name":"[tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E","name":"[tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E","name":"[tomcat-dev] 20200203 svn commit: r1873527 [22/30] - /tomcat/site/trunk/docs/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E","name":"[tomcat-dev] 20200213 svn commit: r1873980 [25/34] - /tomcat/site/trunk/docs/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T15:24:42.402Z"}}]}}}