Sunday, November 24, 2024
HomeComputer SecurityMemory Corruption Flaw in macOS Let Hackers run Malicious Code with Root...

Memory Corruption Flaw in macOS Let Hackers run Malicious Code with Root Privileges

Published on

Security researchers discovered a double free vulnerability in macOS caused by memory corruption flaw in the AMD component. Successful exploitation of the vulnerability allows an attacker to escalate privilege and to run malicious code as a root user.

The vulnerability can be tracked as CVE-2019-8635, and it covers two flaws “namely in the discard_StretchTex2Tex method and processing of sideband tokens in an AMD Radeon class called AMDRadeonX400_AMDSIGLContext,”

discard_StretchTex2Tex and AMDRadeonX400_AMDSIGLContext are the derived classes of IOAccelGLContext2 which extend to IOAccelContext2 class, and the classes are used to render graphics on macOS machines.

- Advertisement - SIEM as a Service

“The vulnerability here occurs in the discard_StretchTex2Tex and AMDSIGLContext::process_StretchTex2Tex functions of the AMDRadeonX4000_AMDSIGLContext class, which can be accessed using the AMDRadeonX4000_AMDSIGLContext userclient with selector 2 function IOAccelContext2::submit_data_buffers, while the AMDRadeonX4000_AMDGraphicsAccelerator client can be opened with connect type 1”.

AMDRadeonX4000_AMDSIGLContext discard_StretchTex2Tex

The flaw is due to lack of validation of the data supplied from the user end, which allows an attacker to take advantage of this to escalate privileges to the kernel level. To execute the vulnerability, the local attacker should have the ability to run a low-privileged code on the target macOS system.

AMDRadeonX4000_AMDSIGLContext

The vulnerability resides in the processing of the sideband tokens that exist in the same AMD class; it allows a local attacker to execute arbitrary code on the affected versions of macOS.

To execute this vulnerability, a local attacker should have privileges to run a low-privileged code on the target system to take advantage of this vulnerability.

Trend Micro reported the flaw to Apple and patch has bee released. With the two flaws, the execution method remains the same but differs in the function taken advantage of. You can find the complete root cause analysis here.

An attacker could utilize the double free vulnerability to compromise the vulnerable machine; users are recommended to upgrade their OS X versions.

You can follow us on Linkedin, Twitter, Facebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep yourself updated.

macOS Zero-Day Vulnerability Allows Hackers to Bypass Security Protections With Synthetic Clicks

Hackers Launching Unique Windows and MacOS Malware via Fake WhatsApp Official Website

Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

Nearest Neighbor Attacks: Russian APT Hack The Target By Exploiting Nearby Wi-Fi Networks

Recent research has revealed that a Russian advanced persistent threat (APT) group, tracked as...

240+ Domains Used By PhaaS Platform ONNX Seized by Microsoft

Microsoft's Digital Crimes Unit (DCU) has disrupted a significant phishing-as-a-service (PhaaS) operation run by...

Russian TAG-110 Hacked 60+ Users With HTML Loaded & Python Backdoor

The Russian threat group TAG-110, linked to BlueDelta (APT28), is actively targeting organizations in...

Earth Kasha Upgraded Their Arsenal With New Tactics To Attack Organizations

Earth Kasha, a threat actor linked to APT10, has expanded its targeting scope to...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

FortiClient VPN Flaw Enables Undetected Brute-Force Attacks

A design flaw in the logging mechanism of Fortinet's VPN servers has been uncovered,...

macOS WorkflowKit Race Vulnerability Allows Malicious Apps to Intercept Shortcuts

A race condition vulnerability in Apple's WorkflowKit has been identified, allowing malicious applications to...

Trend Micro Deep Security Vulnerable to Command Injection Attacks

Trend Micro has released a critical update addressing a remote code execution (RCE) vulnerability...