GHSA-4qq9-qg7j-fcm9
Dolibarr Cross-Site Request Forgery (CSRF)
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | dolibarr/dolibarr | >= 10.0, < 10.0.2 | 10.0.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.)
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-15062
- https://github.com/Dolibarr/dolibarr/issues/11671
- https://github.com/Dolibarr/dolibarr/commit/18eb2a83fe7c2d01bdb34cceec389a6f9541e1f6
- https://github.com/Dolibarr/dolibarr/commit/d21e5571007d2052a6b5f80a67b6f4cac693584a
- https://gauravnarwani.com/publications/CVE-2019-15062
- https://github.com/Dolibarr/dolibarr