CVE-2015-6280 - Improper Authentication

Severity

93%

Complexity

86%

Confidentiality

165%

The SSHv2 functionality in Cisco IOS 15.2, 15.3, 15.4, and 15.5 and IOS XE 3.6E before 3.6.3E, 3.7E before 3.7.1E, 3.10S before 3.10.6S, 3.11S before 3.11.4S, 3.12S before 3.12.3S, 3.13S before 3.13.3S, and 3.14S before 3.14.1S does not properly implement RSA authentication, which allows remote attackers to obtain login access by leveraging knowledge of a username and the associated public key, aka Bug ID CSCus73013.

The SSHv2 functionality in Cisco IOS 15.2, 15.3, 15.4, and 15.5 and IOS XE 3.6E before 3.6.3E, 3.7E before 3.7.1E, 3.10S before 3.10.6S, 3.11S before 3.11.4S, 3.12S before 3.12.3S, 3.13S before 3.13.3S, and 3.14S before 3.14.1S does not properly implement RSA authentication, which allows remote attackers to obtain login access by leveraging knowledge of a username and the associated public key, aka Bug ID CSCus73013.

CVSS 2.0 Base Score 9.3. CVSS Attack Vector: network. CVSS Attack Complexity: medium. CVSS Vector: (AV:N/AC:M/Au:N/C:C/I:C/A:C).

Demo Examples

Improper Authentication

CWE-287

The following code intends to ensure that the user is already logged in. If not, the code performs authentication with the user-provided username and password. If successful, it sets the loggedin and user cookies to "remember" that the user has already logged in. Finally, the code performs administrator tasks if the logged-in user has the "Administrator" username, as recorded in the user cookie.


               
}
}
ExitError("Error: you need to log in first");
);
);
DoAdministratorTasks();

Unfortunately, this code can be bypassed. The attacker can set the cookies independently so that the code does not check the username and password. The attacker could do this with an HTTP request containing headers such as:


               
[body of request]

By setting the loggedin cookie to "true", the attacker bypasses the entire authentication check. By using the "Administrator" value in the user cookie, the attacker also gains privileges to administer the software.

Improper Authentication

CWE-287

Overview

Type

Cisco IOS

First reported 9 years ago

2015-09-28 02:59:00

Last updated 8 years ago

2017-01-04 19:33:00

Affected Software

Cisco IOS 15.2(1)SY

15.2\(1\)sy

Cisco IOS 15.2(1)SY0A

15.2\(1\)sy0a

Cisco IOS 15.2(2)E

15.2\(2\)e

Cisco IOS 15.2(2)E1

15.2\(2\)e1

Cisco IOS 15.2(2)E2

15.2\(2\)e2

Cisco IOS 15.2(2a)E1

15.2\(2a\)e1

Cisco IOS 15.2(2a)E2

15.2\(2a\)e2

Cisco IOS 15.2(3)E

15.2\(3\)e

Cisco IOS 15.2(3)EA

15.2\(3\)ea

Cisco IOS 15.2(3a)E

15.2\(3a\)e

Cisco IOS 15.3(3)M1

15.3\(3\)m1

Cisco IOS 15.3(3)M2

15.3\(3\)m2

Cisco IOS 15.3(3)M3

15.3\(3\)m3

Cisco IOS 15.3(3)M4

15.3\(3\)m4

Cisco IOS 15.3(3)M5

15.3\(3\)m5

Cisco IOS 15.3(3)s

15.3\(3\)s

Cisco IOS 15.3(3)S1

15.3\(3\)s1

Cisco IOS 15.3(3)S1A

15.3\(3\)s1a

Cisco IOS 15.3(3)S2

15.3\(3\)s2

Cisco IOS 15.3(3)S3

15.3\(3\)s3

Cisco IOS 15.3(3)S4

15.3\(3\)s4

Cisco IOS 15.3(3)S5

15.3\(3\)s5

Cisco IOS 15.4(1)CG

15.4\(1\)cg

Cisco IOS 15.4(1)CG1

15.4\(1\)cg1

Cisco IOS 15.4(1)S

15.4\(1\)s

Cisco IOS 15.4(1)S1

15.4\(1\)s1

Cisco IOS 15.4(1)S2

15.4\(1\)s2

Cisco IOS 15.4(1)S3

15.4\(1\)s3

Cisco IOS 15.4(1)t

15.4\(1\)t

Cisco IOS 15.4(1)T1

15.4\(1\)t1

Cisco IOS 15.4(1)T2

15.4\(1\)t2

Cisco IOS 15.4(1)T3

15.4\(1\)t3

Cisco IOS 15.4(2)S

15.4\(2\)s

Cisco IOS 15.4(2)S1

15.4\(2\)s1

Cisco IOS 15.4(2)S2

15.4\(2\)s2

Cisco IOS 15.4(2)T

15.4\(2\)t

Cisco IOS 15.4(2)T1

15.4\(2\)t1

Cisco IOS 15.4(2)T2

15.4\(2\)t2

Cisco IOS 15.4(3)M

15.4\(3\)m

Cisco IOS 15.4(3)M1

15.4\(3\)m1

Cisco IOS 15.4(3)M2

15.4\(3\)m2

Cisco IOS 15.4(3)S

15.4\(3\)s

Cisco IOS 15.4(3)S1

15.4\(3\)s1

Cisco IOS 15.4(3)S2

15.4\(3\)s2

Cisco IOS 15.5(1)S

15.5\(1\)s

Cisco IOS 15.5(1)T

15.5\(1\)t

Cisco IOS XE Software 3.6E.0

3.6e.0

Cisco IOS XE Software 3.6E.1

3.6e.1

Cisco IOS XE Software 3.7E.0

3.7e.0

Cisco IOS XE 3.10S.0

3.10s.0

Cisco IOS XE Software 3.10S.0A

3.10s.0a

Cisco IOS XE 3.10S.01

3.10s.01

Cisco IOS XE 3.10S.1

3.10s.1

Cisco IOS XE 3.10S.2

3.10s.2

Cisco IOS XE 3.10S.3

3.10s.3

Cisco IOS XE 3.10S.4

3.10s.4

Cisco IOS XE 3.10S.5

3.10s.5

Cisco IOS XE 3.11S.0

3.11s.0

Cisco IOS XE 3.11S.1

3.11s.1

Cisco IOS XE 3.11S.2

3.11s.2

Cisco IOS XE 3.11S.3

3.11s.3

Cisco IOS XE 3.12S.0

3.12s.0

Cisco IOS XE 3.12S.1

3.12s.1

Cisco IOS XE 3.12S.2

3.12s.2

Cisco IOS XE 3.13S.0

3.13s.0

Cisco IOS XE Software 3.13S.1

3.13s.1

Cisco IOS XE Software 3.13S.2

3.13s.2

Cisco IOS XE 3.14S.0

3.14s.0

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.