Skip to main content
VulnerabilityPublished Updated

CVE-2024-24004: jshERP · SQL Injection

Affects jshERPSource CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% 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

Affected software

ProductAffectedFixed in
GitHubjishenghua/jshERPpkg:github/jishenghua/jshERPOther threatsAffected
  • =3.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-24004, organizations should immediately restrict external access to the jshERP application, especially the vulnerable DepotHeadController endpoints, using network segmentation, firewalls, or VPNs. Implement strict input validation and sanitization on the 'column' and 'order' parameters at the application level to prevent malicious SQL payloads. Employ parameterized queries or prepared statements in the codebase to eliminate direct concatenation of user inputs into SQL commands. Monitor application logs and database activity for unusual queries or access patterns indicative of exploitation attempts. If possible, deploy Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection payloads targeting these parameters. Organizations should engage with the jshERP vendor or community to obtain and apply official patches or updates addressing this vulnerability as soon as they become available. Additionally, conduct thorough security assessments and penetration testing on the ERP environment to identify and remediate any other potential injection points.

Description

jshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.DepotHeadController: com.jsh.erp.utils.BaseResponseInfo findInOutDetail() 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…