CVE-2014-3312 - Improper Authentication

Severity

69%

Complexity

34%

Confidentiality

165%

The debug console interface on Cisco Small Business SPA300 and SPA500 phones does not properly perform authentication, which allows local users to execute arbitrary debug-shell commands, or read or modify data in memory or a filesystem, via direct access to this interface, aka Bug ID CSCun77435.

The debug console interface on Cisco Small Business SPA300 and SPA500 phones does not properly perform authentication, which allows local users to execute arbitrary debug-shell commands, or read or modify data in memory or a filesystem, via direct access to this interface, aka Bug ID CSCun77435.

CVSS 2.0 Base Score 6.9. CVSS Attack Vector: local. CVSS Attack Complexity: medium. CVSS Vector: (AV:L/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

First reported 10 years ago

2014-07-09 11:07:00

Last updated 7 years ago

2017-08-29 01:34:00

Affected Software

Cisco SPA901 1-line IP Phone

Cisco SPA922 1-line IP Phone with 1-port Ethernet

Cisco SPA941 4-line IP Phone with 1-port Ethernet

Cisco SPA942 4-line IP Phone with 2-port Switch

Cisco SPA962 6-line IP Phone with 2-port Switch

Cisco SPA 301 1 Line IP Phone

Cisco SPA 303 3 Line IP Phone

Cisco SPA 501G 8-Line IP Phone

Cisco SPA 502G 1-Line IP Phone

Cisco SPA 504G 4-Line IP Phone

Cisco SPA 508G 8-Line IP Phone

Cisco SPA 509G 12-Line IP Phone

Cisco SPA 512G 1-Line IP Phone

Cisco SPA 514G 4-Line IP Phone

Cisco SPA 525G2 5-line IP Phone with Color Display

Cisco SPA 525G 5-line IP Phone with Color Display

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.