Drupal Insecure Cookie 泄露漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1185234 漏洞类型 加密问题
发布时间 2008-09-20 更新时间 2008-10-16
CVE编号 CVE-2008-3661 CNNVD-ID CNNVD-200809-289
漏洞平台 N/A CVSS评分 5.0
|漏洞来源
https://www.securityfocus.com/bid/31285
https://cxsecurity.com/issue/WLB-2008090048
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200809-289
|漏洞详情
Drupal5.10版本和6.4版本有可能不会对一个https会话里的会话cookie设置安全标记,这会引起在http请求中发送cookie并使远程攻击者捕获该cookie变得简单。
|漏洞EXP
drupal: Session hijacking vulnerability, CVE-2008-3661

References

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

The drupal CMS is vulnerable to this issue. They don't consider this as a 
drupal issue and have not published a fix yet.

Disclosure Timeline

2008-08-13: Vendor contacted
2008-09-20 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
|受影响的产品
Red Hat Fedora 9 Red Hat Fedora 8 Drupal Drupal 6.4 Drupal Drupal 6.3 Drupal Drupal 6.2 Drupal Drupal 6.1 Drupal Drupal 6.0 Drupal Drupa
|参考资料

来源:XF
名称:drupal-cookie-session-hijacking(45298)
链接:http://xforce.iss.net/xforce/xfdb/45298
来源:BID
名称:31285
链接:http://www.securityfocus.com/bid/31285
来源:BUGTRAQ
名称:20080920drupal:Sessionhijackingvulnerability,CVE-2008-3661
链接:http://www.securityfocus.com/archive/1/archive/1/496575/100/0/threaded
来源:MISC
链接:http://int21.de/cve/CVE-2008-3661-drupal.html