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 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.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Maven has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 5 | tomcat5 | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-admin-webapps | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-common-lib | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-jasper | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-jasper-javadoc | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-jsp-2.0-api | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-jsp-2.0-api-javadoc | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-server-lib | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-servlet-2.4-api | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-servlet-2.4-api-javadoc | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Enterprise Linux 5 | tomcat5-webapps | Fixed | 0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Maven library | org.apache.tomcat:tomcat-juli | Fix pending | GHSA-w65j-cmqc-37p2 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.redhat.com/support/errata/RHSA-2008-0862.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2008-0042.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:188 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2008-0832.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2008-0195.html (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.