WhatsApp desktop has a worrying security flaw


A cybersecurity researcher has discovered multiple security vulnerabilities in WhatsApp, revealing that one of the most widely used messaging apps is not as safe as once thought.
PerimeterX’s Gal Weizman used his JavaScript expertise to find multiple vulnerabilities in the popular messaging app that could leave users at risk of attacks by allowing both the text content and links in website previews to be tampered with to display false content and modified links which point to malicious destinations.
The vulnerabilities found in the WhatsApp desktop app can be used to aid phishing campaigns, spread malware and potentially even ransomware to put millions of users at risk as the messaging service currently has over 1.5bn monthly active users.
Modifying messages
By finding a gap in the Content Security Policy (CSP) used by WhatsApp, Weizman was able to enable bypasses as well as cross site scripting (XSS) on the messaging service’s desktop app. This allowed him to gain read permissions from the local file system on both the Mac and Windows desktop apps.
By exploiting these flaws, hackers could target unsuspecting users with harmful code or links injected into their messages. To make matters worse, these message notifications would be completely invisible to the untrained eye. These kinds of attacks are made possible by simply modifying the JavaScript code of a single message before it is delivered to its recipient.
Through the WhatsApp desktop platform, Weizman was able to find the code where messages are formed, tamper with it and then let the app continue to send these messages as it normally does. This bypassed filters and sent the modified message through the app as usual where it appeared relatively normal in the user interface. Weizman even discovered that website previews, which are displayed when users share web links, can also be tampered with before being shown.
To prevent falling victim to this kind of attack, WhatsApp users should look for text that might appear more like a piece of code than like legitimate text. Also a malicious message can only work if it contains the text “javascript”, so users should look out for this as well if code is visible. Finally users should exercise caution and avoid opening any links sent by unknown accounts.
Interested users that want to learn more about Weizman’s discovery can check out his blog post on Perimeter X’s website.
A cybersecurity researcher has discovered multiple security vulnerabilities in WhatsApp, revealing that one of the most widely used messaging apps is not as safe as once thought. PerimeterX’s Gal Weizman used his JavaScript expertise to find multiple vulnerabilities in the popular messaging app that could leave users at risk of…
Recent Posts
- Alexa+ – Here’s how to sign up for early access
- The UK will neither confirm nor deny that it’s killing encryption
- This is probably the best Windows alternative to the M4 Mac Mini: AMD-powered mini PC can drive four 8K monitors and has two 2.5Gb Ethernet connectors
- Flashes, an Instagram alternative based on Bluesky, is available for iPhones now
- This temporary tattoo could decipher the health secrets of your sweat
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010