CVE Vulnerabilities

CVE-2018-15685

Insecure Default Initialization of Resource

Published: Aug 23, 2018 | Modified: Oct 03, 2019
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and nativeWindowOpen: true or sandbox: true options, is affected by a WebPreferences vulnerability that can be leveraged to perform remote code execution.

Weakness

The product initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure.

Affected Software

Name Vendor Start Version End Version
Electron Electronjs 1.7.15 (including) 1.7.15 (including)
Electron Electronjs 1.8.7 (including) 1.8.7 (including)
Electron Electronjs 2.0.7 (including) 2.0.7 (including)
Electron Electronjs 3.0.0-beta6 (including) 3.0.0-beta6 (including)

Extended Description

Developers often choose default values that leave the product as open and easy to use as possible out-of-the-box, under the assumption that the administrator can (or should) change the default value. However, this ease-of-use comes at a cost when the default is insecure and the administrator does not change it.

References