CVE-2024-24004

jshERP v3.3 is vulnerable to SQL Injection

Critical · published February 6, 2024

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

🚨 An SQL injection vulnerability in jshERP v3.3 means an attacker can craft sneaky queries to bypass protections and access sensitive data! 🔥 Think of this like a restaurant where the chef blindly follows any customer request without verifying the dish — if you ask for extra ingredients without checks, you might end up with something completely disastrous on your plate! An attacker could exploit this flaw to execute arbitrary SQL commands, potentially exposing, altering, or even deleting crucial data. This is absolutely devastating for any organization relying on jshERP, as it opens the door to data theft and destruction.

Put simply

Think of this like a restaurant where the chef blindly follows any customer request without verifying the dish — if you ask for extra ingredients without checks, you might end up with something completely disastrous on your plate! The vulnerability resides in the 'findInOutDetail()' function within the DepotHeadController, where inadequate filtering of the `column` and `order` parameters allows for SQL injection via malicious payloads that can bypass the `safeSqlParse` method.

What to do

An attacker could exploit this flaw to execute arbitrary SQL commands, potentially exposing, altering, or even deleting crucial data. This is absolutely devastating for any organization relying on jshERP, as it opens the door to data theft and destruction. To secure your system, immediately update to the latest jshERP version that addresses this vulnerability. Additionally, review your input validation processes to ensure parameters are properly sanitized before being processed. It’s also wise to conduct a security audit of your database interactions. You've got this! Patch up and you'll have your jshERP environment secured in no time! 🛡️

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.00676 · 51.7th percentile
Published
2024-02-06T00:00Z
EPSS history
Timeline
  • 06 FEB 00:00Z
    jshERP v3.3 is vulnerable to SQL Injection
    cvelistv5