---
title: "CVE-2010-4312\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2010-4312?format=md
keywords: index, follow
---

# CVE-2010-4312

Publication date 26 November 2010

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2010-4312?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tomcat5 | 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Ignored end of life |
| tomcat5.5 | 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Not in release |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | Not in release |
| tomcat6 | 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| 9.10 karmic | Ignored end of life |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [kees](https://launchpad.net/~kees)

fixed going forward in Tomcat 7; really a configuration issue for sites.

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4312)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2010-4312)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2010-4312)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2010-4312)

### Other references

* <http://www.securityfocus.com/archive/1/archive/1/514866/100/0/threaded>
* <https://www.cve.org/CVERecord?id=CVE-2010-4312>
