SB2020122904 - OS command injection in Dolibarr



SB2020122904 - OS command injection in Dolibarr

Published: December 29, 2020

Security Bulletin ID SB2020122904
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) OS Command Injection (CVE-ID: CVE-2020-35136)

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation within the backup functionality. A remote privileged user can pass specially crafted filename via the zipfilename_template parameter to admin/tools/dolibarr_export.php and execute arbitrary OS commands on the target system.


Remediation

Install update from vendor's website.