CVE-2024-10005 Consul L7 Intentions Vulnerable To URL Path Bypass
Attackers can bypass HTTP path-based access rules in Consul L7 intentions by manipulating URL paths, requiring specific configuration to exploit.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-10005?
CVE-2024-10005 is a high-severity path traversal vulnerability in HashiCorp Consul, published on 30 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that using URL paths in L7 traffic intentions could bypass HTTP request path-based access rules.
Weakness: CWE-22
Which versions are affected by CVE-2024-10005?
4 open source packages ship an affected version, including github.com/hashicorp/consul and consul. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/consul Go | From 1.9.0 | 1.20.1 |
github.com/hashicorp/consul Go | From 1.9.0 | 1.20.1 |
github.com/hashicorp/consul Go | From 1.9.0 | 1.20.1 |
consul Bitnami | From 1.9.0 | 1.20.1 |
Products include Hashicorp Consul.
How do I fix CVE-2024-10005?
Upgrade github.com/hashicorp/consul to 1.20.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-10005 being exploited?
There is no known exploitation of CVE-2024-10005 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in HashiCorp Consul
- CVE-2021-41805 Privilege escalation in n/a
- CVE-2021-37219 HashiCorp Consul Privilege Escalation Vulnerability
- CVE-2023-2816 Consul Envoy Extension Downsteam Proxy Configuration By Upstream Service Owner
- CVE-2024-10006 Consul L7 Intentions Vulnerable To Headers Bypass
- CVE-2019-8336 HashiCorp Consul Access Restriction Bypass
Sources
Also known as BIT-consul-2024-10005, CLEANSTART-2026-AW78522, DEBIAN-CVE-2024-10005, GHSA-chgm-7r52-whjj, GO-2024-3243, UBUNTU-CVE-2024-10005.