From the archive
Facebook says older versions of the WhatsApp desktop app, which uses Electron, let hackers access files on macOS and Windows via a malicious link in messages
Sean Gallagher / Ars Technica :
Context & ripple effects
The vulnerability lands on a desktop client whose history is well documented in the related coverage: WhatsApp shipped its Windows and Mac desktop app back in 2016, and the Electron framework underneath it is now the attack surface. The disclosure also extends a rough 2019 for Facebook's messaging security team — first the video-file handling bug that could allow remote code execution, then the Check Point researchers' claim that a message-tampering flaw went unaddressed for a year.
What makes this one matter beyond the patch is the delivery mechanism: a malicious link inside an ordinary chat message, which turns every contact into a potential delivery channel and puts the desktop app squarely in the same threat model as the mobile-targeted attacks covered elsewhere in this thread.
First-order effects
- Anyone still running an older version of the WhatsApp desktop app on macOS or Windows has local files reachable by an attacker who can get them to click a link in a message — the immediate fix is updating the client.
- Facebook now has to push a forced-update cycle across a desktop install base it does not control as tightly as its mobile apps, where app-store distribution handles patching.
Second-order effects
- Security teams at enterprises that allowed WhatsApp desktop will re-evaluate whether a cross-platform Electron client belongs on managed machines, weighing convenience against a second file-access path alongside the browser.
- Rivals with native desktop clients gain a concrete talking point on client architecture, and Electron itself takes another reputational hit that other apps built on the framework will have to answer for.
Third-order effects
- If the pattern holds — a video-file RCE in 2019, an Electron file-access hole in 2020, and later the zero-click iOS and Mac bug used against specifically targeted users — messaging clients consolidate into the primary intrusion vector for targeted attacks, pushing vendors toward hardened, auto-updating clients and away from shared frameworks whose flaws propagate across every app built on them.
The trend: Messaging apps are becoming the front door for targeted device compromise, and each disclosed client flaw accelerates the shift from convenient cross-platform frameworks to hardened, platform-native clients.
Related: Electron · WhatsApp · WhatsApp video-file remote code execution flaw · Check Point's year-old WhatsApp message-tampering disclosure · WhatsApp launches Windows and Mac desktop app
Related coverage
- View article
- WhatsApp Bug Allows Malicious Code-Injection, One-Click RCE
- WhatsApp desktop app vulnerabilities led to remote file access, code execution
- WhatsApp desktop security flaw gave intruders remote access to files
- WhatsApp bug let hackers access computers with only a text message
More related coverage
- WhatsApp Security Flaw Enables Hackers To Read Stored Files On Any Device
- Cybersecurity researcher exposed security flaws in WhatsApp: Report
- WhatsApp flaw gave hackers access to files from Windows and Macs
- WhatsApp client flaw allows hackers to read files stored on any device
- WhatsApp Desktop App for Mac Update Patches Security Flaw That Led to Remote File Access, Code Execution
Discussion
Critical Security Flaw Found in WhatsApp Desktop Platform Allowing Cybercriminals Read From The File System Access
🔥 CVE-2019-18426 #WhatsApp for Web and Desktop contained multiple vulnerabilities, which, when combined together, could have even allowed remote attackers to read files from a victim's local file-system just by sending messages. Read details: https://thehackernews.com/... #infose…
Security issues found in the @WhatsApp desktop client allowed hackers to view locally-stored files, a security gaffe that could have been prevented by @Facebook updating @electronjs. https://appleinsider.com/... https://twitter.com/...
More discussion
Awesome write-up !! Open-Redirect -> Persistent-XSS -> CSP-bypass -> Read The Local File System on Windows and Mac https://www.perimeterx.com/...
Proud to share (long after the rest of the world) the research I did which led me to finding one of the greatest security flaws found in WhatsApp in the past few years. Have a read and tell me what you think! https://www.perimeterx.com/...
Can't help think a lot of people would use WhatsApp Web if @whatsapp didn't keep doing silly things like playing with UA filtering. Actively choosing to use an Electron app is a sign of user desperation https://arstechnica.com/...