#VU99581 Improper Neutralization of HTTP Headers for Scripting Syntax in Consul and Consul Enterprise - CVE-2024-10006


| Updated: 2024-11-07

Vulnerability identifier: #VU99581

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-10006

CWE-ID: CWE-644

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Consul
Server applications / Other server solutions
Consul Enterprise
Server applications / Other server solutions

Vendor: HashiCorp

Description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to improper input validation when processing HTTP requests. A remote non-authenticated attacker can send a specially crafted HTTP request with an arbitrary Host header that will be accepted by the application.

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

Consul: 1.9.0 - 1.9.17, 1.10.0 - 1.19.2, 1.20.0

Consul Enterprise: 1.9.0 - 1.9.17, 1.10.0 - 1.19.2, 1.20.0


External links
https://discuss.hashicorp.com/t/hcsec-2024-23-consul-l7-intentions-vulnerable-to-headers-bypass
https://github.com/advisories/GHSA-5c4w-8hhh-3c3h
https://github.com/hashicorp/consul/releases/tag/v1.20.1


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