Skip to content

Electron protocol handler browser vulnerable to Command Injection

High severity GitHub Reviewed Published Mar 26, 2018 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm electron (npm)

Affected versions

<= 1.8.2-beta4

Patched versions

1.8.2-beta5

Description

Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol Handler that can result in command execute. This attack appear to be exploitable via the victim opening an electron protocol handler in their browser. This vulnerability appears to have been fixed in Electron 1.8.2-beta.5. 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.

References

Published to the GitHub Advisory Database Mar 26, 2018
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-1000118

GHSA ID

GHSA-fjqr-fx3f-g4rv

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.