OpenSSH MaxAuthTries Bypass

High Nessus Plugin ID 86122


The SSH server running on the remote host is affected by a security bypass vulnerability that allows password brute-force attacks.


The remote SSH server is affected by a security bypass vulnerability due to a flaw in the keyboard-interactive authentication mechanisms.
The kbdint_next_device() function in auth2-chall.c improperly restricts the processing of keyboard-interactive devices within a single connection. A remote attacker can exploit this, via a crafted keyboard-interactive 'devices' string, to bypass the normal restriction of 6 login attempts (MaxAuthTries), resulting in the ability to conduct a brute-force attack or cause a denial of service condition.


Upgrade to OpenSSH 7.0 or later.

Alternatively, this vulnerability can be mitigated on some Linux distributions by disabling the keyboard-interactive authentication method. This can be done on Red Hat Linux by setting 'ChallengeResponseAuthentication' to 'no' in the /etc/ssh/sshd_config configuration file and restarting the sshd service.

See Also

Plugin Details

Severity: High

ID: 86122

File Name: openssh_maxauthtries_bruteforce.nasl

Version: $Revision: 1.7 $

Type: remote

Family: Misc.

Published: 2015/09/24

Modified: 2017/12/20

Dependencies: 10267

Risk Information

Risk Factor: High


Base Score: 8.5

Temporal Score: 7

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 8.2

Temporal Score: 7.5

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:X

Vulnerability Information

CPE: cpe:/a:openbsd:openssh

Excluded KB Items: global_settings/supplied_logins_only

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2015/08/11

Vulnerability Publication Date: 2015/07/16

Reference Information

CVE: CVE-2015-5600

BID: 75990

OSVDB: 124938