#VU78327 Improper Neutralization of HTTP Headers for Scripting Syntax in Go programming language


Published: 2023-07-17

Vulnerability identifier: #VU78327

Vulnerability risk: Medium

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

CVE-ID: CVE-2023-29406

CWE-ID: CWE-644

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Go programming language
Universal components / Libraries / Scripting languages

Vendor: Google

Description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to improper input validation in HTTP/1 client when handling HTTP Host header. A remote non-authenticated attacker can send a specially crafted HTTP request with a maliciously crafted Host header and inject additional headers or entire requests.

Successful exploitation of the vulnerability may allow an attacker to perform cross-site scripting, cache poisoning or session hijacking attacks.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Go programming language: 1.20 - 1.20.5, 1.19 - 1.19.10


External links
http://groups.google.com/g/golang-announce/c/2q13H6LEEx0
http://go.dev/cl/506996
http://pkg.go.dev/vuln/GO-2023-1878
http://go.dev/issue/60374


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.


Latest bulletins with this vulnerability