Anyone who sees Copy Fail and chooses to focus on the way the example exploit happens to gain root is just showing how unimaginative they are. In the pre-container hype era, the sysadmin where I used to work gave us write access to nginx.conf on work machines to facilitate development. I used it in pair with an XSLT template to gain root access, so I could install things without having to go through the sysadmin - al…
Wait nginx ran as root?
Podman rootless containers and the Copy Fail exploit
11–20 of 27 posts
Re: Podman rootless containers and the Copy Fail exploit
#12Earlier quoted context omitted.
Wait nginx ran as root?
Long ago in Linux if you wanted to listen on a privileged port (< 1024) you had to do so as root.
Re: Podman rootless containers and the Copy Fail exploit
#13Time for Micro VMs, they're a stronger security boundary (not perfect, stronger)
Re: Podman rootless containers and the Copy Fail exploit
#14I just don't trust the Linux kernel to effectively isolate processes anymore. Don't care if you're using user namespaces, seccomp, etc. There will be a bug. Time for Micro VMs, they're a stronger security boundary (not perfect, stronger)
Re: Podman rootless containers and the Copy Fail exploit
#15I just don't trust the Linux kernel to effectively isolate processes anymore. Don't care if you're using user namespaces, seccomp, etc. There will be a bug. Time for Micro VMs, they're a stronger security boundary (not perfect, stronger)
You can't really do anything useful with a VM either unless you start punching holes in those boundaries.
Re: Podman rootless containers and the Copy Fail exploit
#16Earlier quoted context omitted.
You can't really do anything useful with a VM either unless you start punching holes in those boundaries.
I didn't say run in an air-gapped VM... Just as a means to better isolate the workloads I have running (some less trusted than others). Network connectivity and the associated vulnerabilities obviously remain.
Re: Podman rootless containers and the Copy Fail exploit
#17It's self-evident that we should only run containers that haven't been pwned yet.
I suspect that with all of the CVE-20XX exploits, Heartbleed, Meltdown, Rowhammer, Spectre, etc, that we're all living in a fantasy and there simply are no secure containers.
Re: Podman rootless containers and the Copy Fail exploit
#18I just don't trust the Linux kernel to effectively isolate processes anymore. Don't care if you're using user namespaces, seccomp, etc. There will be a bug. Time for Micro VMs, they're a stronger security boundary (not perfect, stronger)
Re: Podman rootless containers and the Copy Fail exploit
#19I just don't trust the Linux kernel to effectively isolate processes anymore. Don't care if you're using user namespaces, seccomp, etc. There will be a bug. Time for Micro VMs, they're a stronger security boundary (not perfect, stronger)
You can't really do anything useful with a VM either unless you start punching holes in those boundaries.
If your VM can't do anything, it's probably not very useful.
Doing things meaning reading / writing files, communicating between VMs, services, etc.