Lucene search
+L

WebShield Appliance Detection (HTTP)

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2005 David MaciejakType 
openvas
 openvas
🔗 plugins.openvas.org👁 14 Views

WebShield Appliance Detection (HTTP

Code
# SPDX-FileCopyrightText: 2005 David Maciejak
# 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.17368");
  script_version("2024-11-22T15:40:47+0000");
  script_tag(name:"last_modification", value:"2024-11-22 15:40:47 +0000 (Fri, 22 Nov 2024)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  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_name("WebShield Appliance Detection (HTTP)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2005 David Maciejak");
  script_family("Product detection");
  script_dependencies("gb_get_http_banner.nasl");
  script_require_ports(443);
  script_mandatory_keys("webshield_appliance/banner");

  script_tag(name:"summary", value:"HTTP based detection of the WebShield Appliance.");

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

  exit(0);
}

include("http_func.inc");
include("cpe.inc");
include("host_details.inc");

port = 443;
if(!get_port_state(port))
  exit(0);

if(!banner = http_get_remote_headers(port:port))
  exit(0);

if(banner =~ "Server\s*:\s*WebShield Appliance") {

  # nb: Don't use http_keepalive_send_recv() or http_cache() as both might not receive the full
  # .js file content...
  req = http_get(item:"/strings.js", port:port);
  res = http_send_recv(data:req, port:port);

  #var WEBSHIELD_TITLE="WebShield Appliance v3.0";
  title = egrep(pattern:"WEBSHIELD_TITLE=", string:res);
  if(!title)
    exit(0);

  vers = "unknown";
  install = "/";
  version = eregmatch(pattern:'WEBSHIELD_TITLE="WebShield Appliance v([0-9.]+)"', string:title, icase:TRUE);

  if(!isnull(version[1]))
    vers = version[1];

  cpe = build_cpe(value:vers, exp:"^([0-9.]+)", base:"cpe:/a:network_associates:webshield:");
  if(!cpe)
    cpe = "cpe:/a:network_associates:webshield";

  register_product(cpe:cpe, location:install, port:port, service:"www");

  log_message(data:build_detection_report(app:"WebShield Appliance", version:vers, install:install, cpe:cpe, concluded:version[0]),
              port:port);
}

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

22 Nov 2024 00:00Current
7.3High risk
Vulners AI Score7.3
14