CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
AI Score
Confidence
Low
EPSS
Percentile
27.8%
VICIdial is prone to multiple SQL injection (SQLi)
vulnerabilities.
# Copyright (C) 2009 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
CPE = "cpe:/a:vicidial:vicidial";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900916");
script_version("2023-03-09T10:20:45+0000");
script_tag(name:"last_modification", value:"2023-03-09 10:20:45 +0000 (Thu, 09 Mar 2023)");
script_tag(name:"creation_date", value:"2009-08-26 14:01:08 +0200 (Wed, 26 Aug 2009)");
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_cve_id("CVE-2009-2234");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
script_name("VICIdial Multiple SQLi Vulnerabilities (CVE-2009-2234)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("gb_vicidial_http_detect.nasl");
script_mandatory_keys("vicidial/detected");
script_tag(name:"summary", value:"VICIdial is prone to multiple SQL injection (SQLi)
vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"This flaw occurs due to lack of sanitation of user supplied data
passed into the admin.php and can be exploited via username and password parameters.");
script_tag(name:"impact", value:"Attackers can exploit this issue via specially crafted SQL
statements to access and modify the back-end database.");
script_tag(name:"affected", value:"VICIdial 2.0.5 through 2.0.5-173.");
script_tag(name:"solution", value:"Apply the available patch linked at the references.");
script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/8755");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/35056");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/50665");
script_xref(name:"URL", value:"http://www.eflo.net/VICIDIALforum/viewtopic.php?t=8075");
script_xref(name:"URL", value:"http://www.eflo.net/vicidial/security_fix_admin_20090522.patch");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!port = get_app_port(cpe: CPE))
exit(0);
if (!version = get_app_version(cpe: CPE, port: port))
exit(0);
version = ereg_replace(pattern: "-", replace: ".", string: version);
if (version_is_less_equal(version: version, test_version: "2.0.5.206")) {
report = report_fixed_ver(installed_version: version, fixed_version: "Apply patch");
security_message(port: port, data: report);
exit(0);
}
exit(99);