PT-2018-17860 · Myrepos+1 · Myrepos+1
Jakub Wilk
·
Published
2018-02-14
·
Updated
2024-06-15
·
CVE-2018-7032
CVSS v3.1
7.5
High
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
myrepos versions through 1.20171231
Description
The issue allows a malicious website operator or a Man-in-the-Middle (MitM) attacker to execute arbitrary code. This can be achieved by taking advantage of the fact that
webcheckout in myrepos does not sanitize URLs passed to git clone. Demonstrated attacks include an "ext::sh -c" attack or an option injection attack.Recommendations
For versions through 1.20171231, update to a version that sanitizes URLs passed to
git clone to prevent arbitrary code execution.Exploit
Fix
Special Elements Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Myrepos