Skip to main content
VulnerabilityPublished Updated

CVE-2024-24002: jshERP · SQL Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2024-24002, organizations should immediately implement the following measures: 1) Apply any available patches or updates from the jshERP vendor once released. 2) If patches are unavailable, restrict access to the vulnerable MaterialController endpoints via network segmentation or firewall rules to limit exposure. 3) Implement strict input validation and sanitization on the 'column' and 'order' parameters at the application level, employing whitelisting of acceptable values rather than blacklisting. 4) Employ Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting these parameters. 5) Conduct thorough code reviews and security testing of ERP modules to identify and remediate similar injection flaws. 6) Monitor database logs and application logs for anomalous queries or error messages indicative of injection attempts. 7) Educate development teams on secure coding practices, particularly regarding dynamic SQL query construction. These targeted actions go beyond generic advice and address the root cause and attack vector of this specific vulnerability.

Description

jshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.MaterialController: com.jsh.erp.utils.BaseResponseInfo getListWithStock() function of jshERP does not filter `column` and `order` parameters well enough, and an attacker can construct malicious payload to bypass jshERP's protection mechanism in `safeSqlParse` method for sql injection.

References

Community reviews

Loading reviews…