CVE Vulnerabilities

CVE-2017-3819

Missing Authentication for Critical Function

Published: Mar 15, 2017 | Modified: Oct 03, 2019
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
9 HIGH
AV:N/AC:L/Au:S/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

A privilege escalation vulnerability in the Secure Shell (SSH) subsystem in the StarOS operating system for Cisco ASR 5000 Series, ASR 5500 Series, ASR 5700 Series devices, and Cisco Virtualized Packet Core could allow an authenticated, remote attacker to gain unrestricted, root shell access. The vulnerability is due to missing input validation of parameters passed during SSH or SFTP login. An attacker could exploit this vulnerability by providing crafted user input to the SSH or SFTP command-line interface (CLI) during SSH or SFTP login. An exploit could allow an authenticated attacker to gain root privileges access on the router. Note: Only traffic directed to the affected system can be used to exploit this vulnerability. This vulnerability can be triggered via both IPv4 and IPv6 traffic. An established TCP connection toward port 22, the SSH default port, is needed to perform the attack. The attacker must have valid credentials to login to the system via SSH or SFTP. The following products have been confirmed to be vulnerable: Cisco ASR 5000/5500/5700 Series devices running StarOS after 17.7.0 and prior to 18.7.4, 19.5, and 20.2.3 with SSH configured are vulnerable. Cisco Virtualized Packet Core - Single Instance (VPC-SI) and Distributed Instance (VPC-DI) devices running StarOS prior to N4.2.7 (19.3.v7) and N4.7 (20.2.v0) with SSH configured are vulnerable. Cisco Bug IDs: CSCva65853.

Weakness

The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.

Affected Software

Name Vendor Start Version End Version
Asr_5000_series_software Cisco 18.0.0 (including) 18.0.0 (including)
Asr_5000_series_software Cisco 18.0.0.57828 (including) 18.0.0.57828 (including)
Asr_5000_series_software Cisco 18.0.0.59167 (including) 18.0.0.59167 (including)
Asr_5000_series_software Cisco 18.0.0.59211 (including) 18.0.0.59211 (including)
Asr_5000_series_software Cisco 18.0.l0.59219 (including) 18.0.l0.59219 (including)
Asr_5000_series_software Cisco 18.1.0 (including) 18.1.0 (including)
Asr_5000_series_software Cisco 18.1.0.59776 (including) 18.1.0.59776 (including)
Asr_5000_series_software Cisco 18.1.0.59780 (including) 18.1.0.59780 (including)
Asr_5000_series_software Cisco 18.1_base (including) 18.1_base (including)
Asr_5000_series_software Cisco 18.3.0 (including) 18.3.0 (including)
Asr_5000_series_software Cisco 18.3_base (including) 18.3_base (including)
Asr_5000_series_software Cisco 18.4.0 (including) 18.4.0 (including)
Asr_5000_series_software Cisco 19.0.1 (including) 19.0.1 (including)
Asr_5000_series_software Cisco 19.0.m0.60737 (including) 19.0.m0.60737 (including)
Asr_5000_series_software Cisco 19.0.m0.60828 (including) 19.0.m0.60828 (including)
Asr_5000_series_software Cisco 19.0.m0.61045 (including) 19.0.m0.61045 (including)
Asr_5000_series_software Cisco 19.1.0 (including) 19.1.0 (including)
Asr_5000_series_software Cisco 19.1.0.61559 (including) 19.1.0.61559 (including)
Asr_5000_series_software Cisco 19.2.0 (including) 19.2.0 (including)
Asr_5000_series_software Cisco 19.3.0 (including) 19.3.0 (including)
Asr_5000_series_software Cisco 20.0.0 (including) 20.0.0 (including)
Virtualized_packet_core Cisco v18.0_base (including) v18.0_base (including)
Virtualized_packet_core Cisco v19.0_base (including) v19.0_base (including)
Virtualized_packet_core Cisco v20.0_base (including) v20.0_base (including)

Extended Description

As data is migrated to the cloud, if access does not require authentication, it can be easier for attackers to access the data from anywhere on the Internet.

Potential Mitigations

  • Divide the software into anonymous, normal, privileged, and administrative areas. Identify which of these areas require a proven user identity, and use a centralized authentication capability.
  • Identify all potential communication channels, or other means of interaction with the software, to ensure that all channels are appropriately protected. Developers sometimes perform authentication at the primary channel, but open up a secondary channel that is assumed to be private. For example, a login mechanism may be listening on one network port, but after successful authentication, it may open up a second port where it waits for the connection, but avoids authentication because it assumes that only the authenticated party will connect to the port.
  • In general, if the software or protocol allows a single session or user state to persist across multiple connections or channels, authentication and appropriate credential management need to be used throughout.
  • Where possible, avoid implementing custom authentication routines and consider using authentication capabilities as provided by the surrounding framework, operating system, or environment. These may make it easier to provide a clear separation between authentication tasks and authorization tasks.
  • In environments such as the World Wide Web, the line between authentication and authorization is sometimes blurred. If custom authentication routines are required instead of those provided by the server, then these routines must be applied to every single page, since these pages could be requested directly.
  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator [REF-45].

References