Arbitrary Code Execution

Affecting electron package, versions <1.8.2-beta.5

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Arbitrary Code Execution. It appears to be exploitable via the victim opening an electron protocol handler in their browser.

This issue is due to an incomplete fix for CVE-2018-1000006, specifically the black list used was not case insensitive allowing an attacker to potentially bypass it.

Remediation

Upgrade electron to version 1.8.2-beta.5 or higher.

References

CVSS Score

7.8
high severity
  • Attack Vector
    Local
  • Attack Complexity
    Low
  • Privileges Required
    Low
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Credit
Unknown
CVE
CVE-2018-1000118
CWE
CWE-264
Snyk ID
npm:electron:20180307
Disclosed
07 Mar, 2018
Published
12 Mar, 2018