Advisory

GHSA-m2jh-fxw4-gphm

Also known as: BIT-typo3-2021-41114, CVE-2021-41114

Summary

HTTP Host Header Injection

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-10-05 20:23 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

typo3/cms-core

Packagist · All systems

Affected

  • introduced 11.0.0, fixed 11.5.0 (ecosystem)

Fixed versions

11.5.0

Fix

The export has no generic command for this ecosystem.

typo3/cms

Packagist · All systems

Affected

  • introduced 11.0.0, fixed 11.5.0 (ecosystem)

Fixed versions

11.5.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences