Sudo vulnerability
21–30 of 60 posts
Re: Sudo vulnerability
#22Sudo has too much surface area for a suid utility IMHO, unnecessary pile of features, config parsing, etc. I still just use `su` with the wheel group membership executable requirement for gaining root privileges from my regular user. But sudo has become quite entrenched, almost every software deployment guide I see expects sudo, many scripts outright break on the assumption of sudo being present. Do you know the list…
However we still want to know what's going on, and sudo fires back a message to syslog with who did it and what they did. Far more useful than "joebloggs went to root at 03:14 and logged out at 09:15"
Re: Sudo vulnerability
#23Earlier quoted context omitted.
I googled the writer name ( Daniel Elkabes, Lead Security Researcher ) Found his Linkedin and sent him a screenshoot of your feedback That's the kind of feedback that can improve the writing skill of the author Edit: Now I'm actually thinking that not every person know how to accept negative feedback and see it as something positve I know that I would like to see this feedback if I was the author so I felt like sendi…
You should be safe to assume anyone sitting in a lead role should be very comfortable with negative feedback, I'd not stress.
Re: Sudo vulnerability
#24How can bugs like this be prevented? Is Linix/Unix "sudo" security model simply flawed?
Also I am not sure how rust solves this bug, I don't think it's about memory safety is it? This is about passing -1 from a config file to a syscall, and sudo not validating the value or it being written without the understanding of what -1 means to that syscall. Nothing is mis-parsed, no buffers overflowed, etc.
Re: Sudo vulnerability
#25How can bugs like this be prevented? Is Linix/Unix "sudo" security model simply flawed?
Not rust, but the OpenBSD folks wrote doas(1). Also I am not sure how rust solves this bug, I don't think it's about memory safety is it? This is about passing -1 from a config file to a syscall, and sudo not validating the value or it being written without the understanding of what -1 means to that syscall. Nothing is mis-parsed, no buffers overflowed, etc.
Giving the benefit of the doubt I think this was in jest
edit: comment history confirms
Re: Sudo vulnerability
#26How can bugs like this be prevented? Is Linix/Unix "sudo" security model simply flawed?
Re: Sudo vulnerability
#27Re: Sudo vulnerability
#28How can bugs like this be prevented? Is Linix/Unix "sudo" security model simply flawed?
Re: Sudo vulnerability
#29How can bugs like this be prevented? Is Linix/Unix "sudo" security model simply flawed?
Not rust, but the OpenBSD folks wrote doas(1). Also I am not sure how rust solves this bug, I don't think it's about memory safety is it? This is about passing -1 from a config file to a syscall, and sudo not validating the value or it being written without the understanding of what -1 means to that syscall. Nothing is mis-parsed, no buffers overflowed, etc.
Re: Sudo vulnerability
#30How should Mac OS users update sudo?