Lucene search
+L

Cisco VPN Client Version Detection

🗓️ 24 Oct 2008 00:00:00Reported by Copyright (C) 2008 Ferdy RiphagenType 
openvas
 openvas
🔗 plugins.openvas.org👁 13 Views

Cisco VPN Client Version Detection. Detects installed version of Cisco VPN Client by searching registry

Code
# SPDX-FileCopyrightText: 2008 Ferdy Riphagen
# 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.80037");
  script_version("2023-08-01T13:29:10+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:"2023-08-01 13:29:10 +0000 (Tue, 01 Aug 2023)");
  script_tag(name:"creation_date", value:"2008-10-24 20:38:19 +0200 (Fri, 24 Oct 2008)");
  script_tag(name:"qod_type", value:"registry");
  script_name("Cisco VPN Client Version Detection");

  script_tag(name:"summary", value:"Detects the installed version of Cisco VPN Client.

The script logs in via smb, searches for Cisco VPN Client in the registry
and gets the version from registry.");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2008 Ferdy Riphagen");
  script_family("Product detection");
  script_dependencies("smb_reg_service_pack.nasl");
  script_mandatory_keys("SMB/WindowsVersion", "SMB/Windows/Arch");
  script_require_ports(139, 445);
  exit(0);
}

include("smb_nt.inc");
include("secpod_smb_func.inc");
include("cpe.inc");
include("host_details.inc");

osArch = get_kb_item("SMB/Windows/Arch");
if(!osArch){
  exit(0);
}

if(!registry_key_exists(key:"SOFTWARE\Cisco Systems\VPN Client") &&
   !registry_key_exists(key:"SOFTWARE\Wow6432Node\Cisco Systems\VPN Client")){
  exit(0);
}

if("x86" >< osArch){
  vpnKey = "SOFTWARE\Cisco Systems\VPN Client";
}

else if("x64" >< osArch){
 vpnKey = "SOFTWARE\Wow6432Node\Cisco Systems\VPN Client";
}

vpnPath = registry_get_sz(key:vpnKey, item:"InstallPath");
if(!vpnPath){
  exit(0);
}

vpnVer = GetVersionFromFile(file:vpnPath + "\vpngui.exe", verstr:"prod");
if(!vpnVer){
  exit(0);
}

set_kb_item(name:"SMB/CiscoVPNClient/Version", value:vpnVer);

cpe = build_cpe(value:vpnVer, exp:"^([0-9.]+)", base:"cpe:/a:llnl:slurm:");
if(isnull(cpe))
  cpe = "cpe:/a:llnl:slurm";

## 64 bit apps on 64 bit platform
## Even 64 bit installer creates the key in Wow6432Node
## 32 bit app cannot be installed on 64 bit
if("x64" >< osArch && "Wow6432Node" >< vpnKey)
{
  set_kb_item(name:"SMB/CiscoVPNClient64/Version", value:vpnVer);

  cpe = build_cpe(value:vpnVer, exp:"^([0-9.]+)", base:"cpe:/a:llnl:slurm:x64:");
  if(isnull(cpe))
    cpe = "cpe:/a:llnl:slurm:x64";
}

register_product(cpe:cpe, location:vpnPath);
log_message(data: build_detection_report(app: "Cisco Systems VPN Client",
                                         version: vpnVer,
                                         install: vpnPath,
                                         cpe: cpe,
                                         concluded: vpnVer));

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

01 Aug 2023 00:00Current
7High risk
Vulners AI Score7
13