CVE Vulnerabilities

CVE-2017-6768

Untrusted Search Path

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

A vulnerability in the build procedure for certain executable system files installed at boot time on Cisco Application Policy Infrastructure Controller (APIC) devices could allow an authenticated, local attacker to gain root-level privileges. The vulnerability is due to a custom executable system file that was built to use relative search paths for libraries without properly validating the library to be loaded. An attacker could exploit this vulnerability by authenticating to the device and loading a malicious library that can escalate the privilege level. A successful exploit could allow the attacker to gain root-level privileges and take full control of the device. The attacker must have valid user credentials to log in to the device. Cisco Bug IDs: CSCvc96087. Known Affected Releases: 1.1(0.920a), 1.1(1j), 1.1(3f); 1.2 Base, 1.2(2), 1.2(3), 1.2.2; 1.3(1), 1.3(2), 1.3(2f); 2.0 Base, 2.0(1).

Weakness

The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product’s direct control.

Affected Software

Name Vendor Start Version End Version
Application_policy_infrastructure_controller Cisco 1.1(0.920a) (including) 1.1(0.920a) (including)
Application_policy_infrastructure_controller Cisco 1.1(1j) (including) 1.1(1j) (including)
Application_policy_infrastructure_controller Cisco 1.1(3f) (including) 1.1(3f) (including)
Application_policy_infrastructure_controller Cisco 1.2(2) (including) 1.2(2) (including)
Application_policy_infrastructure_controller Cisco 1.2(3) (including) 1.2(3) (including)
Application_policy_infrastructure_controller Cisco 1.2.2 (including) 1.2.2 (including)
Application_policy_infrastructure_controller Cisco 1.2_base (including) 1.2_base (including)
Application_policy_infrastructure_controller Cisco 1.3(1) (including) 1.3(1) (including)
Application_policy_infrastructure_controller Cisco 1.3(2) (including) 1.3(2) (including)
Application_policy_infrastructure_controller Cisco 1.3(2f) (including) 1.3(2f) (including)
Application_policy_infrastructure_controller Cisco 2.0(1) (including) 2.0(1) (including)
Application_policy_infrastructure_controller Cisco 2.0_base (including) 2.0_base (including)

Extended Description

This might allow attackers to execute their own programs, access unauthorized data files, or modify configuration in unexpected ways. If the product uses a search path to locate critical resources such as programs, then an attacker could modify that search path to point to a malicious program, which the targeted product would then execute. The problem extends to any type of critical resource that the product trusts. Some of the most common variants of untrusted search path are:

Potential Mitigations

References