Menalto Gallery versions prior to 2.2.6 failed to set the secure flag in the session cookie allowing for session hijacking.
abff3ad67ab14ebf55f9da0c0e8959080407847a2106e0bb1f87d45c942811ac
menalto gallery: Session hijacking vulnerability, CVE-2008-3662
References
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3662
https://int21.de/cve/CVE-2008-3662-gallery.html
https://gallery.menalto.com/gallery_2.2.6_released
https://enablesecurity.com/2008/08/11/surf-jack-https-will-not-save-you/
https://www.defcon.org/html/defcon-16/dc-16-speakers.html#Perry
Description
When configuring a web application to use only ssl (e. g. by forwarding all
http-requests to https), a user would expect that sniffing and hijacking the
session is impossible.
Though, for this to be secure, one needs to set the session cookie to have the
secure flag. Else the cookie will be transferred through http if the victim's
browser does a single http-request on the same domain.
gallery versions before 2.2.6 did not set this flag.
Disclosure Timeline
2008-08-15: Vendor contacted
2008-09-18 Vendor releases 2.2.6
2008-09-18 Published advisory
CVE Information
The Common Vulnerabilities and Exposures (CVE) project has assigned the name
CVE-2008-3662 to this issue. This is a candidate for inclusion in the CVE
list (https://cve.mitre.org/), which standardizes names for security problems.
Credits and copyright
This vulnerability was discovered by Hanno Boeck of schokokeks.org webhosting.
It's licensed under the creative commons attribution license.
Hanno Boeck, 2008-09-18, https://www.hboeck.de
--
Hanno Böck Blog: https://www.hboeck.de/
GPG: 3DBD3B20 Jabber/Mail: hanno@hboeck.de