CVE-2022-29153
Hashicorp Consul HTTP health check endpoints returning an HTTP redirect may be abused as SSRF vector
Record summary
CVE-2022-29153 has a selected CVSS score of 7.5 (high); EIP currently links 1 Nuclei template.
Description
HashiCorp Consul and Consul Enterprise up to 1.9.16, 1.10.9, and 1.11.4 may allow server side request forgery when the Consul client agent follows redirects returned by HTTP health check endpoints. Fixed in 1.9.17, 1.10.10, and 1.11.5.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Nov 13, 2023 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
| VulnCheck | Version data not supplied | ||
github.com/hashicorp/consulBrowse Go / github.com/hashicorp/consul | GitHub Advisory | Before 1.9.17 · Fixed in 1.9.17 | affected |
| 1.10.0 to < 1.10.10 · Fixed in 1.10.10 | affected | ||
| 1.11.0 to < 1.11.5 · Fixed in 1.11.5 | affected | ||
Nuclei templates
1ProjectDiscoveryHIGHHashiCorp Consul/Consul Enterprise - Server-Side Request ForgeryCVSS 7.5
HashiCorp Consul and Consul Enterprise up to 1.9.16, 1.10.9, and 1.11 are susceptible to server-side request forgery. When redirects are returned by HTTP health check endpoints, Consul follows these HTTP redirects by default. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
Impact
Successful exploitation of this vulnerability could allow an attacker to send crafted requests to internal resources, leading to unauthorized access or information disclosure.
Remediation
1) HTTP + interval health check configuration provides a disable_redirects option to prohibit this behavior. 2) Fixed in 1.9.17, 1.10.10, and 1.11.5.
Source: ProjectDiscovery