Permissions, Privileges, and Access Controls in Linux kernel - CVE-2012-0056

 

Permissions, Privileges, and Access Controls in Linux kernel - CVE-2012-0056

Published: January 27, 2012 / Updated: November 20, 2020


Vulnerability identifier: #VU44356
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-0056
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Affected software

Linux kernel

How to mitigate CVE-2012-0056

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins