CVE-2007-5342
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…
Check your servers for CVE-2007-5342
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-5342 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 5.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 93.2% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-5342 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-5342RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-5342Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-5342
trivy image --scanners vuln IMAGE | grep CVE-2007-5342
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 30676 secunia.com · third party advisory
- RHSA-2008:0862 redhat.com · vendor advisory
- 28915 secunia.com · third party advisory
- 37460 secunia.com · third party advisory
- 29313 secunia.com · third party advisory
- 32120 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html vmware.com
- RHSA-2008:0042 redhat.com · vendor advisory
- 28274 secunia.com · third party advisory
- MDVSA-2008:188 mandriva.com · vendor advisory
- 28317 secunia.com · third party advisory
- http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm support.avaya.com
21 more
- 3485 securityreason.com · third party advisory
- SUSE-SR:2009:004 lists.opensuse.org · vendor advisory
- http://tomcat.apache.org/security-6.html tomcat.apache.org
- RHSA-2008:0832 redhat.com · vendor advisory
- 57126 secunia.com · third party advisory
- 32222 secunia.com · third party advisory
- RHSA-2008:0195 redhat.com · vendor advisory
- FEDORA-2008-1467 redhat.com · vendor advisory
- GLSA-200804-10 security.gentoo.org · vendor advisory
- RHSA-2008:0833 redhat.com · vendor advisory
- FEDORA-2008-1603 redhat.com · vendor advisory
- http://www.vmware.com/security/advisories/VMSA-2008-0010.html vmware.com
- http://tomcat.apache.org/security-5.html tomcat.apache.org
- RHSA-2008:0831 redhat.com · vendor advisory
- RHSA-2008:0834 redhat.com · vendor advisory
- DSA-1447 debian.org · vendor advisory
- HPSBST02955 marc.info · vendor advisory
- APPLE-SA-2008-10-09 lists.apple.com · vendor advisory
- http://support.apple.com/kb/HT3216 support.apple.com
- 29711 secunia.com · third party advisory
- 32266 secunia.com · third party advisory
Other references
- ADV-2008-2823 vupen.com · vdb entry
- oval:org.mitre.oval:def:10417 oval.cisecurity.org · vdb entry, signature
- 31681 securityfocus.com · vdb entry
- 20071223 [CVE-2007-5342] Apache Tomcat's default security policy is too open securityfocus.com · mailing list
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue… securityfocus.com · mailing list
- apache-juli-logging-weak-security(39201) exchange.xforce.ibmcloud.com · vdb entry
- http://svn.apache.org/viewvc?view=rev&revision=606594 svn.apache.org
- ADV-2008-1856 vupen.com · vdb entry
- 39833 osvdb.org · vdb entry
- ADV-2008-0013 vupen.com · vdb entry
- ADV-2008-2780 vupen.com · vdb entry
- 27006 securityfocus.com · vdb entry
5 more
- ADV-2009-3316 vupen.com · vdb entry
- [tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ lists.apache.org · mailing list
- [tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ lists.apache.org · mailing list
- [tomcat-dev] 20200203 svn commit: r1873527 [22/30] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
- [tomcat-dev] 20200213 svn commit: r1873980 [25/34] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
Source: the record CVE-2007-5342 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse