CWE
284 264
Advisory Published
Advisory Published
Updated

CVE-2007-5342

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203