Skip to content
Memory corruption Advisory Advanced CVE-2018-4462

Apple macOS AMDFramebuffer Integer Overflow Information Disclosure Vulnerability

An integer overflow in the getPixelInformationFromTiming method of Apple macOS's AMDFramebuffer driver allows a local attacker with low-privileged code execution to read sensitive kernel memory. The attacker could combine this with other flaws to escalate privileges to the kernel.

Lilang Wu Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows local attackers to disclose sensitive information on vulnerable installations of Apple macOS. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Lilang Wu, Moony Li of TrendMicro Mobile Security Research Team, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the getPixelInformationFromTiming method does not validate user-supplied values before using them in a calculation, leading to an integer overflow that affects a subsequent memory read.

Impact

A local attacker who can already run low-privileged code could disclose sensitive kernel information and, in conjunction with other vulnerabilities, escalate privileges to the kernel.

What the attacker needed

Local low-privileged code execution

The fix

Apple issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a bug in a graphics driver inside macOS. A program running with normal user permissions can send a specially crafted request that causes a maths error (an integer overflow), and the driver then reads memory it should not. That leaked memory might contain secrets that help an attacker take over the whole system.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.