{"id":"CVE-2010-4312","aliases":["EUVD-2022-4827","GHSA-pvjh-7h8q-q56r"],"status":"published","title":"Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header","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.","severity":{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02136,"percentile":0.82134,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1004","CWE-16"],"published":"2010-11-26T19:00:00Z","modified":"2026-06-16T23:24:33Z","fixes":[{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","fixed_in":["6.0.35"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.35"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.35"}]}]}],"products":[{"vendor":"apache","product":"tomcat"}],"references":[{"url":"http://www.securityfocus.com/archive/1/514866/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2010-4312","tags":["advisory"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608286","tags":["web"]},{"url":"https://launchpad.net/bugs/cve/CVE-2010-4312","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2010-4312","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2010-4312","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pvjh-7h8q-q56r"},{"url":"https://github.com/apache/tomcat","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2010-4312","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.","status":"published","published":"2010-11-26T19:00:00Z","modified":"2024-08-07T03:43:14.325Z","updated_at":"2026-11-02T14:33:28.858903Z"}],"euvd":[{"id":"EUVD-2022-4827","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.","status":"published","published":"2010-11-26T19:00:00Z","modified":"2024-08-07T03:43:14Z","updated_at":"2026-11-03T01:39:30.072311Z"}],"ghsa":[{"id":"GHSA-pvjh-7h8q-q56r","title":"Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header","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.","status":"published","published":"2022-05-14T02:42:23Z","modified":"2024-02-07T23:37:53Z","cwes":["CWE-1004"],"updated_at":"2026-11-02T14:37:36.777238Z"}],"nvd":[{"id":"CVE-2010-4312","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.","status":"published","published":"2010-11-26T20:00:05Z","modified":"2026-06-16T23:24:33.01Z","cvss":[{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-16"],"updated_at":"2026-11-02T14:02:00.37682Z"}],"osv":[{"id":"GHSA-pvjh-7h8q-q56r","title":"Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header","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.","status":"published","published":"2022-05-14T02:42:23Z","modified":"2024-02-08T00:11:46.740632Z","cwes":["CWE-1004"],"updated_at":"2026-11-02T15:46:53.700556Z"}]}}
