Skip to content
Fencer Intel
medium 6.4

CVE-2010-4312 json

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

published 15y ago modified 4mo ago also GHSA-pvjh-7h8q-q56r , EUVD-2022-4827

cvss
6.4
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.tomcat:tomcat 6.0.35

Is CVE-2010-4312 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2010-4312 updated cvss 4.3

tomcat6: does not use HTTPOnly for session cookies by default

  • Red Hat Enterprise Linux 6 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-2.1-api, +4 more
    affected: no fix available

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.14% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P

Affected packages

ecosystem package affected fixed in
maven org.apache.tomcat:tomcat
>=6.0.0, <6.0.35
6.0.35

Classification

Weakness
  • CWE-16 Configuration
  • CWE-1004 Sensitive Cookie Without 'HttpOnly' Flag

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.