CVE-2012-0056
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 10.8% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 10.8% in the next 30 days (EPSS).
- Severity: 6.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 10.8% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Linux Kernel < 3.0.18
- Linux Kernel < 3.2.2
Attack profile CVSS 2.0 · 6.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-0056.md and follow it. Check whether this project is affected by CVE-2012-0056. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=e268337dfe26dfc7efd422a804dbb27977a3cccc
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.2
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=e268337dfe26dfc7efd422a804dbb27977a3cccc
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.2
References
- http://blog.zx2c4.com/749
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=e268337dfe26dfc7efd422a804dbb27977a3cccc
- http://secunia.com/advisories/47708
- 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
- http://blog.zx2c4.com/749
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=e268337dfe26dfc7efd422a804dbb27977a3cccc
- http://secunia.com/advisories/47708
- 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