SecurityContext

CVE-2023-2816: Consul - Privilege Escalation

  • Cve: CVE-2023-2816
  • Name: Consul - Privilege Escalation
  • 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.
  • Impact: Unauthorized users can modify proxy configurations, potentially leading to privilege escalation or malicious traffic interception.
  • Remediation: Restrict permissions to modify Envoy extensions and review access controls for service-defaults.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation, man_in_the_middle
  • Requirement type: logged_in
  • Requirements: Attacker needs service:write permissions
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00585
  • Epss percentile: 0.48878
  • Assignee: [email protected]
  • Published at: 2023-06-02T23:15:09Z
  • Age in days: 1271
  • Modified at: 2026-06-17T05:53:30Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-2816
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-266Incorrect Privilege Assignment
NVD-CWE-noinfo—

References

UrlSourceTags
https://discuss.hashicorp.com/t/hcsec-2023-16-consul-envoy-extension-downstream-proxy-configuration-by-upstream-service-owner/54525nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
hashicorp:consul>= 1.15.0, < 1.15.3nonvd/v1/products/hashicorp/consul

Projects

RepositoryLink kindsIndexedUrl
hashicorp/consulfix, packageyes/v1/repositories/hashicorp/consul

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 5243
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports