398 matches found
Go-Get-RCE-CVE-2018-6574-POC
CVE-2018-6574 POC LINK https://nvd.nist.gov/vuln/detail/CVE-2018-6574 http://blog.nsfocus.net/cve-2018-6574/ RUN root@kitploit: go get github.com/neargle/CVE-2018-6574-POC DETAIL payload 在: https://github.com/neargle/CVE-2018-6574-POC/blob/master/calc.cL10 现在已经用 CGO 的特性支持了全平台,linux go get 之后会新建一个...
CVE-2024-24787-PoC
CVE-2024-24787-PoC En Darwin, compilar un módulo de Go que contenga CGO puede desencadenar la ejecución de código arbitrario al usar la versión de ld de Apple, debido al uso de la bandera -ltolibrary en una directiva 'cgo LDFLAGS'. Este no es mi error, solo hice un PoC para el mismo. Referencia...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
Astra Linux - Vulnerability in Golang-1.19
The “//line” directive can be used to bypass the restrictions on the “//go:cgo” directives, allowing for the passing of blocked linker and compiler flags during compilation. This can lead to the execution of arbitrary code when running “go build”. The “//line” directive requires the absolute path...
Astra Linux - Vulnerability in Golang-1.19
The go command may generate unexpected code during build time when using cgo. This can lead to unexpected behavior when running a Go program that uses cgo. This issue may occur when running a trusted module that contains directories with newline characters in their names. Modules retrieved using...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
CVE-2018-6574
CVE-2018-6574 复现步骤: 1. 创建一个包含恶意命令(反向 shell)的 .c 文件: root@kitploit: include include static void malicious attributeconstructor; void malicious system""; 2. 使用 GCC 编译它。你必须在与目标完全相同的架构和操作系统上进行编译(例如 Linux x8664): root@kitploit: gcc -shared -o attack.so -fPIC attack.c 3. 创建一个 main.go 文件,其中包含告诉 Go...
CVE-2018-6574
CVE-2018-6574 Golang go get 命令的远程命令执行漏洞利用。 介绍 当你使用 go get 获取一个包时,Go 的设计是构建并安装该包,而不运行其中的任何代码。其意图是,你可以安全地获取、构建甚至安装 Go 包,而完全不需要信任它们。理论上,这对 Go 工具链来说似乎是一项简单的任务,但实际上,这是一个真正的挑战。go get 在幕后做了很多工作,包括以受包配置严重影响的方式调用第三方工具,如 git 和 clang。确保这些调用的安全性是一场持久战,而 Go 尚未完全获胜。 当 cgo 启用时,“go get” 期间的构建步骤会调用宿主机的 C 编译器(gcc ...
CVE-2018-6574
CVE-2018-6574 POC CVE-2018-6574 的漏洞利用 POC 编译 1. 创建一个包含以下内容的漏洞利用文件: root@kitploit: include include static void malicious attributeconstructor; void malicious system"COMMAND"; 2. 编译它: root@kitploit: gcc -shared -o exploit.so -fPIC exploit.c 3. 最后,你需要以下 Go 代码来告诉 cgo 使用你的插件: root@kitploit: package ma...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
EulerOS 2.0 SP12 : golang (EulerOS-SA-2026-3264)
According to the versions of the golang packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.CVE-2026-42499 When processing HTTP/...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...
net: golang: Go net package: Denial of Service via long CNAME response in LookupCNAME
A flaw was found in the net package of Go golang, specifically when using the LookupCNAME function with the cgo DNS resolver. A remote attacker could exploit this by providing a very long Canonical Name CNAME response. This can trigger a double-free of C memory, leading to a crash and a Denial of...