CVE-2023-2816 Consul Envoy Extension Downsteam Proxy Configuration By Upstream Service Owner
Users with service write permissions can modify remote proxy configurations for services they do not own, bypassing intended access controls.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-2816?
CVE-2023-2816 is a high-severity missing authorization vulnerability in HashiCorp Consul, published on 2 Jun 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Consul and Consul Enterprise allowed any user with service:write permissions to use Envoy extensions configured via service-defaults to patch remote proxy instances that target the configured service, regardless of whether the user has permission to modify the service(s) corresponding to those modified proxies.
Weakness: CWE-266
Which versions are affected by CVE-2023-2816?
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.15.0 | 1.15.3 |
github.com/hashicorp/consul Go | From 1.15.0 | 1.15.3 |
github.com/hashicorp/consul Go | From 1.15.0 | 1.15.3 |
consul Bitnami | From 1.15.0 | 1.15.3 |
Products include Hashicorp Consul.
How do I fix CVE-2023-2816?
Upgrade github.com/hashicorp/consul to 1.15.3 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2023-2816 being exploited?
There is no known exploitation of CVE-2023-2816 in the wild and no public exploit code.
Other vulnerabilities in HashiCorp Consul
Sources
Also known as AZL-27396, AZL-35303, BIT-consul-2023-2816, GHSA-rqjq-ww83-wv5c, GO-2023-1828, UBUNTU-CVE-2023-2816.