Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2018-1000006 EUVD-2018-0166GHSA-w222-53c6-c86p

Remote Code Execution in electron

Published Jan 24, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

GitHub Electron versions 1.8.2-beta.3 and earlier, 1.7.10 and earlier, 1.6.15 and earlier has a vulnerability in the protocol handler, specifically Electron apps running on Windows 10, 7 or 2008 that register custom protocol handlers can be tricked in arbitrary command execution if the user clicks on a specially crafted URL. This has been fixed in versions 1.8.2-beta.4, 1.7.11, and 1.6.16.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron >= 1.7.0, < 1.7.11 1.7.11 GHSA-w222-53c6-c86p
npm electron >= 1.6.0, < 1.6.16 1.6.16 GHSA-w222-53c6-c86p
npm electron >= 1.8.0, < 1.8.2-beta.4 1.8.2-beta.4 GHSA-w222-53c6-c86p

References