 |
 |
 |
 |
| Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits. |

23rd January 2012, 07:17 AM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 742

|
|
|
Linux Local Privilege Escalation via SUID /proc/pid/mem Write
http://blog.zx2c4.com/749
Quote:
|
Introducing Mempodipper, an exploit for CVE-2012-0056. /proc/pid/mem is an interface for reading and writing, directly, process memory by seeking around with the same addresses as the process’s virtual memory space. In 2.6.39, the protections against unauthorized access to /proc/pid/mem were deemed sufficient, and so the prior #ifdef that prevented write support for writing to arbitrary process memory was removed. Anyone with the correct permissions could write to process memory. It turns out, of course, that the permissions checking was done poorly. This means that all Linux kernels >=2.6.39 are vulnerable, up until the fix commit for it a couple days ago.
|
|

23rd January 2012, 12:13 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: Linux Local Privilege Escalation via SUID /proc/pid/mem Write
That seems badass, but does this require a user with su/sudo privilegies to work? : P
|

26th January 2012, 08:19 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: Linux Local Privilege Escalation via SUID /proc/pid/mem Write
He posted some update about fedora:
Quote:
|
Update 2: as it turns out, Fedora very aptly compiles their su with PIE, which defeats this attack. They do not, unfortunately, compile all their SUID binaries with PIE, and so this attack is still possible with, for example, gpasswd. The code to do this is in the “fedora” branch of the git repository, and a video demonstration is also available.
|
Sounds like almost a pass. In your face Ubuntu.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 21:45 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|