[Openstack] [OSSG][OSSN] Horizon does not set Secure Attribute in cookies

Clark, Robert Graham robert.clark at hp.com
Thu Sep 19 17:40:33 UTC 2013


Horizon does not set Secure Attribute in cookies
-----
### Summary ###
Horizon does not, by default, set the Secure Attribute in cookies

### Affected Services / Software ###
Horizon, Django

### Discussion ###
When used in production Horizon should have the Secure Attribute for
cookies set. When this flag is set, browsers will only transfer the
cookie over secure channels. Without it set, browsers may transfer the
cookie over plain-text channels, potentially exposing the contents to an
attacker who can then use the cookie to authenticate with the Horizon
server as the original user.

### Recommended Actions ###
Enable secure cookie by setting the SESSION_COOKIE_SECURE config flag to
true:
https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-SESSION_
COOKIE_SECURE

### Contacts / References ###
This OSSN : https://bugs.launchpad.net/ossn/+bug/1191051
Related Horizon/Django OSSN :
https://bugs.launchpad.net/ossn/+bug/1191050
OpenStack Security ML : openstack-security at lists.openstack.org
OpenStack Security Group : https://launchpad.net/~openstack-ossg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6187 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130919/47f308db/attachment.bin>


More information about the Openstack mailing list