Permissions, Privileges, and Access Controls in Linux kernel - CVE-2014-5206

 

Permissions, Privileges, and Access Controls in Linux kernel - CVE-2014-5206

Published: August 18, 2014 / Updated: August 10, 2020


Vulnerability identifier: #VU41394
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-5206
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The do_remount function in fs/namespace.c in the Linux kernel through 3.16.1 does not maintain the MNT_LOCK_READONLY bit across a remount of a bind mount, which allows local users to bypass an intended read-only restriction and defeat certain sandbox protection mechanisms via a "mount -o remount" command within a user namespace.


Affected software

Linux kernel
Amazon Linux AMI
Ubuntu
linux (Ubuntu package)
linux-lts-trusty (Ubuntu package)

How to mitigate CVE-2014-5206

Install update from vendor's website.

linux (Ubuntu package) - update to 3.13.0-34.60
linux-lts-trusty (Ubuntu package) - update to 3.13.0-34.60~precise1

External References

Related Security Bulletins