CVE-2023-27487: Envoy - Host Header Injection
- Cve: CVE-2023-27487
- Name: Envoy - Host Header Injection
- Description: Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9, the client may bypass JSON Web Token (JWT) checks and forge fake original paths. The header `x-envoy-original-path` should be an internal header, but Envoy does not remove this header from the request at the beginning of request processing when it is sent from an untrusted client. The faked header would then be used for trace logs and grpc logs, as well as used in the URL used for `jwt_authn` checks if the `jwt_authn` filter is used, and any other upstream use of the x-envoy-original-path header. Attackers may forge a trusted `x-envoy-original-path` header. Versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9 have patches for this issue.
- Impact: Attackers can forge trusted headers, bypass JWT authentication, and manipulate logs or upstream URL processing, potentially leading to unauthorized access or data tampering.
- Remediation: Update to version 1.26.0, 1.25.3, 1.24.4, 1.23.6, or 1.22.9 with patches for this issue.
- Vulnerability type: host_header_injection
- Vulnerability impact: data_tampering, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00636
- Epss percentile: 0.51425
- Assignee: [email protected]
- Published at: 2023-04-04T16:15:07Z
- Age in days: 1330
- Modified at: 2026-06-17T05:45:18Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-27487
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-noinfo | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/envoyproxy/envoy/security/advisories/GHSA-5375-pq35-hf2g | nvd | 2023-04-04 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/envoyproxy/envoy/security/advisories/GHSA-5375-pq35-hf2g | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| envoyproxy:envoy | >= 1.25.0, < 1.25.3; >= 1.24.0, < 1.24.4; >= 1.23.0, < 1.23.6; < 1.22.9 | no | nvd | /v1/products/envoyproxy/envoy |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| envoyproxy/envoy | security_advisory | yes | /v1/repositories/envoyproxy/envoy |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-04-04
- Remote: yes
- Exposed hosts: 345830
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports