Privilege escalation vulnerability caused by new features of GNU/Linux Kernel

Source: Internet
Author: User

Sebastian Krahmer, SUSE Security Research Member, announced the GNU/Linux kernel Elevation of Privilege Vulnerability. The recent GNU/Linux kernel (3.8 +) introduced a new feature to facilitate container implementation: user-namespaces (user-ns, CLONE_NEWUSER flag), this feature allows you to own a UID of 0, as a container for process isolation, this facilitates implementation, but it also brings related security risks. Specifically, if you mix this feature with CLONE_FS, the state of the file system will be shared between different containers (that is, processes, attackers can use this combination to obtain the root permission:

Only when the sub-process obtains its user-ns (user namespace), the parent process and the sub-process share the information of the file system (in this example, chroot is used ), using the chroot () system call in your user-ns and adding CLONE_FS to clone () directly affects the parent process, the parent process has the root permission when the user-ns is initialized, and exploit has been published here.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.