Dolibarr
Dolibarr: SQL Injection in societe/class/societe.class.php via localtax1_value parameter
Dolibarr is an open-source enterprise resource planning and customer relationship management application. Prior to 22.0.5 and 23.0.1, there is a SQL injection vulnerability in the Third Party company update functionality. The application concatenates the localtax1_value and localtax2_value properties into an SQL UPDATE statement without numeric conversion or other appropriate sanitization. An authenticated user with Third Party create or edit permission can submit crafted lt1 or lt2 POST parameters to read sensitive database information, including password hashes, API keys, and business data, or modify third-party records. This issue is fixed in versions 22.0.5 and 23.0.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 22.0.5
- >= 23.0.0, < 23.0.2
Fixed in 22.0.5, 23.0.2
Mitigation
Upgrade dolibarr to 22.0.5 or 23.0.2 or later.
References
- Vendor advisory github.com/Dolibarr/dolibarr/security/advisori…
- Patch github.com/Dolibarr/dolibarr/pull/37632
- Patch github.com/Dolibarr/dolibarr/commit/a06b14b7dc…
3 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.