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.2Details
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
10.0Fixed in: 10.0.2composer require dolibarr/dolibarr:^10.0.2References
- https://nvd.nist.gov/vuln/detail/CVE-2019-15062[ADVISORY]
- https://github.com/Dolibarr/dolibarr/issues/11671[WEB]
- https://github.com/Dolibarr/dolibarr/commit/18eb2a83fe7c2d01bdb34cceec389a6f9541e1f6[WEB]
- https://github.com/Dolibarr/dolibarr/commit/d21e5571007d2052a6b5f80a67b6f4cac693584a[WEB]
- https://gauravnarwani.com/publications/CVE-2019-15062[WEB]
- https://github.com/Dolibarr/dolibarr[PACKAGE]
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"]}'