Centos 6 / Rhel 6 == Security hole -- Privledge esclation (CVE-2012-0056)

nxnvietnam

New Member
Thought this could be handy to make people aware..



https://rhn.redhat.com/errata/RHSA-2012-0052.html

* It was found that permissions were not checked properly in the Linux
kernel when handling the /proc/[pid]/mem writing functionality. A local,
unprivileged user could use this flaw to escalate their privileges. Refer
to Red Hat Knowledgebase article DOC-69129, linked to in the References,
for further information. (CVE-2012-0056, Important)
https://www.redhat.com/security/data...2012-0056.html


This issue did not affect the version of Linux kernel as shipped with Red Hat Enterprise Linux 4 and 5 as it did not backport the upstream commit 198214a7ee. A future kernel update for Red Hat Enterprise MRG may address this issue. This has been addressed in Red Hat Enterprise Linux 6 via https://rhn.redhat.com/errata/RHSA-2012-0052.html.
How to test if vuln

Ref: https://access.redhat.com/kb/docs/DOC-69129


Quote: wget "https://bugzilla.redhat.com/attachment.cgi?id=556461" -O test.c
gcc test.c -o test
./test
Ksplice has an update out
Synopsis: RHSA-2012:0052-1 can now be patched using Ksplice
CVEs: CVE-2012-0056
Red Hat Security Advisory Severity: Important

Systems running Red Hat Enterprise Linux 6, CentOS 6, and Scientific
Linux 6 can now use Ksplice to patch against the latest Red Hat
Security Advisory, RHSA-2012:0052-1.

INSTALLING THE UPDATES

We recommend that all users of Ksplice Uptrack on RHEL 6, CentOS 6,
and Scientific Linux 6 install these updates. You can install these
updates by running:

Quote: # /usr/sbin/uptrack-upgrade -y On systems that have "autoinstall = yes" in /etc/uptrack/uptrack.conf,
these updates will be installed automatically and you do not need to
take any additional action.


DESCRIPTION

* CVE-2012-0056: Privilege escalation in /proc/[pid]/mem writing.

It was found that permissions were not checked properly in the Linux
kernel when handling the /proc/[pid]/mem writing functionality. A
local, unprivileged user could use this flaw to escalate their
privileges. Refer to Red Hat Knowledgebase article DOC-69129 for
further information. (CVE-2012-0056, Important)

SUPPORT

Ksplice support is available at [email protected]. thanks for the heads up
 
Top