CVE-2024-24003

jshERP v3.3 is vulnerable to SQL Injection

Critical · published February 8, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
56.1
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection lurks in jshERP v3.3, allowing attackers to exploit improperly filtered parameters! 🔥 Think of it like an unmonitored delivery service that accepts any package without checking the label. An attacker can slip through malicious instructions disguised as perfectly legitimate requests, bypassing your security checks like a rogue delivery slipping past a careless receptionist. If exploited, an attacker could gain unauthorized access to your database, manipulate data, or even launch further attacks. This could lead to exposure of sensitive information, manipulation of records, or devastating data losses. The consequences are absolutely devastating and could compromise your entire system.

Put simply

Think of it like an unmonitored delivery service that accepts any package without checking the label. An attacker can slip through malicious instructions disguised as perfectly legitimate requests, bypassing your security checks like a rogue delivery slipping past a careless receptionist. The SQL injection vulnerability exists in the findInOutMaterialCount() function of jshERP's DepotHeadController. It allows attackers to bypass the intended protections of the safeSqlParse method by improperly filtering the `column` and `order` parameters, leading to potential malicious SQL commands being executed.

What to do

If exploited, an attacker could gain unauthorized access to your database, manipulate data, or even launch further attacks. This could lead to exposure of sensitive information, manipulation of records, or devastating data losses. The consequences are absolutely devastating and could compromise your entire system. Immediately patch to jshERP version 3.3.1 or later to close this vulnerability. Review the code for proper validation and sanitization of user inputs to prevent further SQL injection risks. Additionally, consider implementing parameterized queries where possible to enhance security. You've got this! By taking these steps, you can secure your jshERP implementation and protect your data. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00800 · 56.1th percentile
Published
2024-02-08T00:00Z
EPSS history
Timeline
  • 08 FEB 00:00Z
    jshERP v3.3 is vulnerable to SQL Injection
    cvelistv5