One of the BizDB scripts, bizdb-search.cgi, passes a variable's contents to an unchecked open() call and can be made to execute commands at the privilege level of the webserver. 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
Reporter | Title | Published | Views | Family All 5 |
---|---|---|---|---|
![]() | CVE-2000-0287 | 22 Jan 200105:00 | – | cvelist |
![]() | CVE-2000-0287 | 22 Jan 200105:00 | – | cve |
![]() | CVE-2000-0287 | 12 Apr 200004:00 | – | nvd |
![]() | BizDB bizdb-search.cgi Arbitrary Command Execution | 26 Apr 200000:00 | – | nessus |
![]() | bizdb1-search.cgi located | 3 Nov 200500:00 | – | openvas |
Source | Link |
---|---|
securityfocus | www.securityfocus.com/bid/1104 |
hack | www.hack.co.za/daem0n/cgi/cgi/bizdb.htm |
# 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);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo