SSH Weak Key Exchange Algorithms Enabled

low Nessus Plugin ID 153953

Synopsis

The remote SSH server is configured to allow weak key exchange algorithms.

Description

The remote SSH server is configured to allow key exchange algorithms which are considered weak.

This is based on the IETF draft document Key Exchange (KEX) Method Updates and Recommendations for Secure Shell (SSH) RFC9142. Section 4 lists guidance on key exchange algorithms that SHOULD NOT and MUST NOT be enabled. This includes:

diffie-hellman-group-exchange-sha1

diffie-hellman-group1-sha1

gss-gex-sha1-*

gss-group1-sha1-*

gss-group14-sha1-*

rsa1024-sha1

Note that this plugin only checks for the options of the SSH server, and it does not check for vulnerable software versions.

Solution

Contact the vendor or consult product documentation to disable the weak algorithms.

See Also

https://datatracker.ietf.org/doc/html/rfc9142

Plugin Details

Severity: Low

ID: 153953

File Name: ssh_weak_key_exchange_enabled.nasl

Version: 1.4

Type: remote

Family: Misc.

Published: 10/13/2021

Updated: 3/22/2024

Supported Sensors: Nessus

Risk Information

CVSS Score Rationale: Tenable score for weak key exchange

CVSS v2

Risk Factor: Low

Base Score: 2.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:N

CVSS Score Source: manual

CVSS v3

Risk Factor: Low

Base Score: 3.7

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N