-
Notifications
You must be signed in to change notification settings - Fork 646
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SECURITY] Prevent XSS with fe_users data in felogin/TSFE
Two occurrences allow to render data of the currently logged in frontend user that is not sanitized and thus allow XSS attacks by frontend users. 1. EXT:fe_login adds ###FEUSER_{fieldname}### for each field that exists in the fe_users DB table, which CAN be processed by TypoScript but is insecure by default. 2. config.USERNAME_substToken = <!--###USERNAME###--> sets the username dynamically, which is then insecure. Adding htmlspecialchars as a default configuration solves this problem. Resolves: #87053 Releases: master, 8.7, 7.6 Security-Commit: 7f7a326fc656360ffec71415d730e40df99d63a0 Security-Bulletin: TYPO3-CORE-SA-2018-008 Change-Id: I973e350b727d20d137dd70f755913d02e8f5644e Reviewed-on: https://review.typo3.org/59086 Reviewed-by: Oliver Hader <oliver.hader@typo3.org> Tested-by: Oliver Hader <oliver.hader@typo3.org>
- Loading branch information
Showing
3 changed files
with
109 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters