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 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
Likely to be exploited: EPSS gives a 63% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Maven, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 5 | tomcat5 | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-admin-webapps | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-common-lib | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-jasper | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-jasper-javadoc | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-jsp-2.0-api | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-jsp-2.0-api-javadoc | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-server-lib | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-servlet-2.4-api | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-servlet-2.4-api-javadoc | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Red Hat Enterprise Linux 5 | tomcat5-webapps | Fixed | 0:5.5.23-0jpp.7.el5_3.2 | RHSA-2009:1164 |
| Maven library | org.apache.tomcat:tomcat | Fixed | 5.5.26 | GHSA-cww4-vj5r-rx57 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www-1.ibm.com/support/docview.wss?uid=swg1IZ20133 (vendor-advisory)
- http://www-1.ibm.com/support/docview.wss?uid=swg1IZ20991 (vendor-advisory)
- http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:176 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:018 (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.