BizDB bizdb-search.cgi Arbitrary Command Execution

high Nessus Plugin ID 10383

Synopsis

The remote host is running a web application with a remote command execution vulnerability.

Description

BizDB is a web database integration product using Perl CGI scripts.
One of the 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 web server.

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.

Solution

Upgrade to the latest version of the software.

See Also

https://seclists.org/bugtraq/2000/Apr/47

Plugin Details

Severity: High

ID: 10383

File Name: bizdb1_search.nasl

Version: 1.34

Type: remote

Family: CGI abuses

Published: 4/26/2000

Updated: 1/19/2021

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

Required KB Items: Settings/ParanoidReport

Vulnerability Publication Date: 4/6/2000

Reference Information

CVE: CVE-2000-0287

BID: 1104