MediumGHSA-jxm3-pmm2-9gf6
Craft CMS has Permission Bypass and IDOR in Duplicate Entry Action
Affected versions
5.0.0-RC1 to before 5.9.0-beta.1, 4.0.0-RC1 to before 4.17.0-beta.1 - fixed in 5.9.0-beta.1Details
## Description The "Duplicate" entry action does not properly verify if the user has permission to perform this action on the specific target elements. Even with only "View Entries" permission (where the "Duplicate" action is restricted in the UI), a user can bypass this restriction by sending a direct request. Furthermore, this vulnerability allows duplicating **other users' entries** by specifying their Entry IDs. Since Entry IDs are incremental, an attacker can trivially brute-force these IDs to duplicate and access restricted content across the system. ## Proof of Concept ### Prerequisit
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected