Lucene search
+L

OpenVAS Manager / Administrator Detection

🗓️ 02 Dec 2011 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 25 Views

OpenVAS Manager/Administrator Listenin

Refs
Code
SourceLink
openvaswww.openvas.org/
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(56822);
  script_version("1.5");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/06/01");

  script_name(english:"OpenVAS Manager / Administrator Detection");

  script_set_attribute(attribute:"synopsis", value:
"An OpenVAS service is listening on the remote port.");
  script_set_attribute(attribute:"description", value:
"An OpenVAS Manager or OpenVAS Administrator daemon is listening on the
remote port.  These are the components of OpenVAS that control the
scanner and schedule tasks.");
  script_set_attribute(attribute:"see_also", value:"http://www.openvas.org/");
  script_set_attribute(attribute:"solution", value:
"Disable this service if you do not use it.");
  script_set_attribute(attribute:"risk_factor", value:"None");

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

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:openvas:openvas_manager");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Service detection");

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

  script_dependencies("find_service2.nasl");
  script_require_ports("Services/unknown", 9390, 9393);

  exit(0);
}

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

function do_check(port)
{
  local_var s, response;
  if (silent_service(port) || known_service(port:port) || !get_tcp_port_state(port)) 
    audit(AUDIT_NOT_LISTEN, "OpenVAS Administrator / Manager", port);
  
  s = open_sock_tcp(port);
  if (!s) 
    audit(AUDIT_SOCK_FAIL, port);

  send(socket:s, data:'<authenticate><credentials><username>sally</username><password>secret</password></credentials></authenticate>');
  response = recv(socket:s, length:1024, min:21);
  close(s);

  if (!response) 
    audit(AUDIT_RESP_NOT, port, "an authenticate request");
  
  if ("authenticate_response" >< response)
  {
    register_service(port:port, ipproto:"tcp", proto:"openvasmd");
    security_note(port);
    exit(0);
  }
  audit(AUDIT_NOT_DETECT, "OpenVAS Administrator / Manager", port);
}

if (
  thorough_tests &&
  !get_kb_item("global_settings/disable_service_discovery")
)
{
  ports = add_port_in_list(list:get_kb_list("Services/unknown"), port:9390); # default port for OpenVAS Manager
  ports = add_port_in_list(list:ports, port:9393); # default port for OpenVAS Administrator
}
else ports = make_list(9390, 9393);

port = branch(ports);

do_check(port: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

01 Jun 2022 00:00Current
5.5Medium risk
Vulners AI Score5.5
25