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:tomcatDetails
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.35Fix
# pom.xml: bump <version>6.0.35</version> for org.apache.tomcat:tomcatReferences
- https://nvd.nist.gov/vuln/detail/CVE-2010-4312[ADVISORY]
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608286[WEB]
- https://github.com/apache/tomcat[PACKAGE]
- https://launchpad.net/bugs/cve/CVE-2010-4312[WEB]
- https://security-tracker.debian.org/tracker/CVE-2010-4312[WEB]
- https://ubuntu.com/security/CVE-2010-4312[WEB]