CVE-2015-5600
Description
OpenSSH through 6.9 fails to limit keyboard-interactive devices, enabling brute-force attacks and CPU exhaustion by repeating pam entries.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
OpenSSH through 6.9 fails to limit keyboard-interactive devices, enabling brute-force attacks and CPU exhaustion by repeating pam entries.
Vulnerability
The vulnerability resides in the kbdint_next_device function in auth2-chall.c of sshd. OpenSSH through version 6.9 does not properly restrict the processing of keyboard-interactive devices, allowing a client to specify a duplicative list of devices (e.g., pam,pam,...). This flaw enables bypassing the MaxAuthTries limit and can be triggered by using the -oKbdInteractiveDevices option with many repeated entries [1][3].
Exploitation
An attacker with network access to an SSH server can use a modified client to send an excessive list of keyboard-interactive devices. Each device triggers a separate authentication attempt, allowing numerous password guesses within a single connection without being limited by MaxAuthTries. For example, running ssh -l user -oKbdInteractiveDevices=$(perl -e 'print "pam," x 10000') target and then entering different passwords for each prompt [4]. This can also cause high CPU consumption on the server, leading to denial of service [1].
Impact
Successful exploitation allows an attacker to perform brute-force password guessing attacks far more efficiently, bypassing the configured maximum authentication attempts. This increases the likelihood of guessing a valid password. Additionally, the attack can cause significant CPU resource exhaustion, resulting in a denial of service condition [1][4].
Mitigation
The vulnerability is fixed in OpenSSH 7.0 (released August 11, 2015) and later versions [3]. Red Hat Enterprise Linux 6 received a backported fix in RHSA-2016-0466 [1]. Arista EOS fixed it in releases 4.12.11M, 4.13.13M, 4.14.10M, and 4.15.2F [4]. Users unable to upgrade should restrict SSH access to trusted networks and enforce strong password policies [4].
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
24- osv-coords22 versionspkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP3pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP4pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Desktop%2012pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP2-LTSSpkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%2012pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP3pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP3pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP4pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Desktop%2012pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP2-LTSSpkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%2012pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP3pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/openssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012
< 6.2p2-0.21.3+ 21 more
- (no CPE)range: < 6.2p2-0.21.3
- (no CPE)range: < 6.6p1-13.3
- (no CPE)range: < 6.6p1-29.1
- (no CPE)range: < 5.1p1-41.69.4
- (no CPE)range: < 6.2p2-0.21.3
- (no CPE)range: < 6.2p2-0.21.3
- (no CPE)range: < 6.6p1-13.3
- (no CPE)range: < 6.6p1-29.1
- (no CPE)range: < 6.2p2-0.21.3
- (no CPE)range: < 6.6p1-13.3
- (no CPE)range: < 6.6p1-29.1
- (no CPE)range: < 6.2p2-0.21.1
- (no CPE)range: < 6.6p1-13.1
- (no CPE)range: < 6.6p1-29.1
- (no CPE)range: < 5.1p1-41.69.1
- (no CPE)range: < 6.2p2-0.21.1
- (no CPE)range: < 6.2p2-0.21.1
- (no CPE)range: < 6.6p1-13.1
- (no CPE)range: < 6.6p1-29.1
- (no CPE)range: < 6.2p2-0.21.1
- (no CPE)range: < 6.6p1-13.1
- (no CPE)range: < 6.6p1-29.1
Patches
0No patches discovered yet.
Vulnerability mechanics
Root cause
"Missing restriction on the number of keyboard-interactive devices a client can request allows the server to loop through an attacker-supplied list, bypassing MaxAuthTries."
Attack vector
An attacker connects via SSH and sets the `-oKbdInteractiveDevices` option to a long, duplicative list (e.g., `pam,pam,...` repeated thousands of times). The server iterates through each device and prompts for a password, allowing the attacker to submit a different password for each prompt. This bypasses the `MaxAuthTries` limit (default 6) and enables up to tens of thousands of password guesses within the login grace period (default 2 minutes) [ref_id=2]. The attack is especially effective against FreeBSD systems, which enable keyboard-interactive authentication by default [ref_id=2].
Affected code
The vulnerability resides in `auth2-chall.c` in the `kbdint_next_device` function of sshd (OpenSSH through 6.9). The server does not restrict the number of keyboard-interactive devices a client can request in a single connection [ref_id=1].
What the fix does
The patch (auth2-chall.c r1.42→r1.43) prevents the server from processing duplicate keyboard-interactive device names. With this change, even a request like `-oKbdInteractiveDevices=pam,pam` is no longer honored — the server will not repeat the same device [ref_id=1]. This closes the brute-force amplification vector by ensuring the client cannot force the server to loop through an arbitrarily long list of devices.
Preconditions
- configThe target SSH server must have keyboard-interactive authentication enabled (default on FreeBSD).
- networkThe attacker must be able to initiate an SSH connection to the server.
- inputThe attacker must supply a crafted `-oKbdInteractiveDevices` option with a long, duplicative device list.
Reproduction
Execute: `ssh -lusername -oKbdInteractiveDevices=\`perl -e 'print "pam," x 10000'\` targethost`. This requests 10,000 keyboard-interactive devices, causing the server to prompt for a password for each one, allowing up to 10,000 password guesses within the login grace time [ref_id=2].
Generated on May 25, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
33- seclists.org/fulldisclosure/2015/Jul/92nvdExploit
- cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth2-chall.cnvd
- cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth2-chall.c.diffnvd
- kb.juniper.net/InfoCenter/indexnvd
- lists.apple.com/archives/security-announce/2015/Aug/msg00001.htmlnvd
- lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.htmlnvd
- lists.fedoraproject.org/pipermail/package-announce/2015-July/162955.htmlnvd
- lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.htmlnvd
- openwall.com/lists/oss-security/2015/07/23/4nvd
- rhn.redhat.com/errata/RHSA-2016-0466.htmlnvd
- www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.htmlnvd
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlnvd
- www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.htmlnvd
- www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlnvd
- www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.htmlnvd
- www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.htmlnvd
- www.securityfocus.com/bid/75990nvd
- www.securityfocus.com/bid/91787nvd
- www.securityfocus.com/bid/92012nvd
- www.securitytracker.com/id/1032988nvd
- www.ubuntu.com/usn/USN-2710-1nvd
- www.ubuntu.com/usn/USN-2710-2nvd
- cert-portal.siemens.com/productcert/pdf/ssa-412672.pdfnvd
- h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplaynvd
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplaynvd
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplaynvd
- kc.mcafee.com/corporate/indexnvd
- kc.mcafee.com/corporate/indexnvd
- lists.debian.org/debian-lts-announce/2018/09/msg00010.htmlnvd
- security.gentoo.org/glsa/201512-04nvd
- security.netapp.com/advisory/ntap-20151106-0001/nvd
- support.apple.com/kb/HT205031nvd
- www.arista.com/en/support/advisories-notices/security-advisories/1174-security-advisory-12nvd
News mentions
0No linked articles in our index yet.