Bug #93335
closedXSS in access permission module
100%
Description
Steps¶
- having
be_groups.title
containing XSS
Group<img src="x" onerror="alert(1)">
- open
System > Access
module for a particular page - click on groupname element
- change to group containing XSS in title (prerequisite) & save
- click on groupname element again
- change to different group
- click on "x" icon in order to revert change
XSS is executed
Reasons¶
buttonSelector.innerHTML = groupnameHtml;
Updated by Oliver Hader almost 4 years ago
- Affected Version set to master, 11.1-dev
Seems like this was introduced with https://review.typo3.org/c/Packages/TYPO3.CMS/+/67457/6/Build/Sources/TypeScript/beuser/Resources/Public/TypeScript/Permissions.ts#51
- v11.1-dev (master only)
- not released
Updated by Oliver Hader almost 4 years ago
- Related to Task #93301: Remove jQuery from Permissions module added
Updated by Oliver Hader almost 4 years ago
It seems this change was not released yet - I also could not reproduce the behavior in TYPO3 v10.
Given my assumptions are correct, this vulnerability can be fixed using the regular public workflow.
Updated by Andreas Kienast almost 4 years ago
- Project changed from 1716 to TYPO3 Core
- Category deleted (
OW-A07: Cross Site Scripting) - Reporter deleted (
Guido Schmechel) - OTRS-Sec Ticket-ID deleted (
2021012010000027) - Affected Version deleted (
master, 11.1-dev)
After talking with Olly, this issue becomes public as this affects the development branch only.
Updated by Andreas Kienast almost 4 years ago
- Status changed from Accepted to In Progress
Updated by Gerrit Code Review almost 4 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67508
Updated by Gerrit Code Review almost 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67508
Updated by Gerrit Code Review almost 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67508
Updated by Gerrit Code Review almost 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67508
Updated by Andreas Fernandez almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4e3c5f56bbc6cbd23ac668584cd359fe63e3b82a.