Commit c9898d2
[SECURITY] Prevent unauthorized record move via DataHandler
With #106220, the DataHandler `moveRecord()` function has
been refactored and access checks have been simplified. One
access check has however been forgotten during the process
leading to unauthorized movement of records.
With this change, the missing check in DataHandler
`moveRecord()` function has been re-added, so it is now
checked again, if a user has edit permissions on the source
page when moving a record to another page.
Resolves: #108758
Related: #106220
Releases: main, 14.3, 13.4
Change-Id: I95a061ab68111b879c34d51bfbe76cfdf5a64be7
Security-Bulletin: TYPO3-CORE-SA-2026-012
Security-References: CVE-2026-47350
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/94413
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>1 parent 9f17a30 commit c9898d2
3 files changed
Lines changed: 91 additions & 0 deletions
File tree
- typo3/sysext/core
- Classes/DataHandling
- Tests/Functional/DataHandling/DataHandler
- DataSet
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4489 | 4489 | | |
4490 | 4490 | | |
4491 | 4491 | | |
| 4492 | + | |
| 4493 | + | |
| 4494 | + | |
| 4495 | + | |
| 4496 | + | |
4492 | 4497 | | |
4493 | 4498 | | |
4494 | 4499 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 69 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments