VDB
Sign up
HIGH8.0

GHSA-4qq9-qg7j-fcm9

Dolibarr Cross-Site Request Forgery (CSRF)

Quick fix

GHSA-4qq9-qg7j-fcm9 — dolibarr/dolibarr: upgrade to the fixed version with the command below.

composer require dolibarr/dolibarr:^10.0.2

Details

An issue was discovered in Dolibarr. A user can store an IFRAME element (containing a user/card.php CSRF request) in his Linked Files settings page. When visited by the admin, this could completely take over the admin account. (The protection mechanism for CSRF is to check the Referer header; however, because the attack is from one of the application's own settings pages, this mechanism is bypassed.)

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/dolibarr/dolibarr
Introduced in: 10.0Fixed in: 10.0.2
Fixcomposer require dolibarr/dolibarr:^10.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"]}'