Re:Debian/Ubuntu privilege escalation PoC exploit for CVE-20...
by GoblinSlayer on Wednesday March 27, 2024 @08:08AM
(#39837982)
AIU the cause is Netfilter API that doesn't sanitize its input, because only root can call it, so there is no need to sanitize. Then unprivileged user namespaces open all root API to unprivileged user, so nonsanitizing Netfilter API became available to unprivileged user.
Re:Debian/Ubuntu privilege escalation PoC exploit for CVE-20...
by 1oooqooq on Thursday March 28, 2024 @04:48AM
(#39848944)
that's my point. why from a point users didn't have access to netfiltet now gives users access to netfilter? from a command which should be adding more restraint no less.
also people focus on this only being a problem now with priv escalation... but all that was always a problem before unprivileged containers... by allowing container code to exploit host kernel code, but nobody called it a privilege escalation then because you started your container as root. sigh.
the problem is that containers require tons of hacks on the network side to just-work. and docker main selling point is all the usafe hacks it does for it.
so obviously, any container solution will adopt these hacks eventually, and there is the problem.
you end up with a perfectly sane namespace functionality that removes access, but then the kernel opens the gate because network hacks are good