Lucene search
+L

Anonymous NNTP Authentication Enabled

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

Anonymous NNTP Authentication Enabled. Allows remote users to connect and authenticate without providing a password or unique credentials

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

include("compat.inc");

if (description)
{
  script_id(57334);
  script_version("$Revision: 1.2 $");
  script_cvs_date("$Date: 2017/06/12 21:52:41 $");

  script_name(english:"Anonymous NNTP Authentication Enabled");
  script_summary(english:"Checks for anonymous authentication support.");

  script_set_attribute(attribute:"synopsis", value:
"Anonymous authentication is allowed on the remote NNTP server.");
  script_set_attribute(attribute:"description", value:
"This NNTP service allows anonymous authentication.  Any remote user
may connect and authenticate without providing a password or unique
credentials.");

  script_set_attribute(attribute:"see_also", value:"https://tools.ietf.org/html/rfc4422");
  script_set_attribute(attribute:"see_also", value:"https://tools.ietf.org/html/rfc4505");
  script_set_attribute(attribute:"see_also", value:"https://tools.ietf.org/html/rfc4643");

  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/12/19");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2011-2017 Tenable Network Security, Inc.");

  script_dependencies("nntp_authentication.nasl");
  script_require_ports("Services/nntp");

  exit(0);
}

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

port = get_service(svc:"nntp", exit_on_fail:TRUE);

# Get a list of both encrypted and unencrypted methods.
methods = make_list();

list = get_kb_list("nntp/" + port + "/auth");
if (!isnull(list))  methods = make_list(methods, list);

list = get_kb_list("nntp/" + port + "/auth_tls");
if (!isnull(list))  methods = make_list(methods, list);

if (max_index(methods) == 0)
  exit(0, "The NNTP server listening on port " + port + " doesn't support authentication.");

# Check if the ANONYMOUS method is supported.
anonymous = FALSE;
foreach method (methods)
{
  if (method == "ANONYMOUS")
  {
    anonymous = TRUE;
    break;
  }
}

# Store whether this port supports ANONYMOUS authentication in the KB.
set_kb_item(name:"nntp/" + port + "/anonymous", value:anonymous);

if (!anonymous)
  exit(0, "The NNTP server listening on port " + port + " doesn't support ANONYMOUS authentication.");

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

12 Jun 2017 21:52Current
5.4Medium risk
Vulners AI Score5.4
22