Skip to content

CVE-2021-41114 HTTP Host Header Injection in Request Handling in Typo3

MediumCVSS 5.3 EPSS 1.2% PoC
Published
Updated
Exploit status
Proof-of-concept only
Technology
PHP

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
typo3 = >= 11.0.0, < 11.5.0; >= 11.0.0, < 11.5.0 11.5.0 Fixed
typo3/cms(Packagist) = v11.0.0; = v11.1.0; = v11.1.1; = v11.2.0 +6 more 11.5.0 Fixed
typo3/cms-core(Packagist) = v11.0.0; = v11.1.0; = v11.1.1; = v11.2.0 +6 more 11.5.0 Fixed

Affected products

ProductAffected versionsFixed in
typo3/cms-core(Packagist) >= 11.0.0, < 11.5.0 11.5.0
typo3/cms-core(Packagist) = v11.0.0 No fix listed
typo3/cms-core(Packagist) = v11.1.0 No fix listed
typo3/cms-core(Packagist) = v11.1.1 No fix listed
typo3/cms-core(Packagist) = v11.2.0 No fix listed
typo3/cms-core(Packagist) = v11.3.0 No fix listed
typo3/cms-core(Packagist) = v11.3.1 No fix listed
typo3/cms-core(Packagist) = v11.3.2 No fix listed
typo3/cms-core(Packagist) = v11.3.3 No fix listed
typo3/cms-core(Packagist) = v11.4.0 No fix listed
typo3/cms(Packagist) >= 11.0.0, < 11.5.0 11.5.0
typo3/cms(Packagist) = v11.0.0 No fix listed
typo3/cms(Packagist) = v11.1.0 No fix listed
typo3/cms(Packagist) = v11.1.1 No fix listed
typo3/cms(Packagist) = v11.2.0 No fix listed
typo3/cms(Packagist) = v11.3.0 No fix listed
typo3/cms(Packagist) = v11.3.1 No fix listed
typo3/cms(Packagist) = v11.3.2 No fix listed
typo3/cms(Packagist) = v11.3.3 No fix listed
typo3/cms(Packagist) = v11.4.0 No fix listed
typo3 >= 11.0.0, < 11.5.0 11.5.0
typo3 = >= 11.0.0, < 11.5.0 No fix listed

References