Arbitrary file upload in dolibarr - CVE-2020-13240

 

Arbitrary file upload in dolibarr - CVE-2020-13240

Published: May 28, 2020 / Updated: June 29, 2020


Vulnerability identifier: #VU28306
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2020-13240
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
dolibarr
Software vendor:
Dolibarr ERP & CRM

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to insufficient validation of file during file upload. A remote authenticated user with "Setup documents directories" permission can rename uploaded files to have insecure file extensions, leading to a malicious file execution on the server.


Remediation

Install update from vendor's website.

External links