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

CVE-2020-11146

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

Out of bound write while copying data using IOCTL due to lack of check of array index received from user in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
qualcomm apq8076 tutte –
qualcomm aqt1000 tutte –
qualcomm ar8031 tutte –
qualcomm ar8035 tutte –
qualcomm csra6620 tutte –
qualcomm csra6640 tutte –
qualcomm msm8937 tutte –
qualcomm pm215 tutte –
qualcomm pm3003a tutte –
qualcomm pm4125 tutte –
qualcomm pm456 tutte –
qualcomm pm6125 tutte –
qualcomm pm6150 tutte –
qualcomm pm6150a tutte –
qualcomm pm6150l tutte –
qualcomm pm6250 tutte –
qualcomm pm6350 tutte –
qualcomm pm640a tutte –
qualcomm pm640l tutte –
qualcomm pm640p tutte –
qualcomm pm660 tutte –
qualcomm pm660l tutte –
qualcomm pm670 tutte –
qualcomm pm670l tutte –
qualcomm pm7150a tutte –
qualcomm pm7150l tutte –
qualcomm pm7250 tutte –
qualcomm pm7250b tutte –
qualcomm pm7350c tutte –
qualcomm pm8004 tutte –
qualcomm pm8005 tutte –
qualcomm pm8008 tutte –
qualcomm pm8009 tutte –
qualcomm pm8150 tutte –
qualcomm pm8150a tutte –
qualcomm pm8150b tutte –
qualcomm pm8150c tutte –
qualcomm pm8150l tutte –
qualcomm pm8250 tutte –
qualcomm pm8350 tutte –
qualcomm pm8350b tutte –
qualcomm pm8350bh tutte –
qualcomm pm8350bhs tutte –
qualcomm pm8350c tutte –
qualcomm pm855 tutte –
qualcomm pm855b tutte –
qualcomm pm855l tutte –
qualcomm pm855p tutte –
qualcomm pm8909 tutte –
qualcomm pm8916 tutte –
qualcomm pm8937 tutte –
qualcomm pm8952 tutte –
qualcomm pm8956 tutte –
qualcomm pm8998 tutte –
qualcomm pmc1000h tutte –
qualcomm pmd9655 tutte –
qualcomm pmi632 tutte –
qualcomm pmi8937 tutte –
qualcomm pmi8952 tutte –
qualcomm pmi8998 tutte –
qualcomm pmk7350 tutte –
qualcomm pmk8002 tutte –
qualcomm pmk8003 tutte –
qualcomm pmk8350 tutte –
qualcomm pmm6155au tutte –
qualcomm pmm8155au tutte –
qualcomm pmm8195au tutte –
qualcomm pmm855au tutte –
qualcomm pmr525 tutte –
qualcomm pmr735a tutte –
qualcomm pmr735b tutte –
qualcomm pmw3100 tutte –
qualcomm pmx55 tutte –
qualcomm qat3514 tutte –
qualcomm qat3516 tutte –
qualcomm qat3518 tutte –
qualcomm qat3519 tutte –
qualcomm qat3522 tutte –
qualcomm qat3550 tutte –
qualcomm qat3555 tutte –
qualcomm qat5515 tutte –
qualcomm qat5516 tutte –
qualcomm qat5522 tutte –
qualcomm qat5533 tutte –
qualcomm qat5568 tutte –
qualcomm qbt1500 tutte –
qualcomm qbt2000 tutte –
qualcomm qca4020 tutte –
qualcomm qca6174a tutte –
qualcomm qca6175a tutte –
qualcomm qca6310 tutte –
qualcomm qca6335 tutte –
qualcomm qca6390 tutte –
qualcomm qca6391 tutte –
qualcomm qca6420 tutte –
qualcomm qca6421 tutte –
qualcomm qca6426 tutte –
qualcomm qca6430 tutte –
qualcomm qca6431 tutte –
qualcomm qca6436 tutte –

Mostrate 100 configurazioni su 314. L'elenco completo è su NVD.

Tutte le 33 vulnerabilità di Qualcomm Pm8008

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 679 CVE di tipo CWE-129, con andamento e prevenzione

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