CVE-2010-4312

CVE-2010-4312 is a medium-severity vulnerability in Apache Tomcat with a CVSS 2.0 base score of 6.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-16.

Key facts

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.

Frequently asked questions

What is CVE-2010-4312?
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.
How severe is CVE-2010-4312?
CVE-2010-4312 has a CVSS 2.0 base score of 6.4, rated medium severity.
Is CVE-2010-4312 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (80th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2010-4312?
CVE-2010-4312 primarily affects Apache Tomcat. In total, 27 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2010-4312?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2010-4312 published?
CVE-2010-4312 was published on 2010-11-26 and last updated on 2026-06-16.

References

Affected products (27)

More vulnerabilities in Apache Tomcat

All CVEs affecting Apache Tomcat →

Other CWE-16 vulnerabilities

Browse all CWE-16 vulnerabilities →