2 ms·
I'm aware, but the in the end that's a relatively uncommon configuration, and would still usually require the users password increasing difficulty of exploitati
by ryanlol 9y ago
I'm aware, but the in the end that's a relatively uncommon configuration, and would still usually require the users password increasing difficulty of exploitation even further.
Not only that, but in my experience people tend to screw up these setups most of the time allowing easy root shells without sudo vulns.
- wyldfire 9y ago> usually require the users password increasing difficulty of exploitation even further. Unless the user themselves is the perpetrator. They know their own password and the superuser believes that the system restrictions will grant them only the limited access that they specified.
- SteveNuts 9y agoAre you saying that granting limited sudo access to only specific programs is rare? That's the standard way to do it in every large enterprise, you just don't grant sudo all. Only in the cloud space is the "sudo all nopasswd" a thing (ubuntu user on AWS).
- rkeene2 9y agoUnless you are very particular about the commands added, most configurations end up being equivariant to ALL. Some examples I've seen: ip, less, vi, tar, cp, mv, mount, chmod, chown, zip, mysql, dd, ... Any of those and many many more allow for trivial jumping to any command as the target user and you're not improving your security posture compared to ALL, though you make some work harder and some mistakes less likely.