Input validation error in myrepos - CVE-2018-7032

 

Input validation error in myrepos - CVE-2018-7032

Published: February 14, 2018 / Updated: August 3, 2020


Vulnerability identifier: #VU33232
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2018-7032
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: git.joeyh.name
Affected software:
myrepos

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

webcheckout in myrepos through 1.20171231 does not sanitize URLs that are passed to git clone, allowing a malicious website operator or a MitM attacker to take advantage of it for arbitrary code execution, as demonstrated by an "ext::sh -c" attack or an option injection attack.


How to mitigate CVE-2018-7032

Install update from vendor's website.

Sources