CVE-2010-4312
Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header
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.
Exploit likelihood
What each source reports
NVD Score used
6.4
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.
- Record
CVE-2010-4312- CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:P - Weakness
- CWE-16
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2010-4312- Updated
- 2026-11-02
EUVDEUVD-2022-4827 No score
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.
- Record
EUVD-2022-4827- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pvjh-7h8q-q56r No score
Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header
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.
- Record
GHSA-pvjh-7h8q-q56r- Weakness
- CWE-1004
- Updated
- 2026-11-02
OSVGHSA-pvjh-7h8q-q56r No score
Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header
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.
- Record
GHSA-pvjh-7h8q-q56r- Weakness
- CWE-1004
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.tomcat:tomcatMaven |
6.0.0 up to 6.0.35 | 6.0.35 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2010-4312 is a medium vulnerability (CVSS 6.4) in Apache Tomcat, published November 26, 2010. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.14%, the 82nd percentile. Fixed in org.apache.tomcat:tomcat 6.0.35.
References
securityfocus.com/archive/1/514866/100/0/threaded
nvd.nist.gov/vuln/detail/CVE-2010-4312
bugs.debian.org/cgi-bin/bugreport.cgi?bug=608286
launchpad.net/bugs/cve/CVE-2010-4312
security-tracker.debian.org/tracker/CVE-2010-4312
ubuntu.com/security/CVE-2010-4312
github.com/advisories/GHSA-pvjh-7h8q-q56r
github.com/apache/tomcat