lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080719172952.18798.qmail@securityfocus.com>
Date: 19 Jul 2008 17:29:52 -0000
From: irancrash@...il.com
To: bugtraq@...urityfocus.com
Subject: Maran PHP Blog Xss By Khashayar Fereidani

----------------------------------------------------------------

Script : Maran PHP Blog

Type : XSS (Pasive)

Method : GET

Alert : Medium

----------------------------------------------------------------

Discovered by : Khashayar Fereidani a.k.a. Dr.Crash

My Offical Website : HTTP://FEREIDANI.IR

Khashayar Fereidani Email : irancrash [ a t ] gmail [ d o t] com

----------------------------------------------------------------

Khashayar Fereidani Offical Website : HTTP://FEREIDANI.IR

----------------------------------------------------------------

Script Download : http://www.maran.pamil-visions.com/download2.php?dir=maranphp&file=maranblog.zip

----------------------------------------------------------------

This Is One Xss Vulnerability in ID Variable .
Attacker Can Execute JavaScript Code And Get Admin Cookie And Send new article with admin cookie .....

Xss Address : http://Example/comments.php?id=%3E%3C%3E%27%3Cscript%3Ealert(document.cookie)%3C/script%3E


----------------------------------------------------------------

Solution : Edit Source Code And Filter id Variable With htmlspecialchars() function in comments.php .......

line 32 : <input type='hidden' name='id' value='<?echo $_GET['id'];?>'><br>

Change It To : <input type='hidden' name='id' value='<?echo htmlspecialchars($_GET['id']);?>'><br>

----------------------------------------------------------------

                        Tnx : God

                     HTTP://IRCRASH.COM

----------------------------------------------------------------

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ