CVE-2022-0224CWE-89

SQL Injection in dolibarr/dolibarr

High · published January 14, 2022

CVSS v3.0
8.3
EPSS
2%
Percentile
80.4
In the wild
Unconfirmed
What it is

⚡ A tiny oversight leaves Dolibarr wide open! This vulnerability allows attackers to manipulate SQL commands just by tossing in some special characters. 🔥 Think of it like a restaurant that doesn’t check orders closely — a sneaky diner could substitute ingredients and get a free meal without anyone noticing. In this case, the SQL commands aren't being properly vetted, leading to potential chaos! An attacker could exploit this vulnerability to execute arbitrary SQL commands, gaining unauthorized access to sensitive database information. This could result in data breaches, data manipulation, or even complete control over the database — a recipe for disaster!

Put simply

Think of it like a restaurant that doesn’t check orders closely — a sneaky diner could substitute ingredients and get a free meal without anyone noticing. In this case, the SQL commands aren't being properly vetted, leading to potential chaos! This vulnerability arises from improper neutralization of special elements in SQL commands, meaning that attacker-supplied data isn't being sanitized correctly. Consequently, malicious SQL statements may be executed that could compromise the entire database.

What to do

An attacker could exploit this vulnerability to execute arbitrary SQL commands, gaining unauthorized access to sensitive database information. This could result in data breaches, data manipulation, or even complete control over the database — a recipe for disaster! To mitigate this risk, update Dolibarr to the latest version immediately. Additionally, ensure that all user inputs are properly sanitized and validated to prevent SQL injection attacks. Regularly review your code to enhance input handling and security practices. You've got this! With these steps, you’ll bolster Dolibarr’s defenses and keep your data safe! 🛡️

The record
Technical detail
CVSS v3.0
8.3 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.01979 · 80.4th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-01-14T17:35Z
EPSS history
Timeline
  • 14 JAN 17:35Z
    SQL Injection in dolibarr/dolibarr
    cvelistv5