CVE-2007-5342 json
JULI logging component in Apache Tomcat does not restrict certain permissions for web applications
published 2007-12-27 18 y ago modified 2026-06-16 4 mo ago also GHSA-w65j-cmqc-37p2 , EUVD-2022-5507
- cvss
- 6.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.2%
- EPSS 5.2% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- jbossas jboss enterprise application platform 4.2.0 4.2.0-4.GA_CP04.ep1.7.el5.6
- jbossts jboss enterprise application platform 4.3.0, jboss enterprise application platform 4.2.0 1:4.2.3-1.SP5_CP02.1jpp.ep1.2.el5
- jbossweb jboss enterprise application platform 4.3.0, jboss enterprise application platform 4.2.0 2.0.0-4.CP06.0jpp.ep1.1.el5
- jboss-aop jboss enterprise application platform 4.3.0, jboss enterprise application platform 4.2.0 1.5.5-2.CP02.0jpp.ep1.2.el5
- hibernate3 jboss enterprise application platform 4.3.0, jboss enterprise application platform 4.2.0 1:3.2.4-1.SP1_CP04.0jpp.ep1.3.el5
- jboss-seam jboss enterprise application platform 4.2.0 1.2.1-1.ep1.9.el5
- jboss-remoting jboss enterprise application platform 4.2.0 2.2.2-3.SP9.0jpp.ep1.2.el5
- hibernate3-javadoc jboss enterprise application platform 4.2.0 1:3.2.4-1.SP1_CP04.0jpp.ep1.3.el5
red hat advisories RHSA-2008:0834RHSA-2008:0833RHSA-2008:0832RHSA-2008:0831RHSA-2008:0862RHSA-2008:0195
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-5342 updated
Apache Tomcat's default security policy is too open
-
Red Hat Application Server v2 4AS tomcat5 5.5.23-0jpp_4rh.9, tomcat5-jasper 5.5.23-0jpp_4rh.9, tomcat5-webapps 5.5.23-0jpp_4rh.9, tomcat5-common-lib 5.5.23-0jpp_4rh.9, tomcat5-server-lib 5.5.23-0jpp_4rh.9, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.9, +5 more Red Hat Application Server v2 4ES tomcat5 5.5.23-0jpp_4rh.9, tomcat5-jasper 5.5.23-0jpp_4rh.9, tomcat5-webapps 5.5.23-0jpp_4rh.9, tomcat5-common-lib 5.5.23-0jpp_4rh.9, tomcat5-server-lib 5.5.23-0jpp_4rh.9, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.9, +5 more Red Hat Application Server v2 4WS tomcat5 5.5.23-0jpp_4rh.9, tomcat5-jasper 5.5.23-0jpp_4rh.9, tomcat5-webapps 5.5.23-0jpp_4rh.9, tomcat5-common-lib 5.5.23-0jpp_4rh.9, tomcat5-server-lib 5.5.23-0jpp_4rh.9, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.9, +5 morefixed: vendor fix RHSA-2008:0862
-
Red Hat Developer Suite v.3 (AS v.4) tomcat5 5.5.23-0jpp_11rh, tomcat5-jasper 5.5.23-0jpp_11rh, tomcat5-common-lib 5.5.23-0jpp_11rh, tomcat5-server-lib 5.5.23-0jpp_11rh, tomcat5-jsp-2.0-api 5.5.23-0jpp_11rh, tomcat5-servlet-2.4-api 5.5.23-0jpp_11rhfixed: vendor fix RHSA-2008:0195
-
Red Hat Enterprise Linux (v. 5 server) tomcat5 5.5.23-0jpp.3.0.3.el5_1, tomcat5-jasper 5.5.23-0jpp.3.0.3.el5_1, tomcat5-webapps 5.5.23-0jpp.3.0.3.el5_1, tomcat5-common-lib 5.5.23-0jpp.3.0.3.el5_1, tomcat5-server-lib 5.5.23-0jpp.3.0.3.el5_1, tomcat5-jsp-2.0-api 5.5.23-0jpp.3.0.3.el5_1, +5 more Red Hat Enterprise Linux Desktop (v. 5 client) tomcat5 5.5.23-0jpp.3.0.3.el5_1, tomcat5-jasper 5.5.23-0jpp.3.0.3.el5_1, tomcat5-webapps 5.5.23-0jpp.3.0.3.el5_1, tomcat5-common-lib 5.5.23-0jpp.3.0.3.el5_1, tomcat5-server-lib 5.5.23-0jpp.3.0.3.el5_1, tomcat5-jsp-2.0-api 5.5.23-0jpp.3.0.3.el5_1, +5 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) tomcat5 5.5.23-0jpp.3.0.3.el5_1, tomcat5-jasper 5.5.23-0jpp.3.0.3.el5_1, tomcat5-webapps 5.5.23-0jpp.3.0.3.el5_1, tomcat5-common-lib 5.5.23-0jpp.3.0.3.el5_1, tomcat5-server-lib 5.5.23-0jpp.3.0.3.el5_1, tomcat5-jsp-2.0-api 5.5.23-0jpp.3.0.3.el5_1, +5 morefixed: vendor fix RHSA-2008:0042
-
Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 4 AS jboss-seam 1.2.1-1.ep1.10.el4, jbossas 4.2.0-3.GA_CP04.ep1.8.el4, jbossweb 2.0.0-4.CP06.0jpp.ep1.1.el4, jboss-aop 1.5.5-2.CP02.0jpp.ep1.2.el4, jbossts 4.2.3-1.SP5_CP02.1jpp.ep1.1.el4, glassfish-javamail 1.4.0-0jpp.ep1.10.el4, +7 more Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 4 ES jboss-seam 1.2.1-1.ep1.10.el4, jbossas 4.2.0-3.GA_CP04.ep1.8.el4, jbossweb 2.0.0-4.CP06.0jpp.ep1.1.el4, jboss-aop 1.5.5-2.CP02.0jpp.ep1.2.el4, jbossts 4.2.3-1.SP5_CP02.1jpp.ep1.1.el4, glassfish-javamail 1.4.0-0jpp.ep1.10.el4, +7 morefixed: vendor fix RHSA-2008:0833
-
Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 5 Server jboss-seam 1.2.1-1.ep1.9.el5, jbossas 4.2.0-4.GA_CP04.ep1.7.el5.6, jbossweb 2.0.0-4.CP06.0jpp.ep1.1.el5, jboss-aop 1.5.5-2.CP02.0jpp.ep1.2.el5, jbossts 4.2.3-1.SP5_CP02.1jpp.ep1.2.el5, jboss-remoting 2.2.2-3.SP9.0jpp.ep1.2.el5, +5 morefixed: vendor fix RHSA-2008:0834
-
Red Hat JBoss Enterprise Application Platform 4.3.0 for RHEL 4 AS javassist 3.8.0-1.ep1.el4, jbossas 4.3.0-2.GA_CP02.ep1.10.el4, glassfish-jaxb 2.1.4-1jpp.ep1.2.el4, glassfish-jaxws 2.1.1-1jpp.ep1.3.el4, jbossweb 2.0.0-4.CP06.0jpp.ep1.1.el4, jboss-aop 1.5.5-2.CP02.0jpp.ep1.2.el4, +15 more Red Hat JBoss Enterprise Application Platform 4.3.0 for RHEL 4 ES javassist 3.8.0-1.ep1.el4, jbossas 4.3.0-2.GA_CP02.ep1.10.el4, glassfish-jaxb 2.1.4-1jpp.ep1.2.el4, glassfish-jaxws 2.1.1-1jpp.ep1.3.el4, jbossweb 2.0.0-4.CP06.0jpp.ep1.1.el4, jboss-aop 1.5.5-2.CP02.0jpp.ep1.2.el4, +15 morefixed: vendor fix RHSA-2008:0831
-
Red Hat JBoss Enterprise Application Platform 4.3.0 for RHEL 5 Server javassist 3.8.0-1jpp.ep1.2.el5, jboss-jaxr 1.2.0-SP1.0jpp.ep1.4.el5, glassfish-jaxws 2.1.1-1jpp.ep1.3.el5, glassfish-jstl 1.2.0-0jpp.ep1.10.el5, jbossas 4.3.0-2.GA_CP02.ep1.10.el5.2, jbossweb 2.0.0-4.CP06.0jpp.ep1.1.el5, +20 morefixed: vendor fix RHSA-2008:0832
-
Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 4 AS javassist 3.8.0-1.ep1.el4, jbossxb 1.0.0-2.SP3.0jpp.ep1.3.el4, glassfish-jaf 1.1.0-0jpp.ep1.12.el4, jboss-jaxr 1.2.0-SP1.0jpp.ep1.4.el4, glassfish-jstl 1.2.0-0jpp.ep1.10.el4, jakarta-commons-beanutils 1.7.0-2jpp.ep1.5.el4, +3 more Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 4 ES javassist 3.8.0-1.ep1.el4, jbossxb 1.0.0-2.SP3.0jpp.ep1.3.el4, glassfish-jaf 1.1.0-0jpp.ep1.12.el4, jboss-jaxr 1.2.0-SP1.0jpp.ep1.4.el4, glassfish-jstl 1.2.0-0jpp.ep1.10.el4, jakarta-commons-beanutils 1.7.0-2jpp.ep1.5.el4, +3 more Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 5 Server javassist 3.8.0-1jpp.ep1.2.el5, jboss-jaxr 1.2.0-SP1.0jpp.ep1.4.el5, glassfish-jstl 1.2.0-0jpp.ep1.10.el5, jbossxb 1.0.0-2.SP3.0jpp.ep1.3.el5.1, glassfish-jaf 1.1.0-0jpp.ep1.12.el5.1, glassfish-javamail 1.4.0-0jpp.ep1.10.el5, +4 more Red Hat JBoss Enterprise Application Platform 4.3.0 for RHEL 4 AS jbossxb 1.0.0-2.SP3.0jpp.ep1.3.el4, glassfish-jaf 1.1.0-0jpp.ep1.12.el4, jboss-jaxr 1.2.0-SP1.0jpp.ep1.4.el4, glassfish-jstl 1.2.0-0jpp.ep1.10.el4, jakarta-commons-beanutils 1.7.0-2jpp.ep1.5.el4, hibernate3-commons-annotations 0.0.0-1.1jpp.ep1.1.el4, +2 more Red Hat JBoss Enterprise Application Platform 4.3.0 for RHEL 4 ES jbossxb 1.0.0-2.SP3.0jpp.ep1.3.el4, glassfish-jaf 1.1.0-0jpp.ep1.12.el4, jboss-jaxr 1.2.0-SP1.0jpp.ep1.4.el4, glassfish-jstl 1.2.0-0jpp.ep1.10.el4, jakarta-commons-beanutils 1.7.0-2jpp.ep1.5.el4, hibernate3-commons-annotations 0.0.0-1.1jpp.ep1.1.el4, +2 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.16% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat-juli | >=5.5.9, <=5.5.25 >=6.0.0, <=6.0.15 |
no fix listed |
Classification
References
-
securityfocus.com
/bid/27006
web, patch
-
redhat.com
/support/errata/RHSA-2008-0862.html
vendor-advisory, web
-
redhat.com
/support/errata/RHSA-2008-0042.html
vendor-advisory, web
-
mandriva.com
/security/advisories?name=MDVSA-2008:188
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2009-02/msg00002.html
vendor-advisory, web
-
redhat.com
/support/errata/RHSA-2008-0832.html
vendor-advisory, web
-
redhat.com
/support/errata/RHSA-2008-0195.html
vendor-advisory, web
-
redhat.com
/archives/fedora-package-announce/2008-February/msg00315.html
vendor-advisory, web
-
security.gentoo.org
/glsa/glsa-200804-10.xml
vendor-advisory, web
-
redhat.com
/support/errata/RHSA-2008-0833.html
vendor-advisory, web
-
redhat.com
/archives/fedora-package-announce/2008-February/msg00460.html
vendor-advisory, web
-
redhat.com
/support/errata/RHSA-2008-0831.html
vendor-advisory, web
-
redhat.com
/support/errata/RHSA-2008-0834.html
vendor-advisory, web
-
debian.org
/security/2008/dsa-1447
vendor-advisory, web
-
marc.info
/?l=bugtraq&m=139344343412337&w=2
vendor-advisory, web
-
lists.apple.com
/archives/security-announce/2008/Oct/msg00001.html
vendor-advisory, web
-
secunia.com
/advisories/30676
third-party-advisory
-
secunia.com
/advisories/28915
third-party-advisory
-
vupen.com
/english/advisories/2008/2823
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10417
vdb-entry, signature, web
-
secunia.com
/advisories/37460
third-party-advisory
-
secunia.com
/advisories/29313
third-party-advisory
-
securityfocus.com
/bid/31681
vdb-entry, web
-
secunia.com
/advisories/32120
third-party-advisory
-
vmware.com
/security/advisories/VMSA-2009-0016.html
web
-
secunia.com
/advisories/28274
third-party-advisory
-
secunia.com
/advisories/28317
third-party-advisory
-
support.avaya.com
/elmodocs2/security/ASA-2008-401.htm
web
-
securityreason.com
/securityalert/3485
third-party-advisory, web
-
securityfocus.com
/archive/1/485481/100/0/threaded
mailing-list, web
-
securityfocus.com
/archive/1/507985/100/0/threaded
mailing-list, web
-
tomcat.apache.org
/security-6.html
web
-
secunia.com
/advisories/57126
third-party-advisory
-
secunia.com
/advisories/32222
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/39201
vdb-entry, web
-
svn.apache.org
/viewvc?view=rev&revision=606594
web
-
vupen.com
/english/advisories/2008/1856/references
vdb-entry
-
vmware.com
/security/advisories/VMSA-2008-0010.html
web
-
tomcat.apache.org
/security-5.html
web
-
osvdb.org
/39833
vdb-entry
-
vupen.com
/english/advisories/2008/0013
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2007-5342
advisory
-
github.com
/apache/tomcat/tree/main/java/org/apache/juli
package
-
lists.apache.org
/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E
web
-
support.apple.com
/kb/HT3216
web
- secunia.com /advisories/29711
- secunia.com /advisories/32266
- vupen.com /english/advisories/2008/2780
Sources
- CVE List CVE-2007-5342
- GitHub Advisory GHSA-w65j-cmqc-37p2
- NVD CVE-2007-5342
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.