HexBrain

Phabricator · Report #1584409

Deprecated owners.query API bypasses object view policy

Validstatus
$300bounty
7upvotes
31 May 2022disclosed

How it was found

The deprecated owners.query API does not check object view policy. A user is able to view some information about an owner package which they do not have permission to see by calling this API. Since the API is deprecated, it could just be removed.

Impact

An attacker is able to view some information about an owner package that they should not be able to see. Including, name, description, owner PHIDs, and repository PHIDs, and a path (which may be a path that belongs to a restricted repository).

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original