Vulnerabilities > CVE-1999-0021 - Unspecified vulnerability in Muhammad A. Muquit Wwwcount 2.3

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
muhammad-a-muquit
nessus
exploit available

Summary

Arbitrary command execution via buffer overflow in Count.cgi (wwwcount) cgi-bin program.

Vulnerable Configurations

Part Description Count
Application
Muhammad_A._Muquit
1

Exploit-Db

descriptionMuhammad A. Muquit wwwcount 2.3 Count.cgi Buffer Overflow Vulnerability. CVE-1999-0021. Remote exploit for linux platform
idEDB-ID:19105
last seen2016-02-02
modified1997-10-16
published1997-10-16
reporterRazvan Dragomirescu
sourcehttps://www.exploit-db.com/download/19105/
titleMuhammad A. Muquit wwwcount 2.3 Count.cgi Buffer Overflow Vulnerability

Nessus

NASL familyCGI abuses
NASL idCOUNT_CGI.NASL
descriptionAccording to its version number, the
last seen2020-06-01
modified2020-06-02
plugin id10049
published1999-06-22
reporterThis script is Copyright (C) 1999-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/10049
titlewwwcount Count.cgi Remote Overflow
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if(description)
{
 script_id(10049);
 script_bugtraq_id(128);
 script_version ("1.35");
 script_cve_id("CVE-1999-0021");

 script_name(english:"wwwcount Count.cgi Remote Overflow");
 script_summary(english:"Checks Count.cgi version");

 script_set_attribute(attribute:"synopsis", value:
"A web application on the remote web server has a buffer overflow
vulnerability." );
 script_set_attribute(attribute:"description", value:
"According to its version number, the 'Count.cgi' CGI installed on the
remote web server has a buffer overflow vulnerability.  A remote
attacker could use this to execute arbitrary code." );
 script_set_attribute(
   attribute:"see_also",
   value:"https://seclists.org/bugtraq/1997/Oct/82"
 );
 script_set_attribute(
   attribute:"see_also",
   value:"https://seclists.org/bugtraq/1997/Oct/84"
 );
 script_set_attribute(
   attribute:"solution", 
   value:"Upgrade to wwwcount 2.4 or later."
 );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
 script_set_cvss_temporal_vector("CVSS2#E:F/RL:U/RC:ND");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"plugin_publication_date", value: "1999/06/22");
 script_set_attribute(attribute:"vuln_publication_date", value: "1997/10/16");
 script_cvs_date("Date: 2018/11/15 20:50:16");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_family(english: "CGI abuses");
 
 script_copyright(english:"This script is Copyright (C) 1999-2018 Tenable Network Security, Inc.");

 script_dependencie("find_service1.nasl", "http_version.nasl", "DDI_Directory_Scanner.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 exit(0);
}

#
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:80);
foreach d (cgi_dirs())
{
  rr = http_send_recv3(method: "GET", port: port, item: strcat(d, "/Count.cgi?align=topcenter"));
  r = strstr(rr[1]+rr[2], "Count.cgi ");
  if (r && ereg(string:r, pattern:".*Count\.cgi +([01]\.[0-9]+|2\.[0-3]+)"))
  {
    security_hole(port);
    exit(0);
  }
}

Seebug

bulletinFamilyexploit
descriptionBugCVE: CVE-1999-0021 BUGTRAQ: 128 Count.cgi (wwwcount)是一个非常流行的Web站点跟踪统计CGI程序。一般它作为Web页面点击数统计。1997年10月,这个程序被发现了两个远程漏洞。第一个漏洞比较轻微,它能允许远程用户浏览到受限制的.GIF文件,可能泄漏.GIF文件里潜在的敏感数据。 第二个漏洞比较严重,count.cgi程序在处理QUERY_STRING环境变量的时候存在缓冲区溢出漏洞。远程攻击者可以发送一个超长的请求给程序就能进行溢出攻击,以Web用户的权限在系统执行任意命令。 2.3 Muhammad A. Muquit ------------------ 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载wwwcount 2.4以上版本: <a href=http://www.fccc.edu/users/muquit/Count.html target=_blank>http://www.fccc.edu/users/muquit/Count.html</a>
idSSV:4298
last seen2017-11-19
modified2008-10-25
published2008-10-25
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-4298
titleCount.cgi(wwwcount)远程缓冲区溢出漏洞