VDB
Sign up
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.2

Details

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.2
Fixcomposer require dolibarr/dolibarr:^7.0.2

References

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"]}'