Squirrelmail: Session hijacking vulnerability, CVE-2008-3663




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 1.4.16 and above.

Disclosure Timeline

2008-08-12: Vendor contacted
2008-09-23 Published advisory
2008-09-28 Vendor releases fixed 1.4.16

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