CVE-2024-24002

jshERP v3.3 is vulnerable to SQL Injection

Critical 路 published February 6, 2024

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

馃敟 Watch out! jshERP v3.3 has a critical SQL injection flaw that lets attackers sneak malicious payloads past defenses like a clever magician pulling off a trick! Think of it like a restaurant where the chef never checks the order tickets鈥攁n unauthorized ingredient can get added to the dish without anyone noticing. In this case, anyone could tamper with the query and pull out sensitive data or even wreak havoc on the database! An attacker could exploit this flaw to access, modify, or delete data within the jshERP system, potentially leading to catastrophic data leaks and loss of integrity. This vulnerability is absolutely devastating, as it leaves the door wide open for attackers to wreak havoc on your operations!

Put simply

Think of it like a restaurant where the chef never checks the order tickets鈥攁n unauthorized ingredient can get added to the dish without anyone noticing. In this case, anyone could tamper with the query and pull out sensitive data or even wreak havoc on the database! The SQL injection vulnerability arises from insufficient filtering of the `column` and `order` parameters in the `getListWithStock()` function. This flaw allows an attacker to input crafted SQL commands that could bypass jshERP's protective measures in the `safeSqlParse` method, leading to unauthorized database access.

What to do

An attacker could exploit this flaw to access, modify, or delete data within the jshERP system, potentially leading to catastrophic data leaks and loss of integrity. This vulnerability is absolutely devastating, as it leaves the door wide open for attackers to wreak havoc on your operations! To protect your system, update jshERP to version 3.4 immediately, where this issue has been addressed. Additionally, review your SQL parsing methods to ensure robust input validation and implement parameterized queries to mitigate future vulnerabilities. You've got this! By taking these steps, you'll secure your jshERP installation and protect your data like a superhero! 馃Ω

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