Lucene search
K

Apache CouchDB Detection

🗓️ 09 Feb 2011 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 23 Views

The remote server is running CouchDB, a document-oriented database system written in Erlang

Refs
Code
SourceLink
couchdbwww.couchdb.apache.org/
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(51922);
  script_version("1.10");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/09/22");

  script_xref(name:"IAVT", value:"0001-T-0529");

  script_name(english:"Apache CouchDB Detection");
  script_summary(english:"Looks for CouchDB");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote server is running a document-oriented database system
written in Erlang."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote server is running CouchDB, a document-oriented database
system written in Erlang."
  );
  script_set_attribute(attribute:"see_also", value:"http://couchdb.apache.org/");
  script_set_attribute(attribute:"solution", value:"n/a");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2011/02/09");

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

  script_category(ACT_GATHER_INFO);
  script_family(english:"Databases");

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

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

  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:5984);
ver      = NULL;
installs = NULL;
ver_pat  = "^CouchDB/([0-9.]+)";

server_header = http_server_header(port:port);
if (!server_header) exit(0, "The web server on port "+port+" does not include a Server response header in its banner.");
if ("CouchDB" >!< server_header) exit(0, "The Server response header in the banner from the web server on port "+port+" is not from CouchDB.");

matches = eregmatch(pattern:ver_pat, string:server_header);
if (matches[1]) ver = matches[1];

set_kb_item(name:"www/"+port+"/couchdb/source", value:server_header);

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

if (report_verbosity > 0)
{
  report = get_install_report(
    display_name : 'CouchDB',
    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 Sep 2020 00:00Current
5.5Medium risk
Vulners AI Score5.5
23