Page MenuHomePhabricator

Prevent a repository from being set to the same "local path" as some other repository
Closed, ResolvedPublic

Description

This is no longer a security issue, but it would still be vaguely nice to prevent several repositories from being mapped to the same local path. Nothing good can ever come of such a setup.


Previously...

An attacker with "Create Repository" permission can theoretically access repositories they are not permitted to view by creating a repository with the same local path as another repository.

Event Timeline

epriestley claimed this task.
epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added projects: Security, Diffusion.
epriestley added a subscriber: epriestley.

I think we need to lock "Local Path" from the web UI in general, since I can point it somewhere outside of the repo directory to read non-managed repositories.

epriestley edited this Maniphest Task.
epriestley lowered the priority of this task from Normal to Wishlist.Nov 13 2013, 7:30 PM
epriestley updated the task description. (Show Details)
epriestley removed a project: Security.
eadler added a project: Restricted Project.Apr 8 2016, 6:40 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 8 2016, 6:40 PM

D15837 appears to have deployed cleanly here.