1. Archivio CVE
  2. 2020
  3. CVE-2020-3630

CVE-2020-3630

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

Descrizione

Possibility of out of bound access while processing the responses from video firmware in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables in APQ8009, APQ8053, APQ8096AU, APQ8098, Kamorta, MDM9150, MDM9206, MDM9207C, MDM9607, MDM9640, MDM9650, MSM8909W, MSM8917, MSM8953, MSM8996, MSM8996AU, MSM8998, Nicobar, QCM2150, QCS405, QCS605, QM215, Rennell, SA415M, SA6155P, Saipan, SC8180X, SDA660, SDM429, SDM429W, SDM439, SDM450, SDM630, SDM632, SDM636, SDM660, SDM670, SDM710, SDM845, SDX20, SDX24, SDX55, SM6150, SM7150, SM8150, SM8250, SXR1130, SXR2130

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
qualcomm apq8009 firmware tutte –
qualcomm apq8053 firmware tutte –
qualcomm apq8096au firmware tutte –
qualcomm apq8098 firmware tutte –
qualcomm kamorta firmware tutte –
qualcomm mdm9150 firmware tutte –
qualcomm mdm9206 firmware tutte –
qualcomm mdm9207c firmware tutte –
qualcomm mdm9607 firmware tutte –
qualcomm mdm9640 firmware tutte –
qualcomm mdm9650 firmware tutte –
qualcomm msm8909w firmware tutte –
qualcomm msm8917 firmware tutte –
qualcomm msm8953 firmware tutte –
qualcomm msm8996 firmware tutte –
qualcomm msm8996au firmware tutte –
qualcomm msm8998 firmware tutte –
qualcomm nicobar firmware tutte –
qualcomm qcm2150 firmware tutte –
qualcomm qcs405 firmware tutte –
qualcomm qcs605 firmware tutte –
qualcomm qm215 firmware tutte –
qualcomm rennell firmware tutte –
qualcomm sa415m firmware tutte –
qualcomm sa6155p firmware tutte –
qualcomm saipan firmware tutte –
qualcomm sc8180x firmware tutte –
qualcomm sda660 firmware tutte –
qualcomm sdm429 firmware tutte –
qualcomm sdm429w firmware tutte –
qualcomm sdm439 firmware tutte –
qualcomm sdm450 firmware tutte –
qualcomm sdm630 firmware tutte –
qualcomm sdm632 firmware tutte –
qualcomm sdm636 firmware tutte –
qualcomm sdm660 firmware tutte –
qualcomm sdm670 firmware tutte –
qualcomm sdm710 firmware tutte –
qualcomm sdm845 firmware tutte –
qualcomm sdx20 firmware tutte –
qualcomm sdx24 firmware tutte –
qualcomm sdx55 firmware tutte –
qualcomm sm6150 firmware tutte –
qualcomm sm7150 firmware tutte –
qualcomm sm8150 firmware tutte –
qualcomm sm8250 firmware tutte –
qualcomm sxr1130 firmware tutte –
qualcomm sxr2130 firmware tutte –
Tutte le 340 vulnerabilità di Qualcomm Mdm9150 Firmware

Tipo di vulnerabilità

CWE-129 Validazione impropria dell’indice di un array

Il prodotto usa un input non attendibile per calcolare o usare l’indice di un array, senza verificare che indichi una posizione valida.

Impatto sui sistemi

AmbitoImpatto
Integrità, Disponibilità Interruzione del servizio: arresto o riavvio
Integrità Modificare la memoria
Riservatezza, Integrità Modificare la memoria, Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati
Integrità, Disponibilità, Riservatezza Interruzione del servizio: arresto o riavvio, Eseguire codice o comandi non autorizzati, Leggere la memoria, Modificare la memoria

Come si previene

Architettura e progettazione · Validazione dell’input Usa un framework di validazione dell’input come Struts o la Validation API di OWASP ESAPI. Un framework non risolve da solo tutti i problemi di validazione: attenzione agli errori che possono nascere da un suo uso scorretto (CWE-1173).
Architettura e progettazione Per ogni controllo di sicurezza eseguito lato client, ripeti lo stesso controllo lato server, per evitare CWE-602: un attaccante può aggirare i controlli del client modificando i valori dopo il controllo o eliminando del tutto i controlli dal client, e inviare poi al server i valori modificati. I controlli lato client restano comunque utili: aiutano a rilevare le intrusioni (se il server riceve un input che il client avrebbe dovuto rifiutare, può essere il segnale di un attacco), danno all’utente indicazioni utili sull’input atteso e riducono, seppure di poco, il lavoro del server per gli errori involontari.
Requisiti · Scelta del linguaggio Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, Ada allows the programmer to constrain the values of a variable and languages such as Java and Ruby will allow the programmer to handle exceptions when an out-of-bounds index is accessed.
Esercizio · Build e compilazione · Hardening dell’ambiente Run or compile the software using features or extensions that randomly arrange the positions of a program's executable and libraries in memory. Because this makes the addresses unpredictable, it can prevent an attacker from reliably jumping to exploitable code. Examples include Address Space Layout Randomization (ASLR) and Position-Independent Executables (PIE). Imported modules may be similarly realigned if their default memory addresses conflict with other modules, in a process known as rebasing (for Windows) and prelinking (for Linux) using randomly generated addresses. ASLR for libraries cannot be used in conjunction with prelink since it would require relocating the libraries at run-time, defeating the whole purpose of prelinking. For more information on these techniques see D3-SAOR (Segment Address Offset Randomization) from D3FEND.
Esercizio · Hardening dell’ambiente Use a CPU and operating system that offers Data Execution Protection (using hardware NX or XD bits) or the equivalent techniques that simulate this feature in software, such as PaX. These techniques ensure that any instruction executed is exclusively at a memory address that is part of the code segment. For more information on these techniques see D3-PSEP (Process Segment Execution Prevention) from D3FEND.
Sviluppo · Validazione dell’input Assume all input is malicious. Use an accept known good input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, boat may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as red or blue. Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright. When accessing a user-controlled array index, use a stringent range of values that are within the target array. Make sure that you do not allow negative values to be used. That is, verify the minimum as well as the maximum of the range of acceptable values.
Sviluppo Valida con particolare cura gli input quando richiami codice che attraversa il confine tra linguaggi diversi, per esempio da un linguaggio interpretato a codice nativo: possono nascere interazioni impreviste. Rispetta le aspettative del linguaggio con cui interagisci: per esempio Java non è esposto ai buffer overflow, ma passare un argomento molto grande a codice nativo può provocarne uno.
Architettura e progettazione · Esercizio · Hardening dell’ambiente Run your code using the lowest privileges that are required to accomplish the necessary tasks. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

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

Tutte le 676 CVE di tipo CWE-129, con andamento e prevenzione

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