Re:List of Unix binaries that can be used to bypass local se...
by salawat on Friday July 07, 2023 @05:57AM
(#36629465)
....except it isn't if you set up the git user with authorized_keys (user public key), and set the login shell for the system git user to nologin.
Congratulations. Git without bash. Unless there's another escape I'm not aware of.
Re:List of Unix binaries that can be used to bypass local se...
by feldrim on Friday July 07, 2023 @08:29AM
(#36630691)
And that is the whole idea of having a list like this. These tools by default have some capabilities which can easily be executable. You need to mitigate each of those. Because they are insecure by default.
Allowing any user $(git) access is as powerful as providing the user a $(bash)
Suppose you've got a build pipeline. The pipeline executes $(zip) at some point. Executing zip is as powerful as providing any of the pipelines users a $(bash).