Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on toast.ooo

11 replies

If you use Omarchy, the most important takeaway is simple: update to 4.0.1.

Or just delete that racist shitware.

75
infosec.pub

Once more for the people in the back:

CONTAINERS ARE NOT A SECURITY BARRIER

If you are relying on the container system to isolate and protect the OS from containerized apps, you are wrong.

36
pawb.social

FWIW this isn't a container escape. It's just the distro shipping a shitty default that lets the users on the host access root.

21
NaibofTabrreply
infosec.pub

On affected Omarchy systems, this means that the default user and all processes launched in that user session have access to root.

Hmm, maybe I'm misunderstanding. Does "all processes launched in that user session" not include containerized apps?

2
equivocalreply
piefed.social

The issue is that the docker service runs as root and their defaults added the user to a group that allows them to control that service without sudo

So, the root filesystem can just be passed as a volume to a container and then do whatever you want from there.

6

OK, so if you can pass the host root filesystem to a container and then write files or execute code with root privileges on that filesystem, I would definitely consider that a container escape. You're executing arbitrary code on the host from within a container.

-1

The issue isn't that the containers have permissions they weren't assigned. It's that the system configuration allows any (host) user to make a container with any permissions, without sudo.

6

I ain't got enuff hardware for qubesos

Go go gadget rootless podman UID mapping and cgroups black magic!

3

You reached the end

Omarchy: Any User Process Can Escalate to Root | Spyke