CVE-2016-10743
published 2019-03-23CVE-2016-10743: hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call.
PriorityP337high7.5CVSS 3.0
AVNACLPRNUINSUCNIHAN
EPSS
2.35%
81.6th percentile
hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | wpa | < wpa 2:2.6-7 (bookworm) | wpa 2:2.6-7 (bookworm) |
| w1.fi | hostapd | < 2.6 | 2.6 |
| w1.fi | wpa_supplicant | >= 0 < 2.1-0ubuntu1.7 | 2.1-0ubuntu1.7 |
| w1.fi | wpa_supplicant | >= 0 < 2.4-0ubuntu6.4 | 2.4-0ubuntu6.4 |
| w1.fi | wpa_supplicant | >= 0 < 2:2.6-15ubuntu2.2 | 2:2.6-15ubuntu2.2 |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
vendor_redhat·2020-02-27·CVSS 7.5
CVE-2019-10064 [HIGH] CWE-331 hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
Package: wpa_supplicant (Red Hat Enterprise Linux 5) - Not affected
Package: wpa_supplicant (Red Hat Enterprise Linux 6) - Not affected
Ubuntu
wpa_supplicant and hostapd vulnerabilities
vendor_ubuntu·2019-04-10·CVSS 7.5
CVE-2016-10743 [HIGH] wpa_supplicant and hostapd vulnerabilities
Title: wpa_supplicant and hostapd vulnerabilities
Summary: Several security issues were fixed in wpa_supplicant and hostapd.
It was discovered that wpa_supplicant and hostapd were vulnerable to a
side channel attack against EAP-pwd. A remote attacker could possibly use
this issue to recover certain passwords. (CVE-2019-9495)
Mathy Vanhoef discovered that wpa_supplicant and hostapd incorrectly
validated received scalar and element values in EAP-pwd-Commit messages. A
remote attacker could possibly use this issue to perform a reflection
attack and authenticate without the appropriate password. (CVE-2019-9497,
CVE-2019-9498, CVE-2019-9499)
It was discovered that hostapd incorrectly handled obtaining random
numbers. In rare cases where the urandom device isn't available, it would
fall back
Debian
CVE-2019-10064: wpa - hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard...
vendor_debian·2019·CVSS 7.5
CVE-2019-10064 [HIGH] CVE-2019-10064: wpa - hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard...
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
Scope: local
bookworm: resolved (fixed in 2:2.6-7)
bullseye: resolved (fixed in 2:2.6-7)
forky: resolved (fixed in 2:2.6-7)
sid: resolved (fixed in 2:2.6-7)
trixie: resolved (fixed in 2:2.6-7)
Red Hat
hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
vendor_redhat·2016-02-19·CVSS 7.5
CVE-2016-10743 [HIGH] CWE-331 hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call.
Package: wpa_supplicant (Red Hat Enterprise Linux 5) - Not affected
Package: wpa_supplicant (Red Hat Enterprise Linux 6) - Not affected
Debian
CVE-2016-10743: wpa - hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached ...
vendor_debian·2016·CVSS 7.5
CVE-2016-10743 [HIGH] CVE-2016-10743: wpa - hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached ...
hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call.
Scope: local
bookworm: resolved (fixed in 2:2.6-7)
bullseye: resolved (fixed in 2:2.6-7)
forky: resolved (fixed in 2:2.6-7)
sid: resolved (fixed in 2:2.6-7)
trixie: resolved (fixed in 2:2.6-7)
GHSA
GHSA-h5p7-cpc2-2j2r: hostapd before 2
ghsa_unreviewed·2022-05-24·CVSS 7.5
CVE-2019-10064 [HIGH] CWE-331 GHSA-h5p7-cpc2-2j2r: hostapd before 2
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
GHSA
GHSA-9m94-6895-mgv3: hostapd before 2
ghsa_unreviewed·2022-05-14
CVE-2016-10743 [HIGH] CWE-332 GHSA-9m94-6895-mgv3: hostapd before 2
hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call.
OSV
CVE-2019-10064: hostapd before 2
osv·2020-02-28·CVSS 7.5
CVE-2019-10064 [HIGH] CVE-2019-10064: hostapd before 2
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
OSV
wpa vulnerabilities
osv·2019-04-10·CVSS 7.5
CVE-2019-9495 [HIGH] wpa vulnerabilities
wpa vulnerabilities
It was discovered that wpa_supplicant and hostapd were vulnerable to a
side channel attack against EAP-pwd. A remote attacker could possibly use
this issue to recover certain passwords. (CVE-2019-9495)
Mathy Vanhoef discovered that wpa_supplicant and hostapd incorrectly
validated received scalar and element values in EAP-pwd-Commit messages. A
remote attacker could possibly use this issue to perform a reflection
attack and authenticate without the appropriate password. (CVE-2019-9497,
CVE-2019-9498, CVE-2019-9499)
It was discovered that hostapd incorrectly handled obtaining random
numbers. In rare cases where the urandom device isn't available, it would
fall back to using a low-quality PRNG. This issue only affected Ubuntu
14.04 LTS and Ubuntu 16.04 LTS. (CVE-2016-10
OSV
CVE-2016-10743: hostapd before 2
osv·2019-03-23·CVSS 7.5
CVE-2016-10743 [HIGH] CVE-2016-10743: hostapd before 2
hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-10064 hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
bugzilla·2020-03-06·CVSS 7.5
CVE-2019-10064 [HIGH] CVE-2019-10064 hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
CVE-2019-10064 hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
External Reference:
https://moabi.com/advisories/CVE-2019-10064.html
Discussion:
Analysis:
This issue is only triggered with WPS pin needs to be generated and there is no /dev/urandom device. Such a scenario should not be possible in a typical server configuration, and may be a case in case of IoT or embedded devices. Therefore marking Red Hat Products as not affected.
Bugzilla
CVE-2016-10743 hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
bugzilla·2020-03-06·CVSS 7.5
CVE-2016-10743 [HIGH] CVE-2016-10743 hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
CVE-2016-10743 hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call resulting in insufficient entropy.
External Reference:
https://moabi.com/advisories/CVE-2019-10064.html
Discussion:
Analysis:
This issue is only triggered with WPS pin needs to be generated and there is no /dev/urandom device. Such a scenario should not be possible in a typical server configuration, and may be a case in case of IoT or embedded devices. Therefore marking Red Hat Products as not affected.
http://packetstormsecurity.com/files/156573/Hostapd-Insufficient-Entropy.htmlhttp://seclists.org/fulldisclosure/2020/Feb/26http://www.openwall.com/lists/oss-security/2020/02/27/1http://www.openwall.com/lists/oss-security/2020/02/27/2https://lists.debian.org/debian-lts-announce/2019/03/msg00035.htmlhttps://usn.ubuntu.com/3944-1/https://w1.fi/cgit/hostap/commit/?id=98a516eae8260e6fd5c48ddecf8d006285da7389http://packetstormsecurity.com/files/156573/Hostapd-Insufficient-Entropy.htmlhttp://seclists.org/fulldisclosure/2020/Feb/26http://www.openwall.com/lists/oss-security/2020/02/27/1http://www.openwall.com/lists/oss-security/2020/02/27/2https://lists.debian.org/debian-lts-announce/2019/03/msg00035.htmlhttps://usn.ubuntu.com/3944-1/https://w1.fi/cgit/hostap/commit/?id=98a516eae8260e6fd5c48ddecf8d006285da7389
2019-03-23
Published