WhatsApp Bug Could Have Allowed Attackers to Remotely Access Files on Your Desktop

The WhatsApp vulnerability has been tracked as CVE-2019-18426.

Advertisement
By Jagmeet Singh | Updated: 5 February 2020 11:17 IST
Highlights
  • WhatsApp desktop application vulnerability is classed as “high”
  • It impacted WhatsApp Web client to some extent as well
  • WhatsApp users are recommended to install the latest desktop version

WhatsApp desktop application versions prior to 0.3.9309 are affected by the newly reported vulnerability

WhatsApp has been discovered to have a critical vulnerability that could have allowed attackers to remotely access files from a Windows or Mac computer. The vulnerability, which has been fixed by Facebook, could be exploited using the WhatsApp desktop application. It was a mix of multiple high-severity flaws that existed within the WhatsApp desktop application. Some of those flaws were also a part of the WhatsApp Web client that works on Web browsers. The vulnerability essentially allowed for cross-site scripting (XSS) that could be used by remote attackers.

PerimeterX researcher Gal Weizman discovered the WhatsApp vulnerability that has been tracked as CVE-2019-18426. The researcher stated that the security loophole existed within the Content Security Policy (CSP) of WhatsApp that allowed for XSS attacks on the desktop app. The flaw in the CSP also impacted the WhatsApp Web client to some extent as it provided space to alter rich preview banners with malicious content.

Advertisement

The researcher in a blog post mentioned that the Web client was vulnerable to an open-redirect flaw that could have led to persistent cross-site scripting attacks triggered by sending specially crafted messages to WhatsApp users.

However, the scope of the loophole is found to be quite wider on the WhatsApp desktop application over what was discovered on its Web client. The researcher found that he was able to read the file system and identify the remote code execution (RCE) potential on the desktop application. The only thing that the affected WhatsApp users had to do was to click on the specially crafted message to provide backdoor access to attackers.

"For some reason, the CSP rules were not an issue with the Electron based app, so fetching an external payload using a simple JavaScript resource worked," Weizman explained in the blog post.

The researcher demonstrated an attack that could take place using the vulnerability by showing a screenshot highlighting the content of the hosts file fetched from a victim's computer remotely using the WhatsApp desktop application.

Advertisement

WhatsApp vulnerability on its desktop has been demonstrated
Photo Credit: PerimeterX

Advertisement

 

Facebook patched the vulnerability upon receiving an alert from Weizman last year. Moreover, the vulnerability is classed as “high”.

Advertisement

"A vulnerability in WhatsApp Desktop versions prior to 0.3.9309 when paired with WhatsApp for iPhone versions prior to 2.20.10 allows cross-site scripting and local file reading. Exploiting the vulnerability requires the victim to click a link preview from a specially crafted text message," reads the description of the WhatsApp vulnerability provided in the US National Vulnerability Data (NVD).

Late last month, the NVD site revealed that WhatsApp disclosed as many as 12 vulnerabilities in 2019, including seven “critical” ones. The number of vulnerabilities disclosed was significantly higher than the one or two security flaws the instant messaging app reported in the past few years.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement

Related Stories

Popular Mobile Brands
  1. Amazon Great Indian Festival 2026: Best ANC Earbuds From Sony, Oppo, OnePlus, More
  2. OnePlus 16 With a 9,000mAh Battery Debuts at This Price
  3. Oppo Find X10 Series Could Launch in India on This Date: Expected Price
  4. Amazon Great Indian Festival Sale 2026: Bluetooth Speakers at Discounted Prices
  5. HP Announces Festive Offers on These Laptop Models
  6. OnePlus Ace 7 Spotted on Geekbench Revealing Key Specifications
  7. Google Fitbit Edge Launch Today: All You Need to Know
  8. Schneider Brings 90 Years of French Consumer Electronics Heritage to India With a New Audi
  9. iQOO CEO on Price Hikes and Why iQOO 16 is a Complete Flagship
  10. Oppo Pad Mini Key Features Revealed Ahead of India Launch
  1. Google Launches Fitbit Edge With AMOLED Screen, Built-In GPS and Health Coach Features: Price, Specifications
  2. Amazon Great Indian Festival 2026: Best Bluetooth Speaker Deals From Sony, JBL and More
  3. JioPC Turns Your Existing Devices Into Cloud PCs With Ubuntu Interface, AI Tools: Price, Features
  4. Amazon Great Indian Festival 2026: Best ANC Earbuds From Sony, Oppo, OnePlus and More
  5. HP Festive Offers 2026: OmniBook, Omen and Victus Laptop Discounts, AI Fiesta Deal Details, and More
  6. Kraken Parent Payward Gets Full Dubai Licence to Expand in UAE
  7. Sui Commits $30 Million as DATA Network Winds Down Blockchain
  8. Intel, Qualcomm Raise CPU Prices Amid AI Demand, Panther Lake Processors See Steepest Hike: Report
  9. WhatsApp May Soon Let Android Users Schedule Messages, Photos and Videos
  10. OnePlus 16 Launched With 9,000mAh Battery, Snapdragon 8 Elite Extreme Gen 6 Chipset: Price, Specifications
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.