First published: Thu Dec 27 2007(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
maven/org.apache.tomcat:tomcat-juli | >=6.0.0<=6.0.15 | |
maven/org.apache.tomcat:tomcat-juli | >=5.5.9<=5.5.25 | |
Tomcat | =5.5.9 | |
Tomcat | =5.5.10 | |
Tomcat | =5.5.11 | |
Tomcat | =5.5.12 | |
Tomcat | =5.5.13 | |
Tomcat | =5.5.14 | |
Tomcat | =5.5.15 | |
Tomcat | =5.5.16 | |
Tomcat | =5.5.17 | |
Tomcat | =5.5.18 | |
Tomcat | =5.5.19 | |
Tomcat | =5.5.20 | |
Tomcat | =5.5.21 | |
Tomcat | =5.5.22 | |
Tomcat | =5.5.23 | |
Tomcat | =5.5.24 | |
Tomcat | =5.5.25 | |
Tomcat | =6.0 | |
Tomcat | =6.0.1 | |
Tomcat | =6.0.2 | |
Tomcat | =6.0.3 | |
Tomcat | =6.0.4 | |
Tomcat | =6.0.5 | |
Tomcat | =6.0.6 | |
Tomcat | =6.0.7 | |
Tomcat | =6.0.8 | |
Tomcat | =6.0.9 | |
Tomcat | =6.0.10 | |
Tomcat | =6.0.11 | |
Tomcat | =6.0.12 | |
Tomcat | =6.0.13 | |
Tomcat | =6.0.14 | |
Tomcat | =6.0.15 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-5342 is rated as a medium severity vulnerability due to the potential for unauthorized modifications to logging configurations by attackers.
To mitigate CVE-2007-5342, it is recommended to update to Apache Tomcat versions 5.5.26 or 6.0.16 or later, which include fixed permissions in the catalina.policy.
CVE-2007-5342 allows attackers to modify logging configurations and potentially overwrite arbitrary files, posing a risk to system integrity.
CVE-2007-5342 affects Apache Tomcat versions 5.5.9 through 5.5.25 and 6.0.0 through 6.0.15.
Yes, there are known exploits that demonstrate the ability to exploit the vulnerabilities in CVE-2007-5342 by manipulating the logging configuration.