Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Privilege Escalation Flaws Impact Apple IntelHD5000 Kernel Extension

Vulnerabilities in the IntelHD5000 kernel extension used in Apple OSX 10.13 could be exploited for privilege escalation, Cisco Talos security researchers have discovered.

Vulnerabilities in the IntelHD5000 kernel extension used in Apple OSX 10.13 could be exploited for privilege escalation, Cisco Talos security researchers have discovered.

The use-after-free memory corruption issues exist in the kernel extension when dealing with graphics resources inside of macOS High Sierra. Exploitation of the vulnerabilities would require for a library to be inserted into the VLC media application to cause an out-of-bounds access inside of the KEXT (Kernel Extension). 

Apple’s macOS platform supports multiple different GPU versions with different kernel extensions available to ensure proper interaction between user space and the kernel.

With the retina MacBook Pro shipped with an Apple Intel HD 5000 processor, the respective kernel extension is used in graphics rendering and processing. The extension, however, is subject to a use-after-free privilege escalation vulnerability, Talos says. 

Tracked as CVE-2018-4456 and CVE-2018-4421, the flaws are also reachable from inside the Safari sandbox, which means that the attack surface is potentially much larger, the security researchers say. They also claim to have discovered a third issue, but no CVE number has been assigned yet.

The kernel extension uses “a restricted subset language and a unique way of communication between userspace and the kernel known as IOKit,” Talos explains. While an IOKit extension registers its own methods to handle user interaction, various types can be passed in to connect to different UserClients stored under the same umbrella name. 

The vulnerabilities are basically the same, with the main difference between them being the values that can be replaced and the values they can be replaced with. 

The execute function handling the data buffers attains and accesses an object, but also checks that the data is not null. If the check fails, the resource object is accessed again and a new value is returned and then used directly without any further verification. 

Advertisement. Scroll to continue reading.

“This object is a reference to the object passed into delete above, creating a use-after-free scenario. This can be leveraged by an attacker to execute arbitrary code in the context of the kernel. The attacker also has a large window of time to set up the attack as the execute function above is actually triggered from user space as well,” the security researchers explain. 

The issues were found in Apple OS X 10.13.4 running on MacBookPro11.4. Patches were released in early December 2018. 

“As this vulnerability can be triggered potentially via the Safari web browser, it’s always important for users to understand that impacted software, drivers and libraries are widely used throughout an operating system’s own ecosystem,” Talos concludes. 

Related: Apple Patches Tens of Flaws in iOS, macOS, Safari

Related: Apple Patches Passcode Bypass, FaceTime Flaws in iOS

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

Vulnerabilities

The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.