CVE-2007-5342: Medium severity Apache Tomcat vulnerability
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.
Other sources
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2007-5342?
CVE-2007-5342 is rated as a medium severity vulnerability due to the potential for unauthorized modifications to logging configurations by attackers.
How do I fix CVE-2007-5342?
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.
What impact does CVE-2007-5342 have on Apache Tomcat?
CVE-2007-5342 allows attackers to modify logging configurations and potentially overwrite arbitrary files, posing a risk to system integrity.
Which versions of Apache Tomcat are affected by CVE-2007-5342?
CVE-2007-5342 affects Apache Tomcat versions 5.5.9 through 5.5.25 and 6.0.0 through 6.0.15.
Are there known exploits for CVE-2007-5342?
Yes, there are known exploits that demonstrate the ability to exploit the vulnerabilities in CVE-2007-5342 by manipulating the logging configuration.