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

 

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

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


Vulnerability identifier: #VU41395
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-5207
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local #AU# to execute arbitrary code.

fs/namespace.c in the Linux kernel through 3.16.1 does not properly restrict clearing MNT_NODEV, MNT_NOSUID, and MNT_NOEXEC and changing MNT_ATIME_MASK during a remount of a bind mount, which allows local users to gain privileges, interfere with backups and auditing on systems that had atime enabled, or cause a denial of service (excessive filesystem updating) on systems that had atime disabled 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-5207

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

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins