Description
Apache Tomcat 6.0.0 to 6.0.13, 5.5.0 to 5.5.24, 5.0.0 to 5.0.30, 4.1.0 to 4.1.36, and 3.3 to 3.3.2 treats single quotes ("'") as delimiters in cookies, which might cause sensitive information such as session IDs to be leaked and allow remote attackers to conduct session hijacking attacks.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 4.0 | tomcat5 | 5.0.30-12etch1 | DSA-1453-1 |
| Debian 4.0 | tomcat5.5 | 5.5.20-2etch1 | DSA-1447-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | tomcat5 +10 | 5.5.23-0jpp.3.0.2.el5 | RHSA-2007:0871 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Developer Suite 3 | tomcat5 +5 | 5.5.23-0jpp_11rh | RHSA-2008:0195 |
| Red Hat Rhel Application Stack 1 | berkeleydb | 2.0.90-1jpp.ep1.1 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | hibernate3-annotations +1 | 3.2.1-1.patch01.1jpp.ep1.2 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | hibernate3-ejb-persistence-3.0-api +1 | 3.2.1-1jpp.ep1.1 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | hibernate3-entitymanager +1 | 3.2.1-1jpp.ep1.5 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jacorb | 2.3.0-1jpp.ep1.1 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jboss-aop | 1.5.5-0jpp.ep1.2.1 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jboss-cache | 1.4.1-1.SP3.1jpp.ep1.1 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jboss-remoting | 2.2.2-1jpp.ep1.4 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jboss-seam +1 | 1.2.1-1.ep1.2 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jboss-serialization | 1.0.3-1jpp.ep1.3 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jbossas | 4.2.0-2.CP01.ep1.4 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jbossweb | 2.0.0-2.CP01.0jpp.ep1.4 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jbossxb | 1.0.0-1.CP01.0jpp.ep1.1 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jcommon | 0.9.7-1jpp.el4ep1.1 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | jfreechart | 0.9.21-2jpp.el4ep1.1 | RHSA-2007:0950 |
| Red Hat Rhel Application Stack 1 | rh-eap-docs | 4.2.0-2.CP01.ep1.2 | RHSA-2007:0950 |
| Red Hat Rhel Application Server 2 | tomcat5 +10 | 5.5.23-0jpp_4rh.4 | RHSA-2007:0876 |
| Red Hat Network Satellite 5 | jabberd | 2.0s10-3.38.rhn | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | jakarta-commons-pool | 1.2-2jpp_2rh | RHSA-2007:1069 |
| Red Hat Network Satellite 5 | java-1.4.2-ibm +1 | 1.4.2.10-1jpp.2.el4 | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | jfreechart | 0.9.20-3.rhn | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | openmotif21 | 2.1.30-11.RHEL4.6 | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | perl-Crypt-CBC | 2.24-1.el4 | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | rhn-apache | 1.3.27-36.rhn.rhel4 | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | rhn-modjk-ap13 | 1.2.23-2rhn.rhel4 | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | rhn-modperl | 1.29-16.rhel4 | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | rhn-modssl | 2.8.12-8.rhn.10.rhel4 | RHSA-2008:0261 |
| Red Hat Network Satellite 5 | tomcat5 | 5.0.30-0jpp_6rh | RHSA-2008:0261, RHSA-2007:1069 |
| Red Hat Network Satellite 5 | tyrex | 1.0.1-2jpp_2rh | RHSA-2007:1069 |
| Red Hat Network Satellite 4 | jabberd | 2.0s10-3.37.rhn | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | jakarta-commons-pool | 1.2-2jpp_2rh | RHSA-2007:1069 |
| Red Hat Network Satellite 4 | java-1.4.2-ibm +1 | 1.4.2.10-1jpp.2.el3 | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | jfreechart | 0.9.20-3.rhn | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | openmotif21 | 2.1.30-9.RHEL3.8 | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | perl-Crypt-CBC | 2.24-1.el3 | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | rhn-apache | 1.3.27-36.rhn.rhel3 | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | rhn-modjk-ap13 | 1.2.23-2rhn.rhel3 | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | rhn-modperl | 1.29-16.rhel3 | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | rhn-modssl | 2.8.12-8.rhn.10.rhel3 | RHSA-2008:0524 |
| Red Hat Network Satellite 4 | tomcat5 | 5.0.30-0jpp_6rh | RHSA-2008:0524, RHSA-2007:1069 |
| Red Hat Network Satellite 4 | tyrex | 1.0.1-2jpp_2rh | RHSA-2007:1069 |
| Red Hat Certificate System 7 | ant | 1.6.5-1jpp_1rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | avalon-logkit | 1.2-2jpp_4rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | axis | 1.2.1-1jpp_3rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | classpathx-jaf | 1.0-2jpp_6rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | classpathx-mail | 1.1.1-2jpp_8rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | geronimo-specs +10 | 1.0-0.M4.1jpp_10rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | jakarta-commons-modeler | 2.0-3jpp_2rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | log4j | 1.2.12-1jpp_1rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | mx4j | 1:3.0.1-1jpp_4rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | pcsc-lite +2 | 1.3.3-3.el4 | RHSA-2010:0602 |
| Red Hat Certificate System 7 | rhpki-ca | 7.3.0-20.el4 | RHSA-2010:0602 |
| Red Hat Certificate System 7 | rhpki-java-tools | 7.3.0-10.el4 | RHSA-2010:0602 |
| Red Hat Certificate System 7 | rhpki-kra | 7.3.0-14.el4 | RHSA-2010:0602 |
| Red Hat Certificate System 7 | rhpki-manage | 7.3.0-19.el4 | RHSA-2010:0602 |
| Red Hat Certificate System 7 | rhpki-native-tools | 7.3.0-6.el4 | RHSA-2010:0602 |
| Red Hat Certificate System 7 | rhpki-tks +1 | 7.3.0-13.el4 | RHSA-2010:0602 |
| Red Hat Certificate System 7 | tomcat5 +5 | 5.5.23-0jpp_4rh.16 | RHSA-2010:0602 |
| Red Hat Certificate System 7 | xerces-j2 | 2.7.1-1jpp_1rh | RHSA-2010:0602 |
| Red Hat Certificate System 7 | xml-commons +1 | 1.3.02-2jpp_1rh | RHSA-2010:0602 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Apache Tomcat 6.0.13 - Insecure Cookie Handling Quote Delimiter Session ID Disclosure EDB-30496 · remote · Aug 14, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 6.0.0, <= 6.0.13 | — | GHSA-qff8-g48j-pwpw |
| Maven | org.apache.tomcat:tomcat | >= 5.5.0, <= 5.5.24 | — | GHSA-qff8-g48j-pwpw |
| Maven | org.apache.tomcat:tomcat | >= 5.0.0, <= 5.0.30 | — | GHSA-qff8-g48j-pwpw |
| Maven | org.apache.tomcat:tomcat | >= 4.1.0, <= 4.1.36 | — | GHSA-qff8-g48j-pwpw |
| Maven | org.apache.tomcat:tomcat | >= 3.3.0, <= 3.3.2 | — | GHSA-qff8-g48j-pwpw |
Advisories 10
- RHSA-2010:0602 Red Hat Security Advisory: Red Hat Certificate System 7.3 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2008:0524 Red Hat Security Advisory: Red Hat Network Satellite Server security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2008:0261 Red Hat Security Advisory: Red Hat Network Satellite Server security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2007:0871 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1453-1 tomcat5 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1447-1 tomcat5.5 several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2007:1069 Red Hat Security Advisory: tomcat security update for Red Hat Network Satellite Server Red Hat Security Advisories (RHSA) · Jan 7, 2026
- RHSA-2008:0195 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2007:0950 Red Hat Security Advisory: JBoss Enterprise Application Platform security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2007:0876 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- DSA-1453 vendor-advisory
- RHSA-2007:0950 vendor-advisory
- http://support.apple.com/kb/HT2163
- 20070814 Re: CVE-2007-3382: Handling of cookies containing a ' character mailing-list
- ADV-2008-1981 vdb-entry
- FEDORA-2007-3456 vendor-advisory
- 27267 third-party-advisory
- 29242 third-party-advisory
- ADV-2007-3527 vdb-entry
- 1018556 vdb-entry
- 26466 third-party-advisory
- 20090127 CA20090123-01: Cohesion Tomcat Multiple Vulnerabilities (Updated - v1.1) mailing-list
- SUSE-SR:2008:005 vendor-advisory
- 33668 third-party-advisory
- ADV-2007-2902 vdb-entry
- 20090124 CA20090123-01: Cohesion Tomcat Multiple Vulnerabilities mailing-list
- 26898 third-party-advisory
- 28361 third-party-advisory
- IZ55562 vendor-advisory
- SSRT071472 vendor-advisory
- 28317 third-party-advisory
- APPLE-SA-2008-06-30 vendor-advisory
- ADV-2009-0233 vdb-entry
- SUSE-SR:2009:004 vendor-advisory
- http://tomcat.apache.org/security-6.html
- RHSA-2007:0871 vendor-advisory
- ADV-2007-3386 vdb-entry
- 30802 third-party-advisory
- RHSA-2008:0195 vendor-advisory
- 27037 third-party-advisory
- 25316 vdb-entry
- VU#993544 third-party-advisory
- SSRT071447 vendor-advisory
- 27727 third-party-advisory
- 20070814 CVE-2007-3382: Handling of cookies containing a ' character mailing-list
- RHSA-2008:0261 vendor-advisory
- 36486 third-party-advisory
- DSA-1447 vendor-advisory
- http://community.ca.com/blogs/casecurityresponseblog/archive/2009/01/23.aspx
- oval:org.mitre.oval:def:11269 vdb-entry signature
- http://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=197540
- tomcat-quotecookie-information-disclosure(36006) vdb-entry
- MDKSA-2007:241 vendor-advisory
- [tomcat-dev] 20190319 svn commit: r1855831 [21/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- [tomcat-dev] 20190325 svn commit: r1856174 [19/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list
- [tomcat-dev] 20200213 svn commit: r1873980 [24/34] - /tomcat/site/trunk/docs/ mailing-list