Skip to content

Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header

Moderate severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Feb 7, 2024

Package

maven org.apache.tomcat:tomcat (Maven)

Affected versions

>= 6.0.0, < 6.0.35

Patched versions

6.0.35

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.

References

Published by the National Vulnerability Database Nov 26, 2010
Published to the GitHub Advisory Database May 14, 2022
Reviewed Feb 7, 2024
Last updated Feb 7, 2024

Severity

Moderate

EPSS score

0.203%
(58th percentile)

Weaknesses

CVE ID

CVE-2010-4312

GHSA ID

GHSA-pvjh-7h8q-q56r

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.