1. Archivio CVE
  2. 2024
  3. CVE-2024-2637

CVE-2024-2637

7.2 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H 7.2 – Alta

Descrizione

An Uncontrolled Search Path Element vulnerability in B&R Industrial Automation Scene Viewer, B&R Industrial Automation Automation Runtime, B&R Industrial Automation mapp Vision, B&R Industrial Automation mapp View, B&R Industrial Automation mapp Cockpit, B&R Industrial Automation mapp Safety, B&R Industrial Automation VC4, B&R Industrial Automation APROL, B&R Industrial Automation CAN Driver, B&R Industrial Automation CAN Driver CC770, B&R Industrial Automation CAN Driver SJA1000, B&R Industrial Automation Tou0ch Lock, B&R Industrial Automation B&R Single-Touch Driver, B&R Industrial Automation Serial User Mode Touch Driver, B&R Industrial Automation Windows Settings Changer (LTSC), B&R Industrial Automation Windows Settings Changer (2019 LTSC), B&R Industrial Automation Windows 10 Recovery Solution, B&R Industrial Automation ADI driver universal, B&R Industrial Automation ADI Development Kit, B&R Industrial Automation ADI .NET SDK, B&R Industrial Automation SRAM driver, B&R Industrial Automation HMI Service Center, B&R Industrial Automation HMI Service Center Maintenance, B&R Industrial Automation Windows 10 IoT Enterprise 2019 LTSC, B&R Industrial Automation KCF Editor could allow an authenticated local attacker to execute malicious code by placing specially crafted files in the loading search path..This issue affects Scene Viewer: before 4.4.0; Automation Runtime: before J4.93; mapp Vision: before 5.26.1; mapp View: before 5.24.2; mapp Cockpit: before 5.24.2; mapp Safety: before 5.24.2; VC4: before 4.73.2; APROL: before 4.4-01; CAN Driver: before 1.1.0; CAN Driver CC770: before 3.3.0; CAN Driver SJA1000: before 1.3.0; Tou0ch Lock: before 2.1.0; B&R Single-Touch Driver: before 2.0.0; Serial User Mode Touch Driver: before 1.7.1; Windows Settings Changer (LTSC): before 3.2.0; Windows Settings Changer (2019 LTSC): before 2.2.0; Windows 10 Recovery Solution: before 3.2.0; ADI driver universal: before 3.2.0; ADI Development Kit: before 5.5.0; ADI .NET SDK: before 4.1.0; SRAM driver: before 1.2.0; HMI Service Center: before 3.1.0; HMI Service Center Maintenance: before 2.1.0; Windows 10 IoT Enterprise 2019 LTSC: through 1.1; KCF Editor: before 1.1.0.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
b&r industrial automation adi .net sdk < 4.1.0 –
b&r industrial automation adi development kit < 5.5.0 –
b&r industrial automation adi driver universal < 3.2.0 –
b&r industrial automation aprol < 4.4-01 –
b&r industrial automation automation runtime < J4.93 –
b&r industrial automation b&r single-touch driver < 2.0.0 –
b&r industrial automation can driver < 1.1.0 –
b&r industrial automation can driver cc770 < 3.3.0 –
b&r industrial automation can driver sja1000 < 1.3.0 –
b&r industrial automation hmi service center < 3.1.0 –
b&r industrial automation hmi service center maintenance < 2.1.0 –
b&r industrial automation kcf editor < 1.1.0 –
b&r industrial automation mapp cockpit < 5.24.2 –
b&r industrial automation mapp safety < 5.24.2 –
b&r industrial automation mapp view < 5.24.2 –
b&r industrial automation mapp vision < 5.26.1 –
b&r industrial automation scene viewer < 4.4.0 –
b&r industrial automation serial user mode touch driver < 1.7.1 –
b&r industrial automation sram driver < 1.2.0 –
b&r industrial automation tou0ch lock < 2.1.0 –
b&r industrial automation vc4 < 4.73.2 –
b&r industrial automation windows 10 iot enterprise 2019 ltsc <= 1.1 –
b&r industrial automation windows 10 recovery solution < 3.2.0 –
b&r industrial automation windows settings changer (2019 ltsc) < 2.2.0 –
b&r industrial automation windows settings changer (ltsc) < 3.2.0 –

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.215 CVE di tipo CWE-427, con andamento e prevenzione

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