1. CVE archive
  2. 2008
  3. CVE-2008-2931

CVE-2008-2931

7.8 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – High

Description

The do_change_type function in fs/namespace.c in the Linux kernel before 2.6.22 does not verify that the caller has the CAP_SYS_ADMIN capability, which allows local users to gain privileges or cause a denial of service by modifying the properties of a mountpoint.

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 6.06 –
canonical ubuntu linux 7.04 –
canonical ubuntu linux 7.10 –
canonical ubuntu linux 8.04 –
debian debian linux 4.0 –
linux linux kernel < 2.6.22 –
novell suse linux enterprise desktop 10.0 sp1 –
novell suse linux enterprise desktop 10.0 sp2 –
novell suse linux enterprise server 10.0 sp1 –
novell suse linux enterprise server 10.0 sp2 –
opensuse opensuse >= 10.3 <= 11.0 –
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