Vulnerability in Linux Kernel
CVE-2012-0056
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.9 (Medium). Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.108, 95.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- pythonone/CVE-2012-0056 (1 star, last pushed 2016-07-22): linux 提权
- srclib/CVE-2012-0056 (1 star, last pushed 2012-12-29): Mempodipper, a linux local root exploit.
Also mentioned in 162 other repositories (0xs3rgi0/OSCP, 0xS3rgI0/OSCP, 0xTo/linux-kernel-exploits, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/51625 (Third Party Advisory, VDB Entry, vdb-entry)
- blog.zx2c4.com/749 (Third Party Advisory)
- git.kernel.org/ (Vendor Advisory)
- USN-1336-1 (vendor-advisory, Third Party Advisory)
- RHSA-2012:0052 (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/47708 (Broken Link, third-party-advisory)
- [oss-security] 20120119 Re: CVE request: kernel: proc: clean up and fix /proc/<pid>/mem handling (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20120117 Re: CVE request: kernel: proc: clean up and fix /proc/<pid>/mem handling (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2012:0061 (vendor-advisory, Third Party Advisory)
- [oss-security] 20120118 CVE request: kernel: proc: clean up and fix /proc/<pid>/mem handling (mailing-list, Mailing List, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.