Lucene search

K
openvasCopyright (C) 2015 Greenbone AGOPENVAS:1361412562310105327
HistoryAug 20, 2015 - 12:00 a.m.

BroadWin WebAccess Version Detection

2015-08-2000:00:00
Copyright (C) 2015 Greenbone AG
plugins.openvas.org
9

7.2 High

AI Score

Confidence

Low

Detection of BroadWin WebAccess.

The script sends a connection request to the server and attempts to
extract the version number from the reply.

# SPDX-FileCopyrightText: 2015 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.105327");
  script_version("2024-06-13T05:05:46+0000");
  script_tag(name:"cvss_base", value:"0.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
  script_tag(name:"last_modification", value:"2024-06-13 05:05:46 +0000 (Thu, 13 Jun 2024)");
  script_tag(name:"creation_date", value:"2015-08-20 17:37:34 +0200 (Thu, 20 Aug 2015)");
  script_name("BroadWin WebAccess Version Detection");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_family("Product detection");
  script_dependencies("find_service.nasl", "httpver.nasl", "webmirror.nasl",
                      "DDI_Directory_Scanner.nasl", "global_settings.nasl",
                      "gb_microsoft_iis_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"summary", value:"Detection of BroadWin WebAccess.

  The script sends a connection request to the server and attempts to
  extract the version number from the reply.");

  script_tag(name:"qod_type", value:"remote_banner");

  exit(0);
}

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

awPort = http_get_port( default:80 );
if( ! http_can_host_asp( port:awPort ) )
  exit( 0 );

awRes = http_get_cache( item:"/broadWeb/bwRoot.asp", port:awPort );

if( "<title>BroadWin WebAccess" >!< awRes && " BroadWin Technology, Inc." >!< awRes ) {
  exit( 0 );
}

vers = 'unknown';
cpe = 'cpe:/a:broadwin:webaccess';

awVer = eregmatch(pattern:"Software Build : ([0-9.-]+)", string:awRes); # 7.0-2011.07.13
if( ! isnull( awVer[1] ) ) {
  vers = str_replace( string:awVer[1], find:"-", replace:".");
  cpe += ':' + vers;
}

set_kb_item(name:"www/" + awPort + "/BroadWin/WebAccess", value:vers);
set_kb_item(name:"BroadWin/WebAccess/installed", value:TRUE);

register_product(cpe:cpe, location:awPort + '/tcp', port:awPort, service:"www");

log_message(data: build_detection_report(app:"BroadWin WebAccess",
                                         version:vers,
                                         install:'/broadWeb/',
                                         cpe:cpe,
                                         concluded: awVer[0]),
                                         port:awPort);

7.2 High

AI Score

Confidence

Low