4.8medium
HTTP Host Header Injection in Request Handling in Typo3
- Severity
- 4.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.22% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-m2jh-fxw4-gphmBIT-TYPO3-2021-41114
Description
TYPO3 is an open source PHP based web content management system released under the GNU GPL. It has been discovered that TYPO3 CMS is susceptible to host spoofing due to improper validation of the HTTP Host header. TYPO3 uses the HTTP Host header, for example, to generate absolute URLs during the frontend rendering process. Since the host header itself is provided by the client, it can be forged to any value, even in a name-based virtual hosts environment. This vulnerability is the same as described in TYPO3-CORE-SA-2014-001 (CVE-2014-3941). A regression, introduced during TYPO3 v11 development, led to this situation. The already existing setting $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] (used as an effective mitigation strategy in previous TYPO3 versions) was not evaluated anymore, and reintroduced the vulnerability.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| TYPO3 typo3 | >= 11.0.0, < 11.5.0, from 11.0.0 before 11.5.0 | CVE List, NVD |
| typo3/cms-core (Packagist) | from 11.0.0 before 11.5.0 | GitHub Advisory Database |
| typo3/cms (Packagist) | from 11.0.0 before 11.5.0 | GitHub Advisory Database |
| typo3 (Bitnami) | from 11.0.0 before 11.5.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
TYPO3 is an open source PHP based web content management system released under the GNU GPL. It has been discovered that TYPO3 CMS is susceptible to host spoofing due to improper validation of the HTTP Host header. TYPO3 uses the HTTP Host header, for example, to generate absolute URLs during the frontend rendering process. Since the host header itself is provided by the client, it can be forged to any value, even in a name-based virtual hosts environment. This vulnerability is the same as described in TYPO3-CORE-SA-2014-001 (CVE-2014-3941). A regression, introduced during TYPO3 v11 development, led to this situation. The already existing setting $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] (used as an effective mitigation strategy in previous TYPO3 versions) was not evaluated anymore, and reintroduced the vulnerability.
GitHub Advisory Database
Meta
- CVSS:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:F/RL:O/RC:C(3.5)
Problem
It has been discovered that TYPO3 CMS is susceptible to host spoofing due to improper validation of the HTTP Host header. TYPO3 uses the HTTP Host header, for example, to generate absolute URLs during the frontend rendering process. Since the host header itself is provided by the client, it can be forged to any value, even in a name-based virtual hosts environment.
This vulnerability is the same as described in TYPO3-CORE-SA-2014-001 (CVE-2014-3941). A regression, introduced during TYPO3 v11 development, led to this situation. The already existing setting $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] (used as an effective mitigation strategy in previous TYPO3 versions) was not evaluated anymore, and reintroduced the vulnerability.
Solution
Update your instance to TYPO3 version 11.5.0 which addresses the problem described.
Credits
Thanks to TYPO3 framework merger Benjamin Franzke who reported and fixed the issue.
References
- TYPO3-CORE-SA-2021-015
- CVE-2014-3941 reintroduced in TYPO3 v11.0.0
NVD (es)
TYPO3 es un sistema de administración de contenidos web de código abierto basado en PHP y publicado bajo la licencia GNU GPL. Se ha detectado que el CMS TYPO3 es susceptible a la suplantación de host debido a una comprobación inapropiada del encabezado HTTP Host. TYPO3 usa el encabezado HTTP Host, por ejemplo, para generar URLs absolutas durante el proceso de renderización del frontend. Dado que el propio encabezado de host es proporcionado por el cliente, puede ser falsificado a cualquier valor, incluso en un entorno de hosts virtuales basados en nombres. Esta vulnerabilidad es la misma que se describe en TYPO3-CORE-SA-2014-001 (CVE-2014-3941). Una regresión, introducida durante el desarrollo de TYPO3 v11, conllevó a esta situación. El ajuste ya presente $GLOBALS["TYPO3_CONF_VARS"]["SYS"]["trustedHostsPattern"] (usado como una estrategia de mitigación eficaz en las versiones anteriores de TYPO3) ya no es evaluado, y reintrodujo la vulnerabilidad
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41114 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m2jh-fxw4-gphm changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-41114 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-TYPO3-2021-41114 changed 2024-03-06 | Apache-2.0 |