Vulnerability · Published Oct 5, 2021 · Assigned by GitHub_M
CVE-2021-41114HTTP Host Header Injection in Request Handling in Typo3
Medium 4.8
In plain English
A medium-severity improper input validation in typo3 from TYPO3. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | typo3/cms | 11.5.0 | GHSA-m2jh-fxw4-gphm |
| Packagist | typo3/cms-core | 11.5.0 | GHSA-m2jh-fxw4-gphm |
Affected products (as reported)
Weakness: CWE-20, CWE-644 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
References
- https://github.com/TYPO3/typo3/security/advisories/GHSA-m2jh-fxw4-gphm x_refsource_CONFIRM
- https://github.com/TYPO3/typo3/commit/5cbff85506cebe343e5ae59228977547cf8e3cf4 x_refsource_MISC
- https://typo3.org/security/advisory/typo3-core-sa-2021-015 x_refsource_MISC