Multiple vulnerabilities in Dolibarr



Published: 2020-05-28 | Updated: 2020-06-29
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-13240
CVE-2020-13239
CWE-ID CWE-434
CWE-79
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
dolibarr
Web applications / CRM systems

Vendor Dolibarr ERP & CRM

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

Updated 29.06.2020

Added fixed version for vulnerabilities #1-2

1) Arbitrary file upload

EUVDB-ID: #VU28306

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2020-13240

CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type

Exploit availability: No

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

dolibarr: 6.0.0 - 11.0.4


CPE2.3 External links

http://www.dubget.com/stored-xss-via-file-upload.html

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) Stored cross-site scripting

EUVDB-ID: #VU28305

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2020-13239

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to the DMS/ECM module renders user-uploaded .html files in the browser when the attachment parameter is removed from the direct download link. A remote attacker can inject 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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

dolibarr: 6.0.0 - 11.0.4


CPE2.3 External links

http://www.dubget.com/stored-xss-via-file-upload.html
http://snyk.io/vuln/SNYK-PHP-DOLIBARRDOLIBARR-570055

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###