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

CVE-2017-8162

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

Descrizione

AR120-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR1200 with software V200R006C10, V200R006C13, V200R007C00, V200R007C01, V200R007C02, V200R008C20, V200R008C30,AR1200-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR150 with software V200R006C10, V200R007C00, V200R007C01, V200R007C02, V200R008C20, V200R008C30,AR150-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR160 with software V200R006C10, V200R006C12, V200R007C00, V200R007C01, V200R007C02, V200R008C20, V200R008C30,AR200 with software V200R006C10, V200R007C00, V200R007C01, V200R008C20, V200R008C30,AR200-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR2200 with software V200R006C10, V200R006C13, V200R006C16PWE, V200R007C00, V200R007C01, V200R007C02, V200R008C20, V200R008C30,AR2200-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR3200 with software V200R006C10, V200R006C11, V200R007C00, V200R007C01, V200R007C02, V200R008C00, V200R008C10, V200R008C20, V200R008C30,AR510 with software V200R006C10, V200R006C12, V200R006C13, V200R006C15, V200R006C16, V200R006C17, V200R007C00, V200R008C20, V200R008C30,NetEngine16EX with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,SMC2.0 with software V100R003C10, V100R005C00, V500R002C00, V600R006C00,SRG1300 with software V200R006C10, V200R007C00, V200R007C02, V200R008C20, V200R008C30,SRG2300 with software V200R006C10, V200R007C00, V200R007C02, V200R008C20, V200R008C30,SRG3300 with software V200R006C10, V200R007C00, V200R008C20, V200R008C30 have a DoS vulnerability. Due to incorrect malformed message processing logic, an authenticated, remote attacker could send specially crafted message to the target device.Successful exploit of the vulnerability could cause stack overflow and make a service unavailable.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
huawei ar120-s firmware v200r006c10 –
huawei ar120-s firmware v200r007c00 –
huawei ar120-s firmware v200r008c20 –
huawei ar120-s firmware v200r008c30 –
huawei ar1200 firmware v200r006c10 –
huawei ar1200 firmware v200r006c13 –
huawei ar1200 firmware v200r007c00 –
huawei ar1200 firmware v200r007c01 –
huawei ar1200 firmware v200r007c02 –
huawei ar1200 firmware v200r008c20 –
huawei ar1200 firmware v200r008c30 –
huawei ar1200-s firmware v200r006c10 –
huawei ar1200-s firmware v200r007c00 –
huawei ar1200-s firmware v200r008c20 –
huawei ar1200-s firmware v200r008c30 –
huawei ar150 firmware v200r008c30 –
huawei ar150 firmware v200r006c10 –
huawei ar150 firmware v200r007c00 –
huawei ar150 firmware v200r007c01 –
huawei ar150 firmware v200r007c02 –
huawei ar150 firmware v200r008c20 –
huawei ar150-s firmware v200r006c10 –
huawei ar150-s firmware v200r007c00 –
huawei ar150-s firmware v200r008c20 –
huawei ar150-s firmware v200r008c30 –
huawei ar160 firmware v200r006c10 –
huawei ar160 firmware v200r006c12 –
huawei ar160 firmware v200r007c00 –
huawei ar160 firmware v200r007c01 –
huawei ar160 firmware v200r007c02 –
huawei ar160 firmware v200r008c20 –
huawei ar160 firmware v200r008c30 –
huawei ar200 firmware v200r006c10 –
huawei ar200 firmware v200r007c00 –
huawei ar200 firmware v200r007c01 –
huawei ar200 firmware v200r008c20 –
huawei ar200 firmware v200r008c30 –
huawei ar200-s firmware v200r006c10 –
huawei ar200-s firmware v200r007c00 –
huawei ar200-s firmware v200r008c20 –
huawei ar200-s firmware v200r008c30 –
huawei ar2200 firmware v200r006c10 –
huawei ar2200 firmware v200r006c13 –
huawei ar2200 firmware v200r006c16pwe –
huawei ar2200 firmware v200r007c00 –
huawei ar2200 firmware v200r007c01 –
huawei ar2200 firmware v200r007c02 –
huawei ar2200 firmware v200r008c20 –
huawei ar2200 firmware v200r008c30 –
huawei ar2200-s firmware v200r006c10 –
huawei ar2200-s firmware v200r007c00 –
huawei ar2200-s firmware v200r008c20 –
huawei ar2200-s firmware v200r008c30 –
huawei ar3200 firmware v200r006c10 –
huawei ar3200 firmware v200r006c11 –
huawei ar3200 firmware v200r007c00 –
huawei ar3200 firmware v200r007c01 –
huawei ar3200 firmware v200r007c02 –
huawei ar3200 firmware v200r008c00 –
huawei ar3200 firmware v200r008c10 –
huawei ar3200 firmware v200r008c20 –
huawei ar3200 firmware v200r008c30 –
huawei ar510 firmware v200r006c10 –
huawei ar510 firmware v200r006c12 –
huawei ar510 firmware v200r006c13 –
huawei ar510 firmware v200r006c15 –
huawei ar510 firmware v200r006c16 –
huawei ar510 firmware v200r006c17 –
huawei ar510 firmware v200r007c00 –
huawei ar510 firmware v200r008c20 –
huawei ar510 firmware v200r008c30 –
huawei netengine16ex firmware v200r006c10 –
huawei netengine16ex firmware v200r007c00 –
huawei netengine16ex firmware v200r008c20 –
huawei netengine16ex firmware v200r008c30 –
huawei smc2.0 firmware v100r003c10 –
huawei smc2.0 firmware v100r005c00 –
huawei smc2.0 firmware v500r002c00 –
huawei smc2.0 firmware v600r006c00 –
huawei srg1300 firmware v200r006c10 –
huawei srg1300 firmware v200r007c00 –
huawei srg1300 firmware v200r007c02 –
huawei srg1300 firmware v200r008c20 –
huawei srg1300 firmware v200r008c30 –
huawei srg2300 firmware v200r006c10 –
huawei srg2300 firmware v200r007c00 –
huawei srg2300 firmware v200r007c02 –
huawei srg2300 firmware v200r008c20 –
huawei srg2300 firmware v200r008c30 –
huawei srg3300 firmware v200r006c10 –
huawei srg3300 firmware v200r007c00 –
huawei srg3300 firmware v200r008c20 –
huawei srg3300 firmware v200r008c30 –
Tutte le 52 vulnerabilità di Huawei Ar3200 Firmware

Tipo di vulnerabilità

CWE-119 Restrizione impropria delle operazioni entro i limiti di un buffer di memoria

Il prodotto opera su un buffer di memoria, ma legge o scrive in una posizione che si trova al di fuori dei limiti previsti per quel buffer.

Impatto sui sistemi

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

Come si previene

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, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
Architettura e progettazione · Librerie o framework Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
Esercizio · Build e compilazione · Hardening dell’ambiente Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Sviluppo Consider adhering to the following rules when allocating and managing an application's memory: Double check that the buffer is as large as specified. When using functions that accept a number of bytes to copy, such as strncpy(), be aware that if the destination buffer size is equal to the source buffer size, it may not NULL-terminate the string. Check buffer boundaries if accessing the buffer in a loop and make sure there is no danger of writing past the allocated space. If necessary, truncate all input strings to a reasonable length before passing them to the copy and concatenation functions.
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 Replace unbounded copy functions with analogous functions that support length arguments, such as strcpy with strncpy. Create these if they are not available.

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

Tutte le 13.785 CVE di tipo CWE-119, con andamento e prevenzione

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