[Full-disclosure] Squirrelmail: Session hijacking vulnerability, CVE-2008-3663

Hanno Böck hanno at hboeck.de
Tue Sep 23 00:09:55 BST 2008


Squirrelmail: Session hijacking vulnerability, CVE-2008-3663

References

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3663
http://int21.de/cve/CVE-2008-3663-squirrelmail.html
http://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.

Squirrelmail does not set that flag. It is fixed in the 1.5 test versions, but 
current 1.4.15 is vulnerable.

Disclosure Timeline

2008-08-12: Vendor contacted
2008-09-23 Published advisory

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, http://www.hboeck.de
-- 
Hanno Böck		Blog:		http://www.hboeck.de/
GPG: 3DBD3B20		Jabber/Mail:	hanno at hboeck.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20080923/1208d683/attachment.bin 


Full-Disclosure is hosted and sponsored by Secunia.