CVE-2012-0056
Linux Kernel Mem_write Privilege Escalation Vulnerability
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.
INFO
Published Date :
Jan. 27, 2012, 3:55 p.m.
Last Modified :
Nov. 21, 2024, 1:34 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
10.0
Exploitability Score :
3.4
Public PoC/Exploit Available at Github
CVE-2012-0056 has a 114 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2012-0056
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
OSCP Notes
This repository is designed to provide a comprehensive collection of study materials, notes, and resources for the Offensive Security Certified Professional (OSCP) exam. It covers all key topics from basic to advanced, helping aspiring penetration testers to prepare efficiently for the exam.
cybersecurity hacking oscp oscp-guide oscp-journey oscp-prep
None
C Shell Python Assembly Ruby Makefile Meson
None
Auto Root / Privilege Escalation Exploit
autoroot privilege privilege-escalation root
Shell
None
:cactus: golang (linux) root exploitation framework
Go
None
None
None
None
bounty collection
Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook
None
None
C Shell Python Ruby Makefile HTML
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2012-0056
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2012-0056
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Jul. 27, 2023
Action Type Old Value New Value Changed Reference Type http://blog.zx2c4.com/749 No Types Assigned http://blog.zx2c4.com/749 Third Party Advisory Changed Reference Type http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=e268337dfe26dfc7efd422a804dbb27977a3cccc No Types Assigned http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=e268337dfe26dfc7efd422a804dbb27977a3cccc Vendor Advisory Changed Reference Type http://secunia.com/advisories/47708 Vendor Advisory http://secunia.com/advisories/47708 Broken Link Changed Reference Type http://ubuntu.com/usn/usn-1336-1 No Types Assigned http://ubuntu.com/usn/usn-1336-1 Third Party Advisory Changed Reference Type http://www.kb.cert.org/vuls/id/470151 No Types Assigned http://www.kb.cert.org/vuls/id/470151 Third Party Advisory, US Government Resource Changed Reference Type http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.2 No Types Assigned http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.2 Vendor Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2012/01/18/1 No Types Assigned http://www.openwall.com/lists/oss-security/2012/01/18/1 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2012/01/18/2 No Types Assigned http://www.openwall.com/lists/oss-security/2012/01/18/2 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2012/01/19/4 No Types Assigned http://www.openwall.com/lists/oss-security/2012/01/19/4 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2012/01/22/4 No Types Assigned http://www.openwall.com/lists/oss-security/2012/01/22/4 Mailing List, Third Party Advisory Changed Reference Type http://www.redhat.com/support/errata/RHSA-2012-0052.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2012-0052.html Third Party Advisory Changed Reference Type http://www.redhat.com/support/errata/RHSA-2012-0061.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2012-0061.html Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/51625 No Types Assigned http://www.securityfocus.com/bid/51625 Third Party Advisory, VDB Entry Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=782642 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=782642 Issue Tracking, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:2.6.39:*:*:*:*:*:*:* OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.39 up to (excluding) 3.0.18 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.1 up to (excluding) 3.2.2 -
CVE Modified by [email protected]
Feb. 13, 2023
Action Type Old Value New Value Changed Description CVE-2012-0056 kernel: proc: /proc/<pid>/mem mem_write insufficient permission checking 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. Removed CVSS V2 Red Hat, Inc. (AV:L/AC:L/Au:N/C:C/I:C/A:C) Removed Reference https://access.redhat.com/errata/RHSA-2012:0052 [No Types Assigned] Removed Reference https://access.redhat.com/errata/RHSA-2012:0061 [No Types Assigned] Removed Reference https://access.redhat.com/security/cve/CVE-2012-0056 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Changed 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. CVE-2012-0056 kernel: proc: /proc/<pid>/mem mem_write insufficient permission checking Added CVSS V2 Red Hat, Inc. (AV:L/AC:L/Au:N/C:C/I:C/A:C) Removed Reference http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e268337dfe26dfc7efd422a804dbb27977a3cccc [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2012:0052 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2012:0061 [No Types Assigned] Added Reference https://access.redhat.com/security/cve/CVE-2012-0056 [No Types Assigned] Added Reference http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=e268337dfe26dfc7efd422a804dbb27977a3cccc [No Types Assigned] -
CVE Modified by [email protected]
Jan. 18, 2018
Action Type Old Value New Value Added Reference http://www.kb.cert.org/vuls/id/470151 [No Types Assigned] -
Initial Analysis by [email protected]
Jan. 30, 2012
Action Type Old Value New Value
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2012-0056
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2012-0056
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.12 }} 0.08%
score
0.45754
percentile