CVE Vulnerabilities

CVE-2011-4339

Incorrect Permission Assignment for Critical Resource

Published: Dec 15, 2011 | Modified: Feb 03, 2022
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
3.6 LOW
AV:L/AC:L/Au:N/C:N/I:P/A:P
RedHat/V2
4.7 MODERATE
AV:L/AC:M/Au:N/C:N/I:N/A:C
RedHat/V3
Ubuntu
LOW

ipmievd (aka the IPMI event daemon) in OpenIPMI, as used in the ipmitool package 1.8.11 in Red Hat Enterprise Linux (RHEL) 6, Debian GNU/Linux, Fedora 16, and other products uses 0666 permissions for its ipmievd.pid PID file, which allows local users to kill arbitrary processes by writing to this file.

Weakness

The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.

Affected Software

Name Vendor Start Version End Version
Ipmitool Ipmitool_project 1.8.11 (including) 1.8.11 (including)
Red Hat Enterprise Linux 5 RedHat OpenIPMI-0:2.0.16-16.el5 *
Red Hat Enterprise Linux 6 RedHat ipmitool-0:1.8.11-12.el6_2.1 *
Ipmitool Ubuntu hardy *
Ipmitool Ubuntu lucid *
Ipmitool Ubuntu maverick *
Ipmitool Ubuntu natty *
Ipmitool Ubuntu oneiric *
Ipmitool Ubuntu upstream *

Potential Mitigations

  • Run the code in a “jail” or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by the software.
  • OS-level examples include the Unix chroot jail, AppArmor, and SELinux. In general, managed code may provide some protection. For example, java.io.FilePermission in the Java SecurityManager allows the software to specify restrictions on file operations.
  • This may not be a feasible solution, and it only limits the impact to the operating system; the rest of the application may still be subject to compromise.
  • Be careful to avoid CWE-243 and other weaknesses related to jails.

References