#20381Shortcut icon maps to wrong URL
Description
If page.shortcutIcon is set, TYPO3 adds the following code to the header of the website:
<link rel=“shortcut icon” href=“http://typo3-site-url/fileadmin/…/favicon.ico” />
<link rel=“icon” href=“http://typo3-site-url/fileadmin/…/favicon.ico” />
However, the site URL can be be spoofed by a potential attacker:
1. Update /etc/hosts so that your evil domain points to the IP of the target server
2. Wait until the cache is cleared or times out (24h by default)
3. Request the website via your evil domain, and make sure to be the first one
Result: The cached website contains a reference to http://www-your-evil-domain.com/fileadmin/…/favicon.ico, so you get notice of every client that request the target website.
(issue imported from #M11015)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.