Remote code execution in Electron - CVE-2018-15685

 

Remote code execution in Electron - CVE-2018-15685

Published: September 3, 2018 / Updated: June 17, 2021


Vulnerability identifier: #VU14595
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-15685
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an error in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options. A remote unauthenticated attacker can trigger WebPreferences vulnerability and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Electron

How to mitigate CVE-2018-15685

The vulnerability has been fixed in the versions 3.0.0-beta.7, 2.0.8, 1.8.8, and 1.7.16.

Electron - addressed in versions 1.7.16, 1.8.8, 2.0.8, 3.0.0 beta.7

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins