Skip to content
OpenAdvisories
Medium CVE-2007-5342 EUVD-2022-5507GHSA-w65j-cmqc-37p2

JULI logging component in Apache Tomcat does not restrict certain permissions for web applications

Published Dec 27, 2007 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 tomcat5.5 5.5.20-2etch1 DSA-1447-1
ReleasePackageFixed inAdvisory
RHEL 5 tomcat5 +10 5.5.23-0jpp.3.0.3.el5_1 RHSA-2008:0042
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Developer Suite 3 tomcat5 +5 5.5.23-0jpp_11rh RHSA-2008:0195
Red Hat Rhel Application Server 2 tomcat5 +10 5.5.23-0jpp_4rh.9 RHSA-2008:0862
Red Hat JBoss EAP 4 glassfish-jaf 1.1.0-0jpp.ep1.12.el5.1 RHSA-2008:0832
Red Hat JBoss EAP 4 glassfish-javamail 1.4.0-0jpp.ep1.10.el4 RHSA-2008:0833, RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 glassfish-jaxb +1 2.1.4-1jpp.ep1.2.el4 RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 glassfish-jaxws 2.1.1-1jpp.ep1.3.el4 RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 glassfish-jstl 1.2.0-0jpp.ep1.10.el5 RHSA-2008:0832
Red Hat JBoss EAP 4 hibernate3 +1 1:3.2.4-1.SP1_CP04.0jpp.ep1.3.el4 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832
Red Hat JBoss EAP 4 hibernate3-annotations +1 3.2.1-4.GA_CP02.1jpp.ep1.7.el4 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832
Red Hat JBoss EAP 4 hibernate3-commons-annotations 0.0.0-1.1jpp.ep1.1.el5 RHSA-2008:0832
Red Hat JBoss EAP 4 hibernate3-entitymanager +1 3.2.1-2.GA_CP03.1jpp.ep1.9.el5 RHSA-2008:0832
Red Hat JBoss EAP 4 hibernate3-validator 0.0.0-1.1jpp.ep1.1.el4 RHSA-2008:0833, RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 javassist 3.8.0-1.ep1.el4 RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 jboss-aop 1.5.5-2.CP02.0jpp.ep1.2.el4 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832
Red Hat JBoss EAP 4 jboss-jaxr 1.2.0-SP1.0jpp.ep1.4.el5 RHSA-2008:0832
Red Hat JBoss EAP 4 jboss-messaging 1.4.0-1.SP3_CP03.0jpp.ep1.3.el4 RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 jboss-remoting 2.2.2-3.SP9.0jpp.ep1.1.el4 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832
Red Hat JBoss EAP 4 jboss-seam +1 1.2.1-1.ep1.9.el5 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832
Red Hat JBoss EAP 4 jbossas 4.2.0-3.GA_CP04.ep1.8.el4 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832
Red Hat JBoss EAP 4 jbossts 1:4.2.3-1.SP5_CP02.1jpp.ep1.1.el4 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832
Red Hat JBoss EAP 4 jbossweb 2.0.0-4.CP06.0jpp.ep1.1.el4 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832
Red Hat JBoss EAP 4 jbossws 2.0.1-2.SP2_CP03.0jpp.ep1.1.el4 RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 jbossws-common 1.0.0-1.GA_CP01.0jpp.ep1.3.el4 RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 jbossws-framework 2.0.1-0jpp.ep1.11.el4 RHSA-2008:0832, RHSA-2008:0831
Red Hat JBoss EAP 4 jbossxb 1.0.0-2.SP3.0jpp.ep1.3.el5.1 RHSA-2008:0832
Red Hat JBoss EAP 4 rh-eap-docs +1 4.2.0-4.GA_CP04.ep1.3.el5 RHSA-2008:0834, RHSA-2008:0833, RHSA-2008:0832

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat-juli >= 5.5.9, <= 5.5.25 — GHSA-w65j-cmqc-37p2
Maven org.apache.tomcat:tomcat-juli >= 6.0.0, <= 6.0.15 — GHSA-w65j-cmqc-37p2

Advisories 8

References