ID CVE-2011-1022
Summary The cgre_receive_netlink_msg function in daemon/cgrulesengd.c in cgrulesengd in the Control Group Configuration Library (aka libcgroup or libcg) before 0.37.1 does not verify that netlink messages originated in the kernel, which allows local users to bypass intended resource restrictions via a crafted message.
References
Vulnerable Configurations
  • cpe:2.3:a:balbir_singh:libcgroup:0.37
    cpe:2.3:a:balbir_singh:libcgroup:0.37
  • cpe:2.3:a:balbir_singh:libcgroup:0.37:rc1
    cpe:2.3:a:balbir_singh:libcgroup:0.37:rc1
  • cpe:2.3:a:balbir_singh:libcgroup:0.36.2
    cpe:2.3:a:balbir_singh:libcgroup:0.36.2
  • cpe:2.3:a:balbir_singh:libcgroup:0.36.1
    cpe:2.3:a:balbir_singh:libcgroup:0.36.1
  • cpe:2.3:a:balbir_singh:libcgroup:0.36
    cpe:2.3:a:balbir_singh:libcgroup:0.36
  • cpe:2.3:a:balbir_singh:libcgroup:0.35.1
    cpe:2.3:a:balbir_singh:libcgroup:0.35.1
  • cpe:2.3:a:balbir_singh:libcgroup:0.35
    cpe:2.3:a:balbir_singh:libcgroup:0.35
  • cpe:2.3:a:balbir_singh:libcgroup:0.34
    cpe:2.3:a:balbir_singh:libcgroup:0.34
  • cpe:2.3:a:balbir_singh:libcgroup:0.33
    cpe:2.3:a:balbir_singh:libcgroup:0.33
  • cpe:2.3:a:balbir_singh:libcgroup:0.32.2
    cpe:2.3:a:balbir_singh:libcgroup:0.32.2
  • cpe:2.3:a:balbir_singh:libcgroup:0.32.1
    cpe:2.3:a:balbir_singh:libcgroup:0.32.1
  • cpe:2.3:a:balbir_singh:libcgroup:0.32
    cpe:2.3:a:balbir_singh:libcgroup:0.32
  • cpe:2.3:a:balbir_singh:libcgroup:0.31
    cpe:2.3:a:balbir_singh:libcgroup:0.31
  • cpe:2.3:a:balbir_singh:libcgroup:0.3
    cpe:2.3:a:balbir_singh:libcgroup:0.3
  • cpe:2.3:a:balbir_singh:libcgroup:0.2
    cpe:2.3:a:balbir_singh:libcgroup:0.2
  • cpe:2.3:a:balbir_singh:libcgroup:0.1c
    cpe:2.3:a:balbir_singh:libcgroup:0.1c
  • cpe:2.3:a:balbir_singh:libcgroup:0.1b
    cpe:2.3:a:balbir_singh:libcgroup:0.1b
CVSS
Base: 2.1 (as of 23-03-2011 - 09:16)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
nessus via4
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2193.NASL
    description Several issues have been discovered in libcgroup, a library to control and monitor control groups : - CVE-2011-1006 Heap-based buffer overflow by converting list of controllers for given task into an array of strings could lead to privilege escalation by a local attacker. - CVE-2011-1022 libcgroup did not properly check the origin of Netlink messages, allowing a local attacker to send crafted Netlink messages which could lead to privilege escalation. The oldstable distribution (lenny) does not contain libcgroup packages.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 52691
    published 2011-03-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=52691
    title Debian DSA-2193-1 : libcgroup - several vulnerabilities
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2011-2631.NASL
    description Two security bugs were fixed in this release : - CVE-2011-1006: Heap-based buffer overflow by converting list of controllers for given task into an array of strings - CVE-2011-1022: Unchecked origin of NETLINK messages Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 52981
    published 2011-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=52981
    title Fedora 14 : libcgroup-0.36.2-6.fc14 (2011-2631)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_2_LIBCGROUP-DEVEL-110304.NASL
    description libcgroup suffered from a heap based buffer overflow (CVE-2011-1006). The cgrulesengd daemon did not verify the origin of netlink messages, allowing local users to spoof events (CVE-2011-1022).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53746
    published 2011-05-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53746
    title openSUSE Security Update : libcgroup-devel (openSUSE-SU-2011:0316-1)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_3_LIBCGROUP-DEVEL-110304.NASL
    description libcgroup suffered from a heap based buffer overflow (CVE-2011-1006). The cgrulesengd daemon did not verify the origin of netlink messages, allowing local users to spoof events (CVE-2011-1022).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75572
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75572
    title openSUSE Security Update : libcgroup-devel (openSUSE-SU-2011:0316-1)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2011-2570.NASL
    description Two security bugs were fixed in this release : - CVE-2011-1006: Heap-based buffer overflow by converting list of controllers for given task into an array of strings - CVE-2011-1022: Unchecked origin of NETLINK messages Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 54834
    published 2011-05-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=54834
    title Fedora 13 : libcgroup-0.35.1-5.fc13 (2011-2570)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2011-0320.NASL
    description Updated libcgroup packages that fix two security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The libcgroup packages provide tools and libraries to control and monitor control groups. A heap-based buffer overflow flaw was found in the way libcgroup converted a list of user-provided controllers for a particular task into an array of strings. A local attacker could use this flaw to escalate their privileges via a specially crafted list of controllers. (CVE-2011-1006) It was discovered that libcgroup did not properly check the origin of Netlink messages. A local attacker could use this flaw to send crafted Netlink messages to the cgrulesengd daemon, causing it to put processes into one or more existing control groups, based on the attacker's choosing, possibly allowing the particular tasks to run with more resources (memory, CPU, etc.) than originally intended. (CVE-2011-1022) Red Hat would like to thank Nelson Elhage for reporting the CVE-2011-1006 issue. All libcgroup users should upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-11-26
    plugin id 52542
    published 2011-03-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=52542
    title RHEL 6 : libcgroup (RHSA-2011:0320)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_LIBCGROUP-DEVEL-110303.NASL
    description The following bugs have been fixed : - libcgroup suffered from a heap-based buffer overflow. (CVE-2011-1006) - The cgrulesengd daemon did not verify the origin of netlink messages, allowing local users to spoof events. (CVE-2011-1022)
    last seen 2019-02-21
    modified 2013-10-25
    plugin id 53358
    published 2011-04-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53358
    title SuSE 11.1 Security Update : libcgroup (SAT Patch Number 4081)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2011-2638.NASL
    description Two security bugs were fixed in this release : - CVE-2011-1006: Heap-based buffer overflow by converting list of controllers for given task into an array of strings - CVE-2011-1022: Unchecked origin of NETLINK messages Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 52982
    published 2011-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=52982
    title Fedora 15 : libcgroup-0.37.1-1.fc15 (2011-2638)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2011-0320.NASL
    description From Red Hat Security Advisory 2011:0320 : Updated libcgroup packages that fix two security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The libcgroup packages provide tools and libraries to control and monitor control groups. A heap-based buffer overflow flaw was found in the way libcgroup converted a list of user-provided controllers for a particular task into an array of strings. A local attacker could use this flaw to escalate their privileges via a specially crafted list of controllers. (CVE-2011-1006) It was discovered that libcgroup did not properly check the origin of Netlink messages. A local attacker could use this flaw to send crafted Netlink messages to the cgrulesengd daemon, causing it to put processes into one or more existing control groups, based on the attacker's choosing, possibly allowing the particular tasks to run with more resources (memory, CPU, etc.) than originally intended. (CVE-2011-1022) Red Hat would like to thank Nelson Elhage for reporting the CVE-2011-1006 issue. All libcgroup users should upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68218
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68218
    title Oracle Linux 6 : libcgroup (ELSA-2011-0320)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_4_LIBCGROUP-DEVEL-110314.NASL
    description Two security bugfixes in libcgroup1 were done : libcgroup suffered from a heap based buffer overflow (CVE-2011-1006). The cgrulesengd daemon did not verify the origin of netlink messages, allowing local users to spoof events (CVE-2011-1022).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75893
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75893
    title openSUSE Security Update : libcgroup-devel (openSUSE-SU-2011:0316-1)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20110303_LIBCGROUP_ON_SL6_X.NASL
    description A heap-based buffer overflow flaw was found in the way libcgroup converted a list of user-provided controllers for a particular task into an array of strings. A local attacker could use this flaw to escalate their privileges via a specially crafted list of controllers. (CVE-2011-1006) It was discovered that libcgroup did not properly check the origin of Netlink messages. A local attacker could use this flaw to send crafted Netlink messages to the cgrulesengd daemon, causing it to put processes into one or more existing control groups, based on the attacker's choosing, possibly allowing the particular tasks to run with more resources (memory, CPU, etc.) than originally intended. (CVE-2011-1022)
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 60979
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60979
    title Scientific Linux Security Update : libcgroup on SL6.x i386/x86_64
redhat via4
advisories
bugzilla
id 680409
title CVE-2011-1022 libcgroup: Uncheck origin of NETLINK messages
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment libcgroup is earlier than 0:0.36.1-6.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110320005
      • comment libcgroup is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110320006
    • AND
      • comment libcgroup-devel is earlier than 0:0.36.1-6.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110320007
      • comment libcgroup-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110320008
    • AND
      • comment libcgroup-pam is earlier than 0:0.36.1-6.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110320009
      • comment libcgroup-pam is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110320010
rhsa
id RHSA-2011:0320
released 2011-03-03
severity Important
title RHSA-2011:0320: libcgroup security update (Important)
rpms
  • libcgroup-0:0.36.1-6.el6_0.1
  • libcgroup-devel-0:0.36.1-6.el6_0.1
  • libcgroup-pam-0:0.36.1-6.el6_0.1
refmap via4
bid 46578
confirm
debian DSA-2193
fedora
  • FEDORA-2011-2631
  • FEDORA-2011-2638
mlist
  • [libcg-devel] 20101115 Fwd: libcgroup netlink
  • [libcg-devel] 20110218 [PATCH 2/2] cgrulesengd: Ignore netlink messages that don't come from the kernel.
  • [oss-security] 20110224 CVE request: libcgroup: Failure to verify netlink messages
  • [oss-security] 20110225 Re: CVE request: libcgroup: Failure to verify netlink messages
sectrack 1025157
secunia
  • 43611
  • 43758
  • 43891
  • 44093
suse openSUSE-SU-2011:0316
vupen
  • ADV-2011-0679
  • ADV-2011-0774
Last major update 06-09-2011 - 23:15
Published 22-03-2011 - 13:55
Back to Top