Skip to content
RCE Write-up Advanced

Finding the Initial Vector

The Zoom macOS client's ZoomOpener helper accepted a domain parameter that was only checked by suffix matching, so a crafted domain could point the updater at an attacker-controlled server. Because the downloaded installer package was installed without integrity checks, an attacker could get code execution on the victim's Mac.

blog.assetnote.io

Published on blog.assetnote.io

Last week, Jonathan Leitschuch wrote an excellent blog post covering the vulnerabilities within Zoom’s Mac client. Jonathan’s research was independent of ours, and since the vulnerabilities are now patched, we wanted to disclose a remote code execution with the same root cause, and share our story of coming across the…

Assetnote Team, on blog.assetnote.io

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 domain allow-list check used a suffix match instead of an exact host comparison, and the downloaded package was installed without any integrity or signature verification.

Impact

An attacker could achieve remote code execution on a victim's macOS machine, though the text notes that the necessary pre-condition was that Zoom had been uninstalled after being previously installed, and that the techniques no longer work in the latest versions.

What the attacker needed

MacOS victim; Zoom previously installed then uninstalled; victim visits attacker page or link

The fix

The behaviour was fixed by Zoom and Apple, and the text says the leftover ZoomOpener folder is no longer created after uninstall.

How it was found

  1. Send a request to the local ZoomOpener web server's launch endpoint with a crafted domain value.
  2. The server fetches the expected download path from the attacker's server, which returns the expected information.
  3. The attacker's server serves a malicious .terminal profile as the payload.
  4. ZoomOpener downloads the file and passes it to the installer, then calls installComplete:, which opens the file and runs the command.

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 Mac app included a small background program that could download and install updates. It decided whether a download address was trusted by only looking at how the address ended, so an attacker could build an address that ended with a trusted name but actually pointed at their own server. The app then installed whatever it downloaded without checking who made it, letting the attacker run their own code.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.