Dolibarr 11.0.0-alpha Stored CSRF to Account Takeover
Credits: Gaurav Narwani
The Common Vulnerabilities and Exposures (CVE) Program has assigned the ID CVE-2019-14546 to this issue. This is an entry on the CVE List, which standardizes names for security problems. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-15062 CVE ID: CVE-2019-15062 Date of Disclosure: 15th August 2019
Vendor, Product – Dolibarr, dolibarr Affected Product: Dolibarr Version 11.0.0-alpha
Description: An issue was discovered in Dolibarr 11.0.0-alpha. 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.) To exploit the vulnerability, the admin needs to open the profile of the attacker. This is done by generally browsing users panels.
Proof of Concept: Affected Component: Add links Feature in User Settings was compromised.