tomcat6: does not use HTTPOnly for session cookies by default
Published Nov 26, 2010
6.4
MEDIUMCVSS 2.0
EPSS 2.14%
Description
The default configuration of Apache Tomcat 6.x does not include the HTTPOnly flag in a Set-Cookie header, which makes it easier for remote attackers to hijack a session via script access to a cookie.
Affected products
No data.
- 6.0
- 6.0.0
- 6.0.1
- 6.0.2
- 6.0.3
- 6.0.4
- 6.0.5
- 6.0.6
- 6.0.7
- 6.0.8
- 6.0.9
- 6.0.10
- 6.0.11
- 6.0.12
- 6.0.13
- 6.0.14
- 6.0.15
- 6.0.16
- 6.0.17
- 6.0.18
- 6.0.19
- 6.0.20
- 6.0.24
- 6.0.26
- 6.0.27
- 6.0.28
- 6.0.29
No data.
Red Hat Enterprise Linux 6
tomcat6
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | tomcat6 | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue is only a defense-in-depth measure, and we currently have no plans to fix this flaw in Red Hat Enterprise Linux 6. The use of the useHttpOnly setting in Tomcat only prohibits client scripts from accessing cookies when it is correctly implemented in the user's web browser. The use of httpOnly does not guarantee XSS protection; it is only a defense-in-depth measure. Additionally, implementing this as a default setting could have negative impact on existing expected behavior in client scripts. As a result, the Red Hat Security Response Team has determined that this issue is not a security flaw, but a proactive hardening measure and the risk associated with implementing it by default and possibly breaking expected behaviour is greater than any benefits it provides. Users who wish to take advantage of this hardening measure can enable useHttpOnly by adding '<Context useHttpOnly="true">' to the default context.xml or a specific web-application context.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.14% (0.02136) | 81.36th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.14% (0.02136) | 79.56th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.74% (0.01735) | 80.79th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.29% (0.03287) | 78.48th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.74% (0.01735) | 81.23th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.20% (0.00203) | 59.15th | v3 (v2023.03.01) |
| Jun 14, 2024 | 0.20% (0.00203) | 58.44th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.20% (0.00203) | 56.41th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.05% (0.01055) | 52.13th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.05% (0.01055) | 50.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.05% (0.01055) | 48.43th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.05% (0.01055) | 27.52th | v2 (v2022.01.01) |
References (10)
- http://www.securityfocus.com/archive/1/514866/100/0/threaded mailing-listx_refsource_BUGTRAQ
- https://access.redhat.com/security/cve/CVE-2010-4312 Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608286
- https://bugzilla.redhat.com/show_bug.cgi?id=658267 Issue Tracking
- https://github.com/advisories/GHSA-pvjh-7h8q-q56r Advisory
- https://launchpad.net/bugs/cve/CVE-2010-4312
- https://nvd.nist.gov/vuln/detail/CVE-2010-4312
- https://security-tracker.debian.org/tracker/CVE-2010-4312
- https://ubuntu.com/security/CVE-2010-4312
- https://www.cve.org/CVERecord?id=CVE-2010-4312
Change history (0)
No recorded changes yet.