8.8
HIGH
CVE-2018-1000006
GitHub Electron Arbitrary Command Execution via Protocol Handler
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.

INFO

Published Date :

Jan. 24, 2018, 11:29 p.m.

Last Modified :

Nov. 7, 2023, 2:51 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2018-1000006 has a 10 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-1000006 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Electronjs electron
1 Atom electron
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-1000006.

URL Resource
http://www.securityfocus.com/bid/102796 Third Party Advisory VDB Entry
https://electronjs.org/blog/protocol-handler-fix Mitigation Third Party Advisory
https://github.com/electron/electron/releases/tag/v1.8.2-beta.4 Patch Third Party Advisory
https://medium.com/%40Wflki/exploiting-electron-rce-in-exodus-wallet-d9e6db13c374
https://www.exploit-db.com/exploits/43899/ Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/44357/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 2 months, 1 week ago
26 stars 4 fork 4 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

None

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 11, 2023, 1:21 p.m. This repo has been linked 1042 different CVEs too.

安全类各家文库大乱斗

HTML CSS JavaScript Go Python Shell C

Updated: 2 months, 1 week ago
856 stars 214 fork 214 watcher
Born at : Feb. 15, 2022, 3:14 a.m. This repo has been linked 568 different CVEs too.

None

Updated: 2 months, 3 weeks ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

A curated list of awesome resources about Electron.js (in)security

Updated: 2 months, 1 week ago
560 stars 58 fork 58 watcher
Born at : June 1, 2020, 10:02 a.m. This repo has been linked 10 different CVEs too.

None

Updated: 3 months ago
13 stars 4 fork 4 watcher
Born at : May 25, 2020, 7:51 a.m. This repo has been linked 1027 different CVEs too.

None

Updated: 4 years, 8 months ago
1 stars 0 fork 0 watcher
Born at : July 17, 2018, 7:48 p.m. This repo has been linked 494 different CVEs too.

The Demo for CVE-2018-1000006

HTML JavaScript

Updated: 3 months ago
40 stars 6 fork 6 watcher
Born at : Jan. 25, 2018, 2:38 a.m. This repo has been linked 1 different CVEs too.

A simple example for a (more reasonably) secure electron application, by enabling the sandbox and forcing communication over IPC.

HTML JavaScript

Updated: 2 years, 4 months ago
73 stars 11 fork 11 watcher
Born at : Sept. 13, 2017, 8:55 p.m. This repo has been linked 1 different CVEs too.

✍️ A curated list of CVE PoCs.

awesome cve poc

Updated: 2 months ago
3289 stars 678 fork 678 watcher
Born at : Feb. 2, 2017, 6:43 a.m. This repo has been linked 1042 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-1000006 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-1000006 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://medium.com/%40Wflki/exploiting-electron-rce-in-exodus-wallet-d9e6db13c374 [No types assigned]
    Removed Reference MITRE https://medium.com/@Wflki/exploiting-electron-rce-in-exodus-wallet-d9e6db13c374
  • CVE Modified by [email protected]

    Apr. 01, 2018

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/44357/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 13, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://medium.com/@Wflki/exploiting-electron-rce-in-exodus-wallet-d9e6db13c374 No Types Assigned https://medium.com/@Wflki/exploiting-electron-rce-in-exodus-wallet-d9e6db13c374 Exploit, Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/electron/electron/releases/tag/v1.8.2-beta.4 No Types Assigned https://github.com/electron/electron/releases/tag/v1.8.2-beta.4 Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/102796 No Types Assigned http://www.securityfocus.com/bid/102796 Third Party Advisory, VDB Entry
    Changed Reference Type https://electronjs.org/blog/protocol-handler-fix No Types Assigned https://electronjs.org/blog/protocol-handler-fix Mitigation, Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/43899/ No Types Assigned https://www.exploit-db.com/exploits/43899/ Exploit, Third Party Advisory, VDB Entry
    Added CWE CWE-78
    Added CPE Configuration AND OR *cpe:2.3:a:atom:electron:1.8.2:beta1:*:*:*:*:*:* *cpe:2.3:a:atom:electron:1.8.2:beta2:*:*:*:*:*:* *cpe:2.3:a:atom:electron:1.8.2:beta3:*:*:*:*:*:* OR cpe:2.3:o:microsoft:windows_10:-:*:*:*:*:*:*:* cpe:2.3:o:microsoft:windows_7:-:*:*:*:*:*:*:* cpe:2.3:o:microsoft:windows_server_2008:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:atom:electron:*:*:*:*:*:*:*:* versions up to (including) 1.7.10 OR cpe:2.3:o:microsoft:windows_10:-:*:*:*:*:*:*:* cpe:2.3:o:microsoft:windows_7:-:*:*:*:*:*:*:* cpe:2.3:o:microsoft:windows_server_2008:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:atom:electron:*:*:*:*:*:*:*:* versions up to (including) 1.6.15 OR cpe:2.3:o:microsoft:windows_10:-:*:*:*:*:*:*:* cpe:2.3:o:microsoft:windows_7:-:*:*:*:*:*:*:* cpe:2.3:o:microsoft:windows_server_2008:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 30, 2018

    Action Type Old Value New Value
    Added Reference https://electronjs.org/blog/protocol-handler-fix [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 28, 2018

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/43899/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 27, 2018

    Action Type Old Value New Value
    Added Reference https://medium.com/@Wflki/exploiting-electron-rce-in-exodus-wallet-d9e6db13c374 [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/102796 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-1000006 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

97.03 }} 0.12%

score

0.99780

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability