Skip to content
Memory corruption Advisory Advanced CVE-2020-3839

Apple macOS IO80211Family Stack-based Buffer Overflow Information Disclosure Vulnerability

The IO80211Family kernel extension in Apple macOS fails to validate the length of user-supplied data before copying it into a fixed-length stack buffer. A local attacker with low-privileged code execution could disclose sensitive kernel memory and, in combination with other flaws, escalate privileges.

s0ngsari @ Theori Follow

Originally disclosed on Zero Day Initiative

High 7.1 View original

This vulnerability allows local attackers to disclose sensitive information on affected 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.

s0ngsari @ Theori, Lee @ Seoul National University, 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 a missing length check before copying user-controlled data into a fixed-size stack buffer in the IO80211Family kernel extension.

Impact

A local attacker with low-privileged code execution could disclose sensitive kernel information and, when combined with other vulnerabilities, escalate privileges to the kernel.

What the attacker needed

Local access to the target macOS system; ability to execute low-privileged code

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.

A kernel extension is a piece of code that runs with the highest privileges inside the operating system. Here, it copies data from a user without checking how long that data is, so it can overflow a small reserved memory area and leak secret information from the kernel. An attacker who already runs a normal program on the machine could use this to read protected memory and possibly gain more control.

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.