Command injection in Redmine - CVE-2017-18026

 

Command injection in Redmine - CVE-2017-18026

Published: May 8, 2018


Vulnerability identifier: #VU12417
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-18026
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Ruby
Affected software:
Redmine

Detailed vulnerability description

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

The weakness exists due to improper blocking of the --config and --debugger flags to the Mercurial hg program. A remote attacker can execute arbitrary commands through the Mercurial adapter via vectors involving a branch whose name begins with a --config= or --debugger= substring.


How to mitigate CVE-2017-18026

Update to versions 3.2.9, 3.3.6 or 3.4.4.

Sources