Review 13.4 Merged

95719[SECURITY] Check page access in the localization endpoints

Benjamin Franzke CR +2 V +2 Normal +123 −0 updated 09/08/26, 09:26

Commit message

None of the three localization AJAX endpoints verified that the backend
user may access the page the records live on. getUsedLanguagesInPage()
and getRecordLocalizeSummary() therefore answered for any backend user
with access to the page module, disclosing the languages of a page and
the titles, uids and backend layout columns of its content records.
localizeRecords() kept DataHandler as the authority for the write and
gains the check as a second barrier only.

All three now apply the same rule and answer 403 for a page the user
may not see.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2

Issues 1

Files 4

Review log 23

  1. Benjamin Franzke uploaded patch set 1 09/08/26, 09:07

    Auto-approved
  2. Benjamin Franzke merged patch set 2 09/08/26, 09:07

  3. core-ci voted on patch set 1 V +1 09/08/26, 09:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108072