Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Qualcomm Atheros Universal WLAN Kernel Memory Disclosure

Medium

Synopsis

CVE-2019-10618: Kernel Memory Disclosure

Tenable has discovered vulnerabilities in Qualcomm Atheros Universal WLAN Driver Service affecting Qcamain10x64.sys version 12.0.0.910 and below. The vulnerability can allow a malicious low privileged user mode process to disclose kernel memory as well a sysem-wide Denial of Service (DoS). This is due to improper probe-for-read checks on buffers passed from user mode. The vulnerability can be observed by sending specific IOCTLs and buffers to the "ATH_WIFIDEV.00" device. 

The following 2 IOCTLs result in DoS (BSOD) if combined with NULL input buffers:

  • IOCTL_EVENT_OBJECT 0x220203 // Doesn't validate input buffer
  • IOCTL_PPDULOG_CMD 0x220207 // Doesn't validate input buffer

The following two IOCTLs can trigger kernel memory disclosure:

  • IOCTL_SET_POWER_LIMIT 0x22020B // Doesn't validate input buffer
  • IOCTL_GET_PCI_DATA 0x220043 // Doesn't validate input buffer

The kernel memory leak can be triggered by sending IOCTL_SET_POWER_LIMIT with an input buffer in kernel memory range. This will cause power level to be set to what ever is in that kernel memory buffer. This can be read back by an attacker using "get_tx_power" command via IOCTL of 0x220183. The same can be done using IOCTL_GET_PCI_DATA with a kernel memory input buffer.

Solution

Upgrade to Qualcomm Atheros Universal WLAN 12.0.0.926 or higher.

Proof of Concept

https://github.com/tenable/poc/blob/master/Qualcomm/Atheros/QcomWlanSrv/cve-2019-10618.cpp

Disclosure Timeline

8/16/2019 - Tenable discloses vulnerabilities to [email protected]
8/16/2019 - Qualcomm acknowledges report
8/29/2019 - Qualcomm verified vulnerabilities and rated issue as "Medium". Says internal teams are working on a fix.
9/16/2019 - Tenable acknowledges update.
9/16/2019 - Qualcomm assigns CVE-2019-10618 for the issue
9/18/2019 - Tenable notifies expected advisory release date
10/29/2019 - Tenable asks what version will have CVE-2019-10618 patches
11/5/2019 - Qualcomm notifies Tenable of fixed version release
11/5/2019 - Qualcomm notifies Tenable of public disclosure

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

CVE ID: CVE-2019-10618
Tenable Advisory ID: TRA-2019-47
Credit:
David Wells
CVSSv2 Base / Temporal Score:
5.2
CVSSv2 Vector:
AV:L/AC:L/Au:S/C:P/I:N/A:C
Affected Products:
Qualcomm Atheros Universal WLAN Service versions below 12.0.0.926
Risk Factor:
Medium

Advisory Timeline

11/06/2019 - Initial Publication