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
F13254917: D10957.diff
Sat, May 25, 3:54 AM
F13235209: D10957.diff
Tue, May 21, 4:27 AM
F13222511: D10957.id26311.diff
Sun, May 19, 3:43 AM
F13221945: D10957.id26324.diff
Sun, May 19, 3:11 AM
F13212679: D10957.diff
Fri, May 17, 6:58 AM
F13197424: D10957.diff
Mon, May 13, 12:10 AM
F13193629: D10957.id.diff
Sun, May 12, 4:06 PM
F13190865: D10957.id26324.diff
Sat, May 11, 2:46 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.