Typo3 Vulnerable to Cache Poisoning
High severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Aug 16, 2023
Package
Affected versions
>= 4.5.0, < 4.5.39
>= 6.2.0, < 6.2.9
>= 7.0.0, < 7.0.2
>= 4.6.0, <= 4.6.18
>= 4.7.0, <= 4.7.20
>= 6.0.0, <= 6.0.14
>= 6.1.0, <= 6.1.12
Patched versions
4.5.39
6.2.9
7.0.2
4.6.19
4.7.21
6.0.15
6.1.13
Description
Published by the National Vulnerability Database
Jan 4, 2015
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Aug 16, 2023
Last updated
Aug 16, 2023
Problem Description: A request URL with arbitrary arguments, but still pointing to the home page of a TYPO3 installation can be cached if the configuration option
config.prefixLocalAnchors
is used with the values "all" or "cached". The impact of this vulnerability is that unfamiliar looking links to the home page can end up in the cache, which leads to a reload of the page in the browser when section links are followed by web page visitors, instead of just directly jumping to the requested section of the page. TYPO3 versions 4.6.x and higher are only affected if the homepage is not a shortcut to a different page.Solution: Removing the configuration options
config.prefixLocalAnchors
(and optionally also config.baseUrl) in favor ofconfig.absRefPrefix
Credits: Thanks to Gernot Leitgab who discovered and reported the vulnerability.
References