Type: Cross site scripting
Discovery Date: June, 23th 2006
Made public: July, 2nd 2006
Vendor: JMB SOFTWARE
Rated as: Low Risk
Discovered by: David "Aesthetico" Vieira-Kurz http://www.majorsecurity.de
AutoRank PHP 3.02 and prior AutoRank Pro 5.01 and prior
I have contacted the vendor on June, 25th 2006 at 12:25 PM via e-mail. The vendor replied to my e-mail on June, 26th 2006, but there's still no fix available. A copy of the e-mail is attached as screenshoot at the end of this text.
AutoRank PHP is our next generation toplist software, written completely in PHP and backed by a MySQL database. AutoRank Professional is a complete top list software package. It will keep a database of accounts, and the account holders can then send hits to your site.
register_globals = On
Input passed to the "Keyword" parameter in "search.php" and "Username" parameter in "main.cgi" isn't 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.
Edit the source code to ensure that input is properly sanitised. You should work with "htmlspecialchars()" or "strip_tags()" php-function to ensure that html tags are not going to be executed.
Example: <?php echo htmlspecialchars("<script"); ?>
Set "register_globals" to "Off".