CRITICAL9.8
GHSA-fff9-m6f6-q3mh
Dolibarr SQL Injection vulnerability
Quick fix
GHSA-fff9-m6f6-q3mh — dolibarr/dolibarr: upgrade to the fixed version with the command below.
composer require dolibarr/dolibarr:^7.0.2Details
SQL Injection vulnerability in Dolibarr before version 7.0.2 allows remote attackers to execute arbitrary SQL commands via the sortfield parameter to /accountancy/admin/accountmodel.php, /accountancy/admin/categories_list.php, /accountancy/admin/journals_list.php, /admin/dict.php, /admin/mails_templates.php, or /admin/website.php.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/dolibarr/dolibarr
Introduced in:
0Fixed in: 7.0.2Fix
composer require dolibarr/dolibarr:^7.0.2References
- https://nvd.nist.gov/vuln/detail/CVE-2018-9019[ADVISORY]
- https://github.com/Dolibarr/dolibarr/commit/83b762b681c6dfdceb809d26ce95f3667b614739[WEB]
- https://github.com/Dolibarr/dolibarr[PACKAGE]
- https://github.com/Dolibarr/dolibarr/blob/7.0.2/ChangeLog[WEB]
- https://www.oracle.com/security-alerts/cpujan2021.html[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/dolibarr/dolibarr"]}'