{"id":"CVE-2022-4093","published":"2022-11-21T00:00:00Z","modified":"2025-04-14T18:16:35Z","title":"SQL Injection in dolibarr/dolibarr","vendor":"dolibarr","product":"dolibarr/dolibarr","tier":"tail","description":{"text":"SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or personal user information. Many high-profile data breaches in recent years have been the result of SQL injection attacks, leading to reputational damage and regulatory fines. In some cases, an attacker can obtain a persistent backdoor into an organization's systems, leading to a long-term compromise that can go unnoticed for an extended period. This affect 16.0.1 and 16.0.2 only. 16.0.0 or lower, and 16.0.3 or higher are not affected","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0495,"percentile":0.92366,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://huntr.dev/bounties/677ca8ee-ffbc-4b39-b294-2ce81bd56788","tags":[]},{"url":"https://github.com/dolibarr/dolibarr/commit/7c1eac9774bd1fed0b7b4594159f2ac2d12a4011","tags":[]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":18.47},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"dolibarr","affectedVersions":[{"vendor":"dolibarr","product":"dolibarr/dolibarr","versions":[">= unspecified, < 16.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-14T18:12:38.686059Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"dolibarr/dolibarr","vulnerableRanges":[">=16.0.1, <16.0.3"],"patched":["16.0.3"],"from":["GHSA-gjg7-qfvp-9hm4"],"provenance":"source"}],"summary":{"text":"The SQL injection flaw in the dolibarr/dolibarr product, which is the Dolibarr ERP/CRM platform, is a failure to neutralize special characters in SQL commands. An unauthenticated remote attacker, requiring no user interaction and high attack complexity, could inject SQL to read or modify sensitive data, such as passwords, payment details, and personal user information, but only on versions 16.0.1 and 16.0.2.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:00Z"},"euvd":{"id":"EUVD-2022-7348","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dolibarr-dolibarr-cve-2019-11201","parents":[{"from":"CVE-2019-11201","to":"CVE-2022-4093","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htdocs/core/lib/website.lib.php"],"commits":["https://github.com/Dolibarr/dolibarr/commit/63c0ab93fb21f86c1b736061af9fa1eee90148fd","https://github.com/dolibarr/dolibarr/commit/7c1eac9774bd1fed0b7b4594159f2ac2d12a4011"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2022-4093","to":"CVE-2023-4197","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htdocs/core/lib/website.lib.php"],"commits":["https://github.com/dolibarr/dolibarr/commit/7c1eac9774bd1fed0b7b4594159f2ac2d12a4011","https://github.com/Dolibarr/dolibarr/commit/0ed6a63fb06be88be5a4f8bcdee83185eee4087e"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-0731","published":"2022-02-23","fixed":"16.0","kev":false},{"cve":"CVE-2022-0746","published":"2022-02-25","fixed":"16.0","kev":false},{"cve":"CVE-2022-2060","published":"2022-06-13","fixed":"16.0","kev":false},{"cve":"CVE-2022-4093","published":"2022-11-21","fixed":"16.0.3","kev":false},{"cve":"CVE-2023-33568","published":"2023-06-13","fixed":"16.0.5","kev":false,"link":{"from":"CVE-2022-4093","to":"CVE-2023-33568","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:dolibarr/dolibarr","fromFixed":"16.0.3","toFixed":"16.0.5","daysApart":204}]}},{"cve":"CVE-2023-5842","published":"2023-10-30","fixed":"16.0.5","kev":false,"link":{"from":"CVE-2022-4093","to":"CVE-2023-5842","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:dolibarr/dolibarr","fromFixed":"16.0.3","toFixed":"16.0.5","daysApart":343}]}},{"cve":"CVE-2023-30253","published":"2023-05-29","fixed":"17.0.1","kev":false}],"package":"Packagist:dolibarr/dolibarr"}}