VDB
Sign up
MEDIUM

GHSA-pvjh-7h8q-q56r

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

Quick fix

GHSA-pvjh-7h8q-q56r — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

# pom.xml: bump <version>6.0.35</version> for org.apache.tomcat:tomcat

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 6.0.0Fixed in: 6.0.35
Fix# pom.xml: bump <version>6.0.35</version> for org.apache.tomcat:tomcat

References