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

CVE-2017-5567

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

Descrizione

Code injection vulnerability in Avast Premier 12.3 (and earlier), Internet Security 12.3 (and earlier), Pro Antivirus 12.3 (and earlier), and Free Antivirus 12.3 (and earlier) allows a local attacker to bypass a self-protection mechanism, inject arbitrary code, and take full control of any Avast process via a "DoubleAgent" attack. One perspective on this issue is that (1) these products do not use the Protected Processes feature, and therefore an attacker can enter an arbitrary Application Verifier Provider DLL under Image File Execution Options in the registry; (2) the self-protection mechanism is intended to block all local processes (regardless of privileges) from modifying Image File Execution Options for these products; and (3) this mechanism can be bypassed by an attacker who temporarily renames Image File Execution Options during the attack.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
avast free antivirus <= 12.3 –
avast internet security <= 12.3 –
avast premier <= 12.3 –
avast pro antivirus <= 12.3 –
Tutte le 9 vulnerabilità di Avast Free Antivirus

Tipo di vulnerabilità

CWE-427 Elemento del percorso di ricerca non controllato

Il prodotto cerca le risorse in un elenco di percorsi, ma uno o più di quei percorsi possono essere controllati da soggetti non previsti, che vi collocano file malevoli (per esempio librerie).

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Eseguire codice o comandi non autorizzati

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 · Riduzione della superficie di attacco 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 · Riduzione della superficie di attacco 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. Since this is a denylist approach, it might not be a complete solution.
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 finding the program using the PATH environment variable, while execl() and execv() require a full path.

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

Tutte le 1.208 CVE di tipo CWE-427, con andamento e prevenzione

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