
09-26-2012, 12:06 PM
|
|
|
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by loaep
XSS Vulnerability Found.
gxboxlive.php:199: $pagenav = construct_page_nav($pagenumber, $perpage, $gxblcounts['usercount'], 'gxboxlive.php?do=getall', (!empty($sortfield) ? "&sortfield=$sortfield" : "") . (!empty($sortorder) ? "&sortorder=$sortorder" : ""));
OP's last activity was 2011 December, so I'm assuming it won't be fixed.
To fix it yourself, find these lines in gxboxlive.php
Code:
$sortfield = $vbulletin->input->clean_gpc('r', 'sortfield', TYPE_STR);
$sortorder = $vbulletin->input->clean_gpc('r', 'sortorder', TYPE_STR);
and add under it
Code:
$sortfield = htmlspecialchars($sortfield);
$sortorder = htmlspecialchars($sortorder);
|
Thank you for the update
|