Skip to content

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

@Tyaoo

Description

@Tyaoo

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions