CVE-2023-3518 JWT Auth in L7 Intentions Allow For Mismatched Service Identity and JWT Providers for Access
Attackers can bypass service identity checks in Consul's JWT authentication, gaining unauthorized access to services.
- 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-2023-3518?
CVE-2023-3518 is a high-severity authentication bypass vulnerability in HashiCorp Consul, published on 9 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
HashiCorp Consul and Consul Enterprise 1.16.0 when using JWT Auth for service mesh incorrectly allows/denies access regardless of service identities. Fixed in 1.16.1.
Weakness: CWE-266
Which versions are affected by CVE-2023-3518?
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.16.0 | 1.16.1 |
github.com/hashicorp/consul Go | From 1.16.0 | 1.16.1 |
github.com/hashicorp/consul Go | From 1.16.0 | 1.16.1 |
consul Bitnami | From 1.16.0 | 1.16.1 |
Products include Hashicorp Consul.
How do I fix CVE-2023-3518?
Upgrade github.com/hashicorp/consul to 1.16.1 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2023-3518 being exploited?
There is no known exploitation of CVE-2023-3518 in the wild and no public exploit code.
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-2024-10005 Consul L7 Intentions Vulnerable To URL Path Bypass
Sources
Also known as BIT-consul-2023-3518, GHSA-9rhf-q362-77mx, GO-2024-2704.