1. CVE archive
  2. 2018
  3. CVE-2018-5837

CVE-2018-5837

7.5 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 7.5 – High

Description

In Snapdragon (Automobile, Mobile, Wear) in version IPQ8074, MDM9206, MDM9607, MDM9640, MDM9650, MSM8996AU, QCA6574AU, SD 210/SD 212/SD 205, SD 425, SD 427, SD 430, SD 435, SD 450, SD 625, SD 820A, SD 835, SD 845, SD 850, SDA660, SDM429, SDM439, SDM630, SDM632, SDM636, SDM660, SDM710, Snapdragon_High_Med_2016, MAC address randomization performed during probe requests is not done properly due to a flawed RNG which produced repeating output much earlier than expected.

Affected products

VendorProductVersionPlatform
qualcomm ipq8074 firmware all –
qualcomm mdm9206 firmware all –
qualcomm mdm9607 firmware all –
qualcomm mdm9640 firmware all –
qualcomm mdm9650 firmware all –
qualcomm msm8996au firmware all –
qualcomm qca6574au firmware all –
qualcomm sd205 firmware all –
qualcomm sd210 firmware all –
qualcomm sd212 firmware all –
qualcomm sd425 firmware all –
qualcomm sd427 firmware all –
qualcomm sd430 firmware all –
qualcomm sd435 firmware all –
qualcomm sd450 firmware all –
qualcomm sd625 firmware all –
qualcomm sd820a firmware all –
qualcomm sd835 firmware all –
qualcomm sd845 firmware all –
qualcomm sd850 firmware all –
qualcomm sda660 firmware all –
qualcomm sdm429 firmware all –
qualcomm sdm439 firmware all –
qualcomm sdm630 firmware all –
qualcomm sdm632 firmware all –
qualcomm sdm636 firmware all –
qualcomm sdm660 firmware all –
qualcomm sdm710 firmware all –
All 224 Qualcomm Ipq8074 Firmware vulnerabilities

Vulnerability type

CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.

When a non-cryptographic PRNG is used in a cryptographic context, it can expose the cryptography to certain types of attacks. Often a pseudo-random number generator (PRNG) is not designed for cryptography. Sometimes a mediocre source of randomness is sufficient or preferable for algorithms that use random numbers. Weak generators generally take less processing power and/or do not use the precious, finite, entropy sources on a system. While such PRNGs might have very useful features, these same features could be used to break the cryptography.

Impact on systems

ScopeImpact
Access Control Bypass Protection Mechanism
If a PRNG is used for authentication and authorization, such as a session ID or a seed for generating a cryptographic key, then an attacker may be able to easily guess the ID or cryptographic key and gain access to restricted functionality.

How to prevent it

Implementation Use functions or hardware which use a hardware-based random number generation for all crypto. This is the recommended solution. Use CyptGenRandom on Windows, or hw_rand() on Linux.

All 221 CWE-338 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org