Files
CVEs-PoC/2018/CVE-2018-7187.md
T
2024-06-18 02:51:15 +02:00

18 lines
736 B
Markdown

### [CVE-2018-7187](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7187)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.
### POC
#### Reference
- https://github.com/golang/go/issues/23867
#### Github
- https://github.com/ARPSyndicate/cvemon