Home Technology Flaws in WhatsApp’s desktop app allowed remote access to files

Flaws in WhatsApp’s desktop app allowed remote access to files

0
Flaws in WhatsApp’s desktop app allowed remote access to files
Facebook has patched a WhatsApp bug that would let someone read files off your desktop.
Enlarge / Fb has patched a WhatsApp bug that might let somebody learn files off your desktop.

NurPhoto/Getty Photographs

Fb has issued a safety advisory for a flaw in WhatsApp Desktop that might permit an attacker to use cross-site scripting assaults and skim the files on MacOS or Home windows PCs by utilizing a specifically crafted textual content message. The attacker might retrieve the contents of files on the pc on the opposite finish of a WhatsApp textual content message and probably do different illicit issues.

The flaw, found by researcher Gal Weizman at PerimeterX, is a results of a weak point in how WhatsApp’s desktop was carried out utilizing the Electron software program framework, which has had important safety problems with its personal in the previous. Electron permits builders to create cross-platform functions primarily based on Net and browser applied sciences however is barely as safe because the parts builders deploy with their Electron apps.

Weizman first discovered cross-site scripting vulnerabilities in WhatsApp in 2017, when he discovered he might tamper with the metadata of messages, craft bogus preview banners for Net hyperlinks, and create URLs that might conceal hostile intent inside WhatsApp messages. However as he continued his explorations into the WhatsApp shopper, he discovered that he might inject JavaScript code into messages that might run inside WhatsApp Desktop—after which acquire access to the native file system utilizing the JavaScript Fetch API.

A fetch() call from a crafted WhatsApp message shows the contents of a file on the desktop that received it.
Enlarge / A fetch() name from a crafted WhatsApp message exhibits the contents of a file on the desktop that acquired it.

Gal Weizman, PerimeterX

All of this was doable as a result of the weak variations of WhatsApp Desktop had been developed utilizing an outdated, recognized weak model of Google’s Chrome browser engine—Chrome 69. Newer variations of the Chromium engine would catch the malicious code.

In accordance to Fb, the vulnerability impacts WhatsApp Desktop variations 0.3.9309 and earlier, for customers who’ve paired the desktop app with WhatsApp for iPhone variations prior to 2.20.10. Fb has shipped new variations of WhatsApp Desktop that use up to date browser parts.

LEAVE A REPLY

Please enter your comment!
Please enter your name here