1. Archivio CVE
  2. 2017
  3. CVE-2017-6768

CVE-2017-6768

7.8 Gravità alta CVSS v3.0 · fonte NVD CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

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).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
cisco application policy infrastructure controller 1.1(0.920a) –
cisco application policy infrastructure controller 1.1(1j) –
cisco application policy infrastructure controller 1.1(3f) –
cisco application policy infrastructure controller 1.2(2) –
cisco application policy infrastructure controller 1.2(3) –
cisco application policy infrastructure controller 1.2.2 –
cisco application policy infrastructure controller 1.2_base –
cisco application policy infrastructure controller 1.3(1) –
cisco application policy infrastructure controller 1.3(2) –
cisco application policy infrastructure controller 1.3(2f) –
cisco application policy infrastructure controller 2.0(1) –
cisco application policy infrastructure controller 2.0_base –
Tutte le 34 vulnerabilità di Cisco Application Policy Infrastructure Controller

Tipo di vulnerabilità

CWE-426 Percorso di ricerca non attendibile

Il prodotto cerca risorse critiche usando un percorso di ricerca fornito dall’esterno, che può puntare a risorse fuori dal suo controllo diretto.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità, Controllo degli accessi Ottenere privilegi o assumere un’altra identità, Eseguire codice o comandi non autorizzati
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere file o cartelle
Altro Dipende dal contesto

Come si previene

Architettura e progettazione · Sviluppo · Riduzione della superficie di attacco Hard-code the search path to a set of known-safe values (such as system directories), or only allow them to be specified by the administrator in a configuration file. Do not allow these settings to be modified by an external party. Be careful to avoid related weaknesses such as CWE-426 and CWE-428.
Sviluppo When invoking other programs, specify those programs using fully-qualified pathnames. While this is an effective approach, code that uses fully-qualified pathnames might not be portable to other systems that do not use the same pathnames. The portability can be improved by locating the full-qualified paths in a centralized, easily-modifiable location within the source code, and having the code refer to these paths.
Sviluppo Remove or restrict all environment settings before invoking other programs. This includes the PATH environment variable, LD_LIBRARY_PATH, and other settings that identify the location of code libraries, and any application-specific search paths.
Sviluppo Check your search path before use and remove any elements that are likely to be unsafe, such as the current working directory or a temporary files directory.
Sviluppo Use other functions that require explicit paths. Making use of any of the other readily available functions that require explicit paths is a safe way to avoid this problem. For example, system() in C does not require a full path since the shell can take care of it, while execl() and execv() require a full path.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 702 CVE di tipo CWE-426, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org