Vulnerability CVE-2012-0056


Published: 2012-01-27   Modified: 2012-02-13

Description:
The mem_write function in the Linux kernel before 3.2.2, when ASLR is disabled, does not properly check permissions when writing to /proc/<pid>/mem, which allows local users to gain privileges by modifying process memory, as demonstrated by Mempodipper.

See advisories in our WLB2 database:
Topic
Author
Date
High
Mempodipper - Linux local root for >=2.6.39 32/64
zx2c4
23.01.2012

Type:

CWE-264

(Permissions, Privileges, and Access Controls)

Vendor: Linux
Product: Kernel 
Version: 2.6.39;
Product: Linux kernel 
Version: 2.6.39;

CVSS2 => (AV:L/AC:M/Au:N/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.9/10
10/10
3.4/10
Exploit range
Attack complexity
Authentication
Local
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete

 References:
http://blog.zx2c4.com/749
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e268337dfe26dfc7efd422a804dbb27977a3cccc
http://ubuntu.com/usn/usn-1336-1
http://www.kb.cert.org/vuls/id/470151
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.2
http://www.openwall.com/lists/oss-security/2012/01/18/1
http://www.openwall.com/lists/oss-security/2012/01/18/2
http://www.openwall.com/lists/oss-security/2012/01/19/4
http://www.openwall.com/lists/oss-security/2012/01/22/4
http://www.redhat.com/support/errata/RHSA-2012-0052.html
http://www.redhat.com/support/errata/RHSA-2012-0061.html
http://www.securityfocus.com/bid/51625
https://bugzilla.redhat.com/show_bug.cgi?id=782642

Related CVE
CVE-2019-14763
In the Linux kernel before 4.16.4, a double-locking error in drivers/usb/dwc3/gadget.c may potentially cause a deadlock with f_hid.
CVE-2018-20961
In the Linux kernel before 4.16.4, a double free vulnerability in the f_midi_set_alt function of drivers/usb/gadget/function/f_midi.c in the f_midi driver may allow attackers to cause a denial of service or possibly have unspecified other impact.
CVE-2019-10142
A flaw was found in the Linux kernel's freescale hypervisor manager implementation, kernel versions 5.0.x up to, excluding 5.0.17. A parameter passed to an ioctl was incorrectly validated and used in size calculations for the page size calculation. A...
CVE-2018-16871
A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and all versions 4.x up to 4.20. An attacker, who is able to mount an exported NFS filesystem, is able to trigger a null pointer dereference by using an invalid NFS sequence....
CVE-2017-18379
In the Linux kernel before 4.14, an out of boundary access happened in drivers/nvme/target/fc.c.
CVE-2016-10764
In the Linux kernel before 4.9.6, there is an off by one in the drivers/mtd/spi-nor/cadence-quadspi.c cqspi_setup_flash() function. There are CQSPI_MAX_CHIPSELECT elements in the ->f_pdata array so the ">" should be ">=" instead.
CVE-2015-9289
In the Linux kernel before 4.1.4, a buffer overflow occurs when checking userspace params in drivers/media/dvb-frontends/cx24116.c. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows larger values suc...
CVE-2012-6712
In the Linux kernel before 3.4, a buffer overflow occurs in drivers/net/wireless/iwlwifi/iwl-agn-sta.c, which will cause at least memory corruption.

Copyright 2019, cxsecurity.com

 

Back to Top