Skip to content
Memory corruption Advisory Advanced CVE-2021-34407

(Pwn2Own) Zoom Heap based Buffer Overflow Remote Code Execution Vulnerability

Encrypted messages processed by Zoom clients were copied into a fixed-length heap buffer without checking the length of the supplied data. A remote, unauthenticated attacker could send a crafted message to overflow the buffer and run code as the current user.

Daan Keuper Follow

Originally disclosed on Zero Day Initiative

High 7.3 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Zoom Clients. Authentication is not required to exploit this vulnerability.

Daan Keuper and Thijs Alkemade from Computest, 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

The code copied user-supplied data from encrypted messages into a fixed-length heap buffer without validating its length first.

Impact

A remote attacker with no authentication could execute arbitrary code in the context of the current user.

What the attacker needed

No authentication needed; attacker can send crafted encrypted messages

The fix

Zoom issued an update to correct the 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 program reserves a fixed amount of memory for incoming data, then copies whatever arrives into that space. If it never checks how much data is coming, extra data spills past the reserved area and overwrites nearby memory. An attacker can shape that spill so the program runs their own instructions instead of its normal ones.

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 by Daan Keuper

View all

2 more disclosed reports, best first.

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.