Top XL is a toplist script working with static links.
Requirements:
----------------------------------------------
register_globals = On
Vulnerability:
----------------------------------------------
Input passed directly to the "pass" and "pass2" parameter in "add.php" and
the "id" parameter in Members Area("/members/index.php")
is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.
It works with a script code like this:
>'><script>alert('MajorSecurity')</script><!--
Solution:
----------------------------------------------
Edit the source code to ensure that input is properly sanitised.
You should work with "htmlspecialchars()" or "htmlentities()" php-function
to ensure that html tags
are not going to be executed. You should also work with the "intval()"
php-function to ensure that the input
is numeric.
Example:
<?php
$pass = htmlentities($_POST['pass']);
echo htmlspecialchars("<script");
$id = intval($_POST['id']);
?>
Set "register_globals" to "Off".
Feedback :
If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.