Skip to content
Fencer Vulns
medium 6.4

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 more
    fixed: 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_11rh
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    not 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

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls
  • CWE-284 Improper Access Control

References

Sources

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.