Typo3 Open Redirect In Frontend Rendering
Published 17 May 2022 · Updated 30 Nov 2024
Affected packages
- Affected
- >=4.5.0 <4.5.39
- Fixed in
- 4.5.39
composer require typo3/cms:^4.5.39- Affected
- >=4.6.0 <6.2.9
- Fixed in
- 6.2.9
composer require typo3/cms:^6.2.9- Affected
- >=7.0.0 <7.0.2
- Fixed in
- 7.0.2
composer require typo3/cms:^7.0.2Details
The frontend rendering component in TYPO3 4.5.x before 4.5.39, 4.6.x through 6.2.x before 6.2.9, and 7.x before 7.0.2, allows remote attackers to change URLs to arbitrary domains.
An attacker could forge a request which modifies anchor only links on the homepage of a TYPO3 installation such that they point to arbitrary domains, if the configuration option config.prefixLocalAnchors is used with any possible value. TYPO3 versions 4.6.x and higher are only affected if the homepage is not a shortcut to a different page. As an additional pre-condition, URL rewriting must be enabled in the web server (which it typically is) when using extensions like realurl or cooluri.
Installations where config.absRefPrefix is additionally set to any value are not affected by this vulnerability.
Example of affected configuration:
config.absRefPrefix =
config.prefixLocalAnchors = all
page = PAGE
page.10 = TEXT
page.10.value = <a href="#skiplinks">Skiplinks</a>
.htaccess:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L] Is GHSA-v6xv-rmqc-wcc8 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-9508
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2014-9508.yaml
- Linktypo3.org/security/advisory/typo3-core-sa-2014-003
- Linklists.opensuse.org/opensuse-updates/2016-08/msg00106.html
- Linktypo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2014-003
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.