Zoom Attack Surface Overview
A deserialisation routine in Zoom's client and MMR server allocated a buffer using one length field but then read a second, attacker-controlled length into it, causing a heap buffer overflow. A related variant handling flaw let an attacker strip a null terminator so uninitialised memory was returned as a display name, leaking pointer data on the MMR server.
Published on googleprojectzero.blogspot.com
Zoom is a video conferencing platform that has gained popularity throughout the pandemic. Unlike other video conferencing systems that I have investigated, where one user initiates a call that other users must immediately accept or reject, Zoom calls are typically scheduled in advance and joined via an email…
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
Likely a length mismatch in deserialisation: the allocation size and the copy length were read from two different fields of the same attacker-controlled buffer, with no check that they agreed.
Impact
The overflow could crash Zoom clients and MMR servers and, with effort, may have led to code execution on the server, though heap verification, ASLR on libraries and the server's slow respawn limited a working exploit; the leak exposed pointer data to other users.
What the attacker needed
Ability to send crafted packets to client or MMR; a Zoom Webinar licence for the server bug; victim or server processes the packet
The fix
Both vulnerabilities were fixed on 24 November 2021, and ASLR was enabled for the MMR process in a later release.
How it was found
- Hook the client's SSL_write with Frida to observe and then alter outgoing serialised packets.
- Craft a packet whose declared buffer length differs from the string length that follows it.
- Send the malformed packet and observe the client crash on several platforms.
- For the leak, remove the null terminator from the user_name variant so the server converts it to a string.
- Log into Zoom in a browser and observe the leaked pointer data returned as the display name.
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.
Zoom's software unpacks messages from the network using a routine that first reserves space for a piece of text and then fills it. The code trusted a second, separate size number from the same message, so a crafted message could write more data than was reserved and corrupt nearby memory. A second bug let a text field without a proper end marker spill leftover memory contents back to the sender.
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.