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
F15524692: D10957.id26311.diff
Mon, Apr 21, 9:45 AM
F15524559: D10957.id26324.diff
Mon, Apr 21, 8:50 AM
F15516078: D10957.id.diff
Fri, Apr 18, 3:58 PM
F15512841: D10957.diff
Thu, Apr 17, 2:25 PM
F15485987: D10957.diff
Thu, Apr 10, 4:07 AM
F15378269: D10957.id.diff
Mar 13 2025, 1:31 PM
F15343138: D10957.id.diff
Mar 9 2025, 10:13 PM
F15343136: D10957.diff
Mar 9 2025, 10:13 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.