#VU24708 Cross-site scripting in dolibarr - CVE-2020-7994
Published: January 28, 2020 / Updated: December 14, 2020
Vulnerability identifier: #VU24708
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2020-7994
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
dolibarr
dolibarr
Software vendor:
Dolibarr ERP & CRM
Dolibarr ERP & CRM
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via multiple parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
This vulnerability affects the following parameters:
- label[libelle] parameter to the /htdocs/admin/dict.php?id=3 page
- name[constname] parameter to the /htdocs/admin/const.php?mainmenu=home page
- note[note] parameter to the /htdocs/admin/dict.php?id=10 page
- zip[MAIN_INFO_SOCIETE_ZIP] or email[mail] parameter to the /htdocs/admin/company.php page
- url[defaulturl], field[defaultkey], or value[defaultvalue] parameter to the /htdocs/admin/defaultvalues.php page
- key[transkey] or key[transvalue] parameter to the /htdocs/admin/translation.php page
- [main_motd] or [main_home] parameter to the /htdocs/admin/ihm.php page
Remediation
Install update from vendor's website.