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
F13190865: D10957.id26324.diff
Sat, May 11, 2:46 PM
F13182217: D10957.id26311.diff
Thu, May 9, 9:11 PM
F13179911: D10957.diff
Wed, May 8, 9:32 PM
Unknown Object (File)
Sat, May 4, 7:14 PM
Unknown Object (File)
Wed, May 1, 12:30 AM
Unknown Object (File)
Sun, Apr 28, 5:25 AM
Unknown Object (File)
Tue, Apr 16, 5:28 AM
Unknown Object (File)
Apr 5 2024, 12:49 AM
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.