Apple MIE exploitation challenge
Two kernel bugs in Apple's SMBClient and WebDAV filesystem components can be triggered by a malicious SMB or WebDAV server. The SMB bug is a type confusion where a reply context name causes the client to reinterpret a Resolve ID object as a lease, and the WebDAV bug leaks uninitialised kernel memory because the kext copies out the requested length rather than the received length.
Published on blog.calif.io
Two months ago, we demonstrated the first public bypass of Apple MIE on macOS 26.4.1. We withheld the technical details until Apple shipped fixes, which are now available in macOS 26.6.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The client trusts attacker-supplied reply metadata: the SMB parser picks a struct type from the context name in the reply instead of the request, and the WebDAV kext copies the requested byte count without checking how many bytes actually arrived.
Impact
Combined, the two bugs could give kernel read/write primitives and code execution, though the authors note Apple MIE mitigations still sit between the bugs and root.
What the attacker needed
Victim mounts attacker's SMB or WebDAV share; malicious server controls replies; macOS with the affected components
The fix
The bugs were fixed in macOS 26.6, though the text does not describe the code changes.
How it was found
- Mount a malicious SMB or WebDAV share from the target Mac.
- For SMB, trigger a vnode lookup by inode, for example with the fsgetpath syscall, so the client sends a Resolve ID context.
- Have the malicious server reply with a lease context name instead, so the client reinterprets the Resolve ID object as a lease wrapper.
- For WebDAV, read a region of a stalled file far ahead of the downloaded prefix so the out-of-band read path is taken.
- Have the server answer with an empty 2xx response so the kext copies out uninitialised buffer contents.
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 write-up has not been written yet. The Original tab links to the source.
When your Mac mounts a network share, a small piece of the operating system kernel talks to the remote server. These two bugs mean a server you connect to can lie about what it sent back, so the kernel either treats one kind of data as another kind or hands back memory it never filled in. That can eventually let an attacker read and write kernel memory, which is the first step to taking full control of the machine.
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.