Lucene search
K

Apache Hadoop HDFS NameNode Web Detection

🗓️ 22 Oct 2010 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 17 Views

Apache Hadoop HDFS NameNode Web Detection. Checks for the NameNode status page. The web interface for a NameNode was detected on the remote host. A NameNode is the master server in a Hadoop Distributed File System (HDFS) cluster

Refs
Code
SourceLink
nessuswww.nessus.org/u
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(50306);
  script_version("1.8");
  script_cvs_date("Date: 2019/11/25");

  script_name(english:"Apache Hadoop HDFS NameNode Web Detection");
  script_summary(english:"Checks for the NameNode status page");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The web interface of a node in a distributed file system was detected
on the remote host."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The web interface for a NameNode was detected on the remote host.
A NameNode is the master server in a Hadoop Distributed File System
(HDFS) cluster."
  );
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?090ac656");
  script_set_attribute(attribute:"solution", value:"Limit incoming traffic to this port if desired.");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2010/10/22");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:apache:hadoop");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_end_attributes();

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

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

  script_dependencies("http_version.nasl");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 50070);

  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:50070);
pattern = 'Version:(</td>| )<td> *([0-9.]+)';
installs = NULL;

# AFAICT this always comes bundled with Jetty and is served
# out of the web root
dir = '';
page = '/dfshealth.jsp';
url = dir + page;

res = http_send_recv3(method:'GET', item:url, port:port, exit_on_fail:TRUE);

if ('<title>Hadoop NameNode' >!< res[2])
  exit(0, 'A NameNode interface wasn\'t detected on port '+port+'.');

ver = NULL;
match = eregmatch(string:res[2], pattern:pattern, icase:TRUE);
if (match) ver = match[2];

installs = add_install(
  installs:installs,
  dir:dir,
  ver:ver,
  appname:'hdfs_namenode',
  port:port,
  cpe: "cpe:/a:apache:hadoop"
);

if (report_verbosity > 0)
{
  report = get_install_report(
    display_name:'HDFS NameNode',
    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

25 Nov 2019 00:00Current
5.5Medium risk
Vulners AI Score5.5
17