Lucene search
+L

AVM FRITZ!WLAN Repeater Detection (HTTP)

🗓️ 30 Jul 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 46 Views

AVM FRITZ!WLAN Repeater Detection (HTTP) for product detection and model identificatio

Code
# SPDX-FileCopyrightText: 2019 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.142675");
  script_version("2025-09-09T14:09:45+0000");
  script_tag(name:"last_modification", value:"2025-09-09 14:09:45 +0000 (Tue, 09 Sep 2025)");
  script_tag(name:"creation_date", value:"2019-07-30 07:34:56 +0000 (Tue, 30 Jul 2019)");
  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:"qod_type", value:"remote_banner");

  script_name("AVM FRITZ!WLAN Repeater Detection (HTTP)");

  script_tag(name:"summary", value:"HTTP based detection of AVM FRITZ!WLAN Repeater devices.");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2019 Greenbone AG");
  script_family("Product detection");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  exit(0);
}

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

fingerprint["90ba7e91583241a9939cbf70b6d74403"] = "1750E";
fingerprint["0c3d43bd179516d9c8609b93c7311709"] = "310";
fingerprint["72d41ed2fce5d8c0e117efff045c8d6c"] = "450E";

port = http_get_port(default: 80);

res = http_get_cache(port: port, item: "/");
if (!res)
  exit(0);

# nb: For some reasons some non-german devices contains a non-breaking space here which
# doesn't match our check below so we're just stripping it away.
res = str_replace(string: res, find: raw_string( 0xC2, 0xA0 ), replace: " ");
if ("FRITZ!WLAN Repeater" >< res &&
    ('"GUI_IS_REPEATER":true' >< res || "facNotAllowedOr10Min" >< res || "g_HelpWin" >< res)) {
  set_kb_item(name: "avm_fritz_wlanrepeater/detected", value: TRUE);
  set_kb_item(name: "avm_fritz_wlanrepeater/http/detected", value: TRUE);
  set_kb_item(name: "avm_fritz_wlanrepeater/http/port", value: port);

  model   = "unknown";
  version = "unknown";

  # "bluBarTitle": "FRITZ!WLAN Repeater 310"
  # "bluBarTitle":"FRITZ!WLAN Repeater 1750E"
  mod = eregmatch(pattern: '"bluBarTitle":[ ]?"FRITZ!WLAN Repeater ([^"]+)"', string: res);
  if (!isnull(mod[1])) {
    model = mod[1];
    set_kb_item(name: "avm_fritz_wlanrepeater/http/" + port + "/concluded", value: mod[0]);
  }

  if (model == "unknown") {
    url = "/css/default/images/kopfbalken_mitte.gif";
    req = http_get(port: port, item: url);
    res = http_keepalive_send_recv(port: port, data: req, bodyonly: TRUE);
    if (!isnull(res)) {
      md5 = hexstr(MD5(res));
      if(fingerprint[md5]) {
        model = fingerprint[md5];
        set_kb_item(name: "avm_fritz_wlanrepeater/http/" + port + "/concluded", value: url);
      }
    }
  }

  set_kb_item(name: "avm_fritz_wlanrepeater/http/" + port + "/model", value: model);
  set_kb_item(name: "avm_fritz_wlanrepeater/http/" + port + "/version", value: version);
}

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

09 Sep 2025 00:00Current
7High risk
Vulners AI Score7
46