Issue Task Closed

#99347Add HTTP host header injection check to reports module

Oliver Hader 12/12/22, 12:21 updated 02/08/23, 16:06

Description

In case the web server scenario is not properly configured to deny
HTTP host header injection, and the trustedHostsPattern is not explic
enough, an corresponding check in the reports module will issue
an error message like

  • HTTP_HOST contained unexpected “a0a3aa2f59.random.example.org”
  • SERVER_NAME contained unexpected “a0a3aa2f59.random.example.org”

Using the configuration directive UseCanonicalName On for Apache
web server environments mitigates the risk.

This is related to a side note in https://typo3.org/security/advisory/typo3-core-sa-2014-001
which introduced the trustedHostsPattern configuration.

Reviews 6