Lucene search
K

Anonymous SMTP Authentication Enabled

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

Anonymous SMTP Authentication Enabled. Allows any remote user to connect and authenticate without a password or unique credentials, turning the server into an open mail relay

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

include("compat.inc");

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

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

  script_set_attribute(
    attribute:"synopsis", 
    value:"Anonymous authentication is allowed on the remote SMTP server."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"This SMTP service allows anonymous authentication.  Any remote user
may connect and authenticate without providing a password or unique
credentials.  This may effectively turn the remote server into an open
mail relay."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://tools.ietf.org/html/rfc2245"
  );
  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/rfc4954"
  );

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

  script_category(ACT_GATHER_INFO);
  script_family(english:"SMTP problems");

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

  script_dependencies("smtp_authentication.nasl");

  exit(0);
}

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

port = get_service(svc:"smtp", default:25, exit_on_fail:TRUE);

# Get a list of both encrypted and unencrypted methods.
methods = make_list();
list = get_kb_list("smtp/" + port + "/auth");
if (!isnull(list))
  methods = make_list(methods, list);
list = get_kb_list("smtp/" + port + "/auth_tls");
if (!isnull(list))
  methods = make_list(methods, list);
if (!max_index(methods))
  exit(0, "SMTP server 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;
  }
}
if (!anonymous)
  exit(0, "SMTP server 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.5Medium risk
Vulners AI Score5.5
28