HeadlinesBriefing favicon HeadlinesBriefing.com

CORS Misunderstanding Leaves Zoom Vulnerable to Web Attacks

Hacker News •
×

Web developers consistently struggle with Cross-Origin Resource Sharing, and the recent Zoom vulnerability illustrates why this knowledge gap matters. Security researcher Jonathan Leitschuh discovered Zoom's localhost webserver at port 19421 accepts requests from any website, not just Zoom's domain.

Zoom implemented an image-based workaround instead of proper CORS headers to communicate with their native desktop client. The webserver returns data through image dimensions rather than standard API responses, circumventing browser security policies. This approach allowed any malicious site to trigger Zoom operations and access responses.

A secure implementation would set Access-Control-Allow-Origin: https://zoom.us on the localhost webserver, restricting access to Zoom's domain only. The company could also add Content Security Policy headers to prevent iframe embedding. Instead, Zoom's design violates basic security principles by granting universal localhost access.

This isn't an isolated incident. Stack Overflow overflows with insecure CORS examples, and Express.js documentation recommends vulnerable defaults. Whether the API complexity or developer education is at fault, the current situation creates preventable security holes that affect real products and users.