PT-2024-20228 · Jsherp · Jsherp
Published
2024-02-06
·
Updated
2024-08-26
·
CVE-2024-24002
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
jshERP version 3.3
Description
The issue is related to SQL Injection. The com.jsh.erp.controller.MaterialController, specifically the
getListWithStock() function, does not properly filter the column and order parameters, allowing an attacker to construct a malicious payload to bypass the protection mechanism in the safeSqlParse method for SQL injection.Recommendations
For jshERP version 3.3, as a temporary workaround, consider disabling the
getListWithStock() function in the MaterialController until a patch is available. Restrict access to the column and order parameters in the affected API endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jsherp