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.
Originally disclosed on Zero Day Initiative
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.
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.