Lucene search
K

SSL/TLS Recommended Cipher Suites

🗓️ 20 Jan 2022 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 549 Views

The remote host advertises discouraged cipher suites for SSL/TLS ports. Enable support for specific cipher suites for better security

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

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(156899);
  script_version("1.4");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/02/12");

  script_name(english:"SSL/TLS Recommended Cipher Suites");

  script_set_attribute(attribute:"synopsis", value:"The remote host advertises discouraged SSL/TLS ciphers.");
  script_set_attribute(attribute:"description", value:
"The remote host has open SSL/TLS ports which advertise discouraged cipher suites. It is recommended to only enable
support for the following cipher suites:

TLSv1.3:
  - 0x13,0x01 TLS13_AES_128_GCM_SHA256
  - 0x13,0x02 TLS13_AES_256_GCM_SHA384
  - 0x13,0x03 TLS13_CHACHA20_POLY1305_SHA256

TLSv1.2:
  - 0xC0,0x2B ECDHE-ECDSA-AES128-GCM-SHA256
  - 0xC0,0x2F ECDHE-RSA-AES128-GCM-SHA256
  - 0xC0,0x2C ECDHE-ECDSA-AES256-GCM-SHA384
  - 0xC0,0x30 ECDHE-RSA-AES256-GCM-SHA384
  - 0xCC,0xA9 ECDHE-ECDSA-CHACHA20-POLY1305
  - 0xCC,0xA8 ECDHE-RSA-CHACHA20-POLY1305

This is the recommended configuration for the vast majority of services, as it is highly secure and compatible with
nearly every client released in the last five (or more) years.");
  script_set_attribute(attribute:"see_also", value:"https://wiki.mozilla.org/Security/Server_Side_TLS");
  script_set_attribute(attribute:"see_also", value:"https://ssl-config.mozilla.org/");
  script_set_attribute(attribute:"solution", value:"Only enable support for recommened cipher suites.");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2022/01/20");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_end_attributes();

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

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

  script_dependencies("ssl_supported_ciphers.nasl");
  script_exclude_keys("global_settings/disable_test_ssl_based_services");
  exit(0);
}

include('ssl_tls_recommended_ciphers.inc');

if (get_kb_item('global_settings/disable_test_ssl_based_services'))
  exit(1, 'Not testing SSL based services per user config.');

var ports_and_discouraged_ciphers = ssl_tls_ciphers::get_discouraged_ciphers();

if (empty_or_null(keys(ports_and_discouraged_ciphers)))
  audit(AUDIT_HOST_NOT, 'affected');

var report_header =
'The remote host has listening SSL/TLS ports which advertise the discouraged cipher suites outlined below:\n\n';

foreach var port (sort(keys(ports_and_discouraged_ciphers)))
{
  var report = report_header + cipher_report(ports_and_discouraged_ciphers[port]);
  security_report_v4(port:port, extra:report, severity:SECURITY_NOTE);
}

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 Feb 2024 00:00Current
5.5Medium risk
Vulners AI Score5.5
549