Awww. I was just about to gloat about Slackware avoiding another round of security holes due to its long avoidance of PAM, but it got introduced in 2020. :-( It looks like some software projects are now entirely reliant upon PAM for authentication and don't support shadow passwords anymore. What a travesty. It's sort of like what happened with Systemd, where so many apps now entirely depend on Systemd, you can't run…
> reliant upon PAM for authentication and don't support shadow passwords PAM supports a shadow password file as its default configuration. Did you mean something else?
New Linux udisks flaw lets attackers get root on major Linux distros
191–200 of 287 posts
Re: New Linux udisks flaw lets attackers get root on major Linux distros
#192Another case of environment variables causing LPE. Wonder if we'll ever end up with something more robust for passing details between processes than parsing ambient settings from strings.
NO, this is NOT environment variables. It's the wrong argument to a tool, but the suid part has nothing to do with environment variables or cleaning the env up. PLEASE STOP SPREADING FUD.
Re: New Linux udisks flaw lets attackers get root on major Linux distros
#193Earlier quoted context omitted.
Local root privilege escalation is mostly irrelevant these days. It’s only useful as part of an exploit chain, really. It’s not like shell servers are still around.
this type of exploits are goldmines for attackers, it means they have a window of a few month to years to turn any basic access into root. It doesn't have to be a super complex exploit chain, anyone running wordpress botnets it going to add this to their arsenal
Re: New Linux udisks flaw lets attackers get root on major Linux distros
#194Re: New Linux udisks flaw lets attackers get root on major Linux distros
#195Local privesc, don't care. If anyone still thinks that they can draw a security boundary anywhere with a shared kernel, they should really look at kernel CVE database (and be horrified). For every fancy titled exploit there are twenty that you've never heard of. You can sort of do it if you carefully structure your program to restrict syscall use and then use some minimal and well audited syscall filtering layer to h…
And of course collocating different classes of work can lead to a bug in a low priority task taking down a high priority one. So those also shouldn’t run in the same partition. Once you’ve taken both of those into account, you’ve already added some security in depth. It’s hard even to escalate a remote exploit into a privilege escalation into attacking a more lucrative neighbor.
Re: New Linux udisks flaw lets attackers get root on major Linux distros
#196Earlier quoted context omitted.
NO, this is NOT environment variables. It's the wrong argument to a tool, but the suid part has nothing to do with environment variables or cleaning the env up. PLEASE STOP SPREADING FUD.
Relax, someone else already explained it without shouting.
Worrying when said person has authored a widely used security product(!). This is a bad trend in the industry that needs to stop.
Re: New Linux udisks flaw lets attackers get root on major Linux distros
#197Earlier quoted context omitted.
It's incredible to me that sudo has that many LoC. I'd assume it would just ask the OS to execute something without restrictions, not have any logic to do so itself.
There is no such API on Linux, it is accomplished by sudo having the setuid bit set, which instructs the kernel to start it as root regardless of the current user. It's probably one of the worst legacy designs still in use - if any binary has setuid set, it runs as root, no questions asked. Conversely, you also have no way of elevating privileges for a running binary. This really should have been solved decades ago w…
Re: New Linux udisks flaw lets attackers get root on major Linux distros
#198Earlier quoted context omitted.
Most of our server infrastructure runs on illumos at $work. SmartOS/Triton handles our "cloud" and OmniOS runs our storage. The linux monoculture problem luckily can still be handled with zones and bhyve, and I do trust illumos developers' competence to deliver good quality secure software a lot more than linux developers' as well. Now if FreeBSD (or indeed illumos) would get CUDA-support we could stop using linux fo…
> Now if FreeBSD (or indeed illumos) would get CUDA-support we could stop using linux for GPU nodes too. Could you not run Linux CUDA binaries under FreeBSD's Linuxulator?
[0] https://www.freebsd.org/status/report-2024-04-2024-06/#_part...
Re: New Linux udisks flaw lets attackers get root on major Linux distros
#199Earlier quoted context omitted.
> if any binary has setuid set, it runs as root More precisely, it runs as the file owner. Which is often root.
For anyone thinking this is unnecessarily pedantic, it’s not. I didn’t exactly know what setuid did. I learned something today. :)
Re: New Linux udisks flaw lets attackers get root on major Linux distros
#200Earlier quoted context omitted.
> anyone still thinks that they can draw a security boundary anywhere with a shared kernel Containers are everywhere.
They don't work as reliable security boundaries; they're developer/ops tools.
I'm sure you're well aware, but for the readers, they are isolated with a CPU's VT instructions which are built to isolate VMS. I still think "containers don't contain" in a very Dan Walsh boston accent, but this seems like a respectable start.