Command injection in go (Alpine package)



Published: 2018-02-11
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-6574
CWE-ID CWE-77
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
go (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Command injection

EUVDB-ID: #VU12162

Risk: Low

CVSSv3.1: 8.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2018-6574

CWE-ID: CWE-77 - Command injection

Exploit availability: Yes

Description

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

The weakness exists due to "go get" remote command execution during source code build, by leveraging the gcc or clang plugin feature, because -fplugin= and -plugin= arguments were not blocked. A remote attacker can execute arbitrary commands.

Mitigation

Install update from vendor's website.

Vulnerable software versions

go (Alpine package): 1.9.2-r1

External links

http://git.alpinelinux.org/aports/commit/?id=573b7537c7e1ab2732007a1d026a913613ca2d03
http://git.alpinelinux.org/aports/commit/?id=17caf1ca31bcf51f92d7f466d287824869ec3f25
http://git.alpinelinux.org/aports/commit/?id=d37614ce585d5dcfa9ef4b641992dfc998b6574c
http://git.alpinelinux.org/aports/commit/?id=11b2a0308520951b4e4fc17889e1631bdb355d46
http://git.alpinelinux.org/aports/commit/?id=484ebc3ae8484706e8b43b630eb20af77e35153f
http://git.alpinelinux.org/aports/commit/?id=4b171c25d3ef56409024a3dae9f8f9ab96546a69


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###