CVE-2018-14774: Symfony HttpKernel - Host Header Injection
- Cve: CVE-2018-14774
- Name: Symfony HttpKernel - Host Header Injection
- Description: An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Impact: Attackers can manipulate host headers, potentially leading to cache poisoning or redirect attacks.
- Remediation: Update to the latest patched versions of Symfony or apply security patches addressing this issue.
- Vulnerability type: host_header_injection
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Epss score: 0.01115
- Epss percentile: 0.66879
- Assignee: [email protected]
- Published at: 2018-08-03T17:29:00Z
- Age in days: 3035
- Modified at: 2026-06-17T01:41:36Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-14774
- 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: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a | nvd | Issue Tracking, Patch, Third Party Advisory |
| https://symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sensiolabs:symfony | >= 4.1.0, <= 4.1.2; >= 4.0.0, <= 4.0.13; >= 3.4.0, <= 3.4.13; >= 3.3.0, <= 3.3.17; >= 2.8.0, <= 2.8.43; >= 2.7.0, <= 2.7.48 | no | nvd | /v1/products/sensiolabs/symfony |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| symfony/symfony | commit, fix, package | yes | /v1/repositories/symfony/symfony |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 168779
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports