Lucene search
+L

Technicolor TC7200 Modem/Router Detection (SNMP)

🗓️ 08 Sep 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 724 Views

Technicolor TC7200 Modem/Router Detection (SNMP) for SNMP based detection of a Technicolor TC7200 Modem/Route

Code
# SPDX-FileCopyrightText: 2017 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.811655");
  script_version("2023-08-10T05:05:53+0000");
  script_tag(name:"last_modification", value:"2023-08-10 05:05:53 +0000 (Thu, 10 Aug 2023)");
  script_tag(name:"creation_date", value:"2017-09-08 12:12:54 +0530 (Fri, 08 Sep 2017)");
  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("Technicolor TC7200 Modem/Router Detection (SNMP)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Product detection");
  script_dependencies("gb_snmp_info_collect.nasl");
  script_require_udp_ports("Services/udp/snmp", 161);
  script_mandatory_keys("SNMP/sysdescr/available");

  script_tag(name:"summary", value:"SNMP based detection of a Technicolor TC7200 Modem/Router.");

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

  exit(0);
}

include("cpe.inc");
include("host_details.inc");
include("os_func.inc");
include("snmp_func.inc");

port = snmp_get_port(default:161);

if(!sysdesc = snmp_get_sysdescr(port:port))
  exit(0);

if("VENDOR: Technicolor" >< sysdesc && "TC7200" >< sysdesc) {

  model = "unknown";
  version = "unknown";
  cpe_version = "unknown";
  install = port + "/udp";

  # MODEL: TC7200.TH2v2
  # MODEL: TC7200.d1I
  # MODEL: TC7200.U
  mod = eregmatch(pattern:"MODEL: ([0-9A-Z]+).", string:sysdesc);
  if(!isnull(mod[1])) {
    model = mod[1];
    set_kb_item(name:"technicolor/model/version", value:model);
  }

  # SW_REV: SC05.00.22;
  # SW_REV: STDD.01.04;
  #
  # nb: Unclear what version this is so that one is excluded for now:
  # SW_REV: TC7200.d1IE-N23E-c7000r5712-170406-HAT
  firmvers = eregmatch(pattern:"SW_REV: ([0-9A-Z.]+);", string:sysdesc);
  if(!isnull(firmvers[1])) {
    version = firmvers[1];
    cpe_version = tolower(version);
    set_kb_item(name:"technicolor/firmware/version", value:version);
  }

  set_kb_item(name:"technicolor/tc7200/detected", value:TRUE);
  set_kb_item(name:"technicolor/tc7200/snmp/detected", value:TRUE);

  oscpe = build_cpe(value:cpe_version, exp:"^([0-9a-z.]+)", base:"cpe:/o:technicolor:tc7200_firmware:");
  if(!oscpe)
    oscpe = "cpe:/o:technicolor:tc7200_firmware";

  hwcpe = "cpe:/h:technicolor:tc7200";
  register_product(cpe:hwcpe, port:port, location:install, service:"snmp", proto:"udp");
  register_product(cpe:oscpe, port:port, location:install, service:"snmp", proto:"udp");

  os_register_and_report(os:"Technicolor TC7200 Firmware", cpe:oscpe, banner_type:"SNMP sysDescr OID",
                         port:port, proto:"udp", banner:sysdesc, desc:"Technicolor TC7200 Modem/Router Detection (SNMP)",
                         runs_key:"unixoide");

  report = build_detection_report(app:"Technicolor TC7200 Firmware", version:version, install:port + "/udp",
                                  cpe:oscpe);
  report += '\n\n';
  report += build_detection_report(app:"Technicolor TC7200", skip_version:TRUE, install:port + "/udp",
                                   cpe:hwcpe);
  report += '\n\n';
  report += 'Concluded from SNMP sysDescr OID:\n' + sysdesc;

  log_message(port:port, proto:"udp", data:report);
}

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

10 Aug 2023 00:00Current
7High risk
Vulners AI Score7
724