
CVE-2018-6574 POC : golang 'go get' remote command execution during source code build
go get github.com/neargle/CVE-2018-6574-POC
payload at: https://github.com/neargle/CVE-2018-6574-POC/blob/master/calc.c#L10
Now it supports all platforms using CGO features. After go get on Linux, it will create a /tmp/go-rce-poc file. On macOS and Windows, it still pops up the calculator as before.
PS. Some GCC on Windows may not have --enable-plugin support, causing error: plugin support is disabled; configure with --enable-plugin. The current POC requires gcc to support --enable-plugin.
KINGSABRI