Page MenuHomePhabricator

Add some missing capability checks for repository mirror edits
ClosedPublic

Authored by epriestley on Dec 10 2014, 5:04 PM.
Tags
None
Referenced Files
F18875040: D10957.id.diff
Wed, Nov 5, 4:35 PM
F18869260: D10957.diff
Tue, Nov 4, 10:43 AM
F18835678: D10957.id26324.diff
Sun, Oct 26, 5:57 PM
F18831285: D10957.id26311.diff
Sat, Oct 25, 12:08 PM
F18785736: D10957.id.diff
Oct 14 2025, 10:37 AM
F18681354: D10957.diff
Sep 26 2025, 4:25 AM
F18671753: D10957.diff
Sep 25 2025, 5:06 AM
F18623746: D10957.diff
Sep 15 2025, 5:27 PM
Subscribers

Details

Summary

Via HackerOne. These endpoints have insufficient policy checks.

Test Plan

Verified endpoints now check policies correctly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add some missing capability checks for repository mirror edits.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.

The underlying edit check in the Editor prevents this from being materially bad. An attacker could remove a mirror (annoying), but can't add or edit a mirror (which would have been severe).

btrahan edited edge metadata.
This revision is now accepted and ready to land.Dec 10 2014, 9:29 PM
This revision was automatically updated to reflect the committed changes.