News for hackers. Stuff that matters.
Re:Dot Dot Considered Harmful by cyphar on Wednesday November 28, 2018 @07:35PM (#18557116)
You don't need read access to all parents (on Linux and BSDs at least) -- a privileged can pass a dirfd to a less privileged process and that process can access paths under that dirfd without any permission checks being done for parent directories of the dirfd.
Re:Dot Dot Considered Harmful by nine_k on Wednesday November 28, 2018 @07:46PM (#18557195)
This is correct. But this is not traversing a path, or even knowing it.
Re:Dot Dot Considered Harmful by loeg on Wednesday November 28, 2018 @10:15PM (#18557746)
The comment was refuting the claim, "where you need read access to all of the parents to access a child directory."