*** This bug is a security vulnerability ***

You have been subscribed to a public security bug by Marc Deslauriers 
(mdeslaur):

Being logged in inside a container that was created with the lxc-sshd
template the mount of $rootfs/sbin/init allows to modify the init script
of the container. So harm could be done to the host system at the next
execution of lxc-start or lxc-create -t sshd. This can be used to gain
root access since lxc is likely to be run by root.

-lxc.mount.entry=@LXCTEMPLATEDIR@/lxc-sshd $rootfs/sbin/init none bind 0 0
+lxc.mount.entry=@LXCTEMPLATEDIR@/lxc-sshd $rootfs/sbin/init none ro,bind 0 0

(see https://github.com/dotcloud/lxc/pull/1)

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Security bugfix in lxc-sshd template: add ro to the init-script
https://bugs.launchpad.net/bugs/1261045
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to the bug report.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to