Phabricator · Report #38965
Phabricator Diffusion application allows unauthorized users to delete mirrors
Validstatus
$300bounty
3upvotes
9 Jan 2015disclosed
How it was found
I have succesfully reproduced this issue following these steps:
-
Creating a repository with an administrator user
-
Checking that my "guest" user hasn't access to the newly created repository:
-
However, the guest user does have access to delete the mirror:
You can review the lack of permission-checks in the file: applications/diffusion/controller/DiffusionMirrorDeleteController.php