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

There is a sql injection vulnerability in the crmeb_java system /api/front/store/list #20

Open
Tyaoo opened this issue Feb 5, 2024 · 0 comments

Comments

@Tyaoo
Copy link

Tyaoo commented Feb 5, 2024

[Suggested description]
There is a SQL Injection vulnerability in crmeb_java <=1.3.4, caused by the param sortKey which is in ${} format and isn't strictly filtered.

[Vulnerability Type]
SQLi

[Vendor of Product]
https://github.com/crmeb/crmeb_java

[Affected Product Code Base]
<=1.3.4

[Affected Component]
/api/front/store/list

[Attack Type]
Remote

[Vulnerability details]
image

image
[Impact Code execution]
true
[Cause of vulnerability]
The interface /api/front/store/list call the function getNearList
image
function getNearList will be called when inputing both latitude and longitude parameters.
image
The latitude and longitude parameters are used in ${} format and it will be joined to the sql string directly.
image

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