Lucene search

K
openvasCopyright (C) 2000 Roelof Temmingh <[email protected]>OPENVAS:136141256231010383
HistoryNov 03, 2005 - 12:00 a.m.

bizdb1-search.cgi located

2005-11-0300:00:00
Copyright (C) 2000 Roelof Temmingh <[email protected]>
plugins.openvas.org
21

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

6.7 Medium

AI Score

Confidence

Low

0.014 Low

EPSS

Percentile

86.7%

One of the BizDB scripts, bizdb-search.cgi, passes a variable

# SPDX-FileCopyrightText: 2000 Roelof Temmingh <[email protected]>
# 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.10383");
  script_version("2023-08-03T05:05:16+0000");
  script_tag(name:"last_modification", value:"2023-08-03 05:05:16 +0000 (Thu, 03 Aug 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2000-0287");
  script_name("bizdb1-search.cgi located");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2000 Roelof Temmingh <[email protected]>");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_xref(name:"URL", value:"http://www.hack.co.za/daem0n/cgi/cgi/bizdb.htm");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/1104");

  script_tag(name:"summary", value:"One of the BizDB scripts, bizdb-search.cgi, passes a variable's
  contents to an unchecked open() call and can therefore be made to execute commands at the privilege
  level of the webserver.");

  script_tag(name:"impact", value:"The variable is dbname, and if passed a semicolon followed by shell
  commands they will be executed. This cannot be exploited from a browser, as the software checks for
  a referrer field in the HTTP request. A valid referrer field can however be created and sent
  programmatically or via a network utility like netcat.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year
  since the disclosure of this vulnerability. Likely none will be provided anymore.
  General solution options are to upgrade to a newer release, disable respective features,
  remove the product or replace the product by another one.");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_tag(name:"solution_type", value:"WillNotFix");

  exit(0);
}

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

port = http_get_port(default:80);

cgi = string("bizdb1-search.cgi");
res = http_is_cgi_installed_ka(item:cgi, port:port);
if(res) {
  if(http_is_cgi_installed_ka(item:"vt-test" + rand() + ".cgi", port:port))
    exit(0);
  security_message(port:port);
  exit(0);
}

exit(99);

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

6.7 Medium

AI Score

Confidence

Low

0.014 Low

EPSS

Percentile

86.7%

Related for OPENVAS:136141256231010383