CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:M/Au:N/C:P/I:N/A:N
AI Score
Confidence
Low
EPSS
Percentile
89.5%
IOServer is prone to multiple directory traversal
vulnerabilities.
# SPDX-FileCopyrightText: 2012 Greenbone AG
# 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.802445");
script_version("2023-05-04T09:51:03+0000");
script_tag(name:"last_modification", value:"2023-05-04 09:51:03 +0000 (Thu, 04 May 2023)");
script_tag(name:"creation_date", value:"2012-08-20 16:21:46 +0530 (Mon, 20 Aug 2012)");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:N");
script_cve_id("CVE-2012-4680");
script_tag(name:"qod_type", value:"remote_vul");
script_tag(name:"solution_type", value:"VendorFix");
script_name("IOServer < 1.0.19.0 Multiple Directory Traversal Vulnerabilities - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Web Servers");
script_dependencies("gb_get_http_banner.nasl", "os_detection.nasl");
script_require_ports("Services/www", 81);
script_mandatory_keys("IOServer/banner", "Host/runs_windows");
script_tag(name:"summary", value:"IOServer is prone to multiple directory traversal
vulnerabilities.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"insight", value:"The flaws are due to improper validation of URI containing
../ (dot dot) sequences, which allows attackers to read arbitrary files via directory traversal
attacks.");
script_tag(name:"impact", value:"Successful exploitation will allow attacker to obtain sensitive
information that could aid in further attacks.");
script_tag(name:"affected", value:"IOServer version 1.0.18.0 and prior.");
script_tag(name:"solution", value:"Update to version 1.0.19.0 or later.");
script_xref(name:"URL", value:"http://www.foofus.net/?page_id=616");
script_xref(name:"URL", value:"http://seclists.org/fulldisclosure/2012/Aug/223");
exit(0);
}
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");
include("os_func.inc");
include("port_service_func.inc");
port = http_get_port(default: 81);
banner = http_get_remote_headers(port: port);
if (banner !~ "Server\s*:\s*IOServer")
exit(0);
files = traversal_files("windows");
foreach file (keys(files)) {
url = "/.../.../.../.../" + files[file];
if (http_vuln_check(port: port, url: url, pattern: file)) {
report = http_report_vuln_url(port: port, url: url);
security_message(port: port, data: report);
exit(0);
}
}
exit(99);