1. CVE archive
  2. 2014
  3. CVE-2014-5206

CVE-2014-5206

7.2 High severity CVSS v2.0 · source NVD AV:L/AC:L/Au:N/C:C/I:C/A:C 7.2 – High

Description

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 products

VendorProductVersionPlatform
canonical ubuntu linux 12.04 –
canonical ubuntu linux 14.04 –
linux linux kernel >= 3.8 < 3.10.55 –
linux linux kernel >= 3.11 < 3.12.27 –
linux linux kernel >= 3.13 < 3.14.19 –
linux linux kernel >= 3.15 < 3.16.3 –
All 24,148 Linux Kernel vulnerabilities

Vulnerability type

CWE-269 Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity

How to prevent it

Architecture and Design · Operation Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and Design · Separation of Privilege Follow the principle of least privilege when assigning access rights to entities in a software system.
Architecture and Design · Separation of Privilege Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

All 4,417 CWE-269 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org