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.)
gauravnarwani.com/publications/CVE-2019-15062
github.com/Dolibarr/dolibarr
github.com/Dolibarr/dolibarr/commit/18eb2a83fe7c2d01bdb34cceec389a6f9541e1f6
github.com/Dolibarr/dolibarr/commit/d21e5571007d2052a6b5f80a67b6f4cac693584a
github.com/Dolibarr/dolibarr/issues/11671
nvd.nist.gov/vuln/detail/CVE-2019-15062