myrepos: missing URL sanitization (CVE-2018-7032)
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.
References:
https://nvd.nist.gov/vuln/detail/CVE-2018-7032
Patch:
(from redmine: issue id 9199, created on 2018-08-07, closed on 2018-08-23)
- Relations:
- copied_to #9200 (closed)
- copied_to #9201 (closed)
- copied_to #9202 (closed)
- copied_to #9203 (closed)
- child #9200 (closed)
- child #9201 (closed)
- child #9202 (closed)
- child #9203 (closed)