CVE-2007-5333 Exposure of Sensitive Information in Apache Tomcat
Apache Tomcat fails to sanitize cookie values, allowing remote attackers to steal session IDs and hijack user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2007-5333?
CVE-2007-5333 is a medium-severity vulnerability in Apache Tomcat, published on 12 Feb 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2007-5333?
6 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | From 4.1.0 | 4.1.37 |
org.apache.tomcat:tomcat Maven | From 4.1.0 | 4.1.37 |
org.apache.tomcat:tomcat Maven | From 5.5.0 | 5.5.26 |
org.apache.tomcat:tomcat Maven | From 5.5.0 | 5.5.26 |
org.apache.tomcat:tomcat Maven | From 6.0.0 | 6.0.15 |
org.apache.tomcat:tomcat Maven | From 6.0.0 | 6.0.15 |
Products include Apache Tomcat.
How do I fix CVE-2007-5333?
Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 4.1.37, 5.5.26 or 6.0.15.
Is CVE-2007-5333 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5333 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-cww4-vj5r-rx57.