Lucene search
K

Buffalo LinkStation Detection

🗓️ 27 Feb 2013 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 20 Views

The remote host is a Buffalo LinkStation device, a NAS storage device with an embedded web server

Refs
Code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(64914);
  script_version("1.7");
  script_cvs_date("Date: 2020/01/22");

  script_name(english:"Buffalo LinkStation Detection");
  script_summary(english:"Looks for a Buffalo LinkStation device");

  script_set_attribute(attribute:"synopsis", value:"The remote host is a storage device.");
  script_set_attribute(attribute:"description", value:
"The remote host is a Buffalo LinkStation device, a NAS storage device
with an embedded web server.");
  script_set_attribute(attribute:"see_also", value:"https://www.buffalotech.com/products/category/network-attached-storage-nas");
  script_set_attribute(attribute:"solution", value:"n/a");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2013/02/27");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:buffalo:linkstation");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"hardware_inventory", value:"True");
  script_set_attribute(attribute:"os_identification", value:"True");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("http_version.nasl");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");

port = get_http_port(default:80);

appname = "Buffalo LinkStation";

url = "/";
initialPage = http_get_cache(item:url, port:port, exit_on_fail:TRUE);
if ('content="0;url=/cgi-bin/top.cgi"' >!< initialPage) audit(AUDIT_NOT_DETECT, appname, port);

installs = make_array();
url = "/cgi-bin/top.cgi";

res = http_send_recv3(method:"GET", item:url, port:port, exit_on_fail:TRUE);
if (
  "<title>LinkStation - LS-" >< res[2] &&
  "(C) BUFFALO INC. All Rights Reserved." >< res[2] &&
  "Please Provide your User Name and Password" >< res[2]
)
{
  ver = NULL;
  match = eregmatch(string:res[2], pattern:"<title>LinkStation\s*-\s*(.*)[\s]+\(.*\)</title>");
  if (!isnull(match)) ver = match[1];

  installs = add_install(
    installs : installs,
    port     : port,
    dir      : "/",
    ver      : ver,
    appname  : "buffalo_linkstation",
    cpe  : "cpe:/h:buffalo:linkstation"
  );
}
else audit(AUDIT_NOT_DETECT, appname, port);

set_kb_item(name:"Services/www/"+port+"/embedded", value:TRUE);
if (report_verbosity > 0)
{
  report = get_install_report(
    display_name : appname,
    installs     : installs,
    port         : port
  );
  security_note(port:port, extra:report);
}
else security_note(port);

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 Jan 2020 00:00Current
5.5Medium risk
Vulners AI Score5.5
20