Skip to content

CVE-2018-1000118 Electron protocol handler browser vulnerable to Command Injection

HighCVSS 8.8 EPSS 2.4%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
electronjs electron <= 1.8.1; = 1.8.2-beta.1; = 1.8.2-beta.2; = 1.8.2-beta.3 +1 more after 1.8.1 Fixed
npm electron(npm) < 1.8.2-beta5; <= 1.8.2-beta4 1.8.2-beta5 Fixed

Affected products

ProductAffected versionsFixed in
npm electron(npm) <= 1.8.2-beta4 No fix listed
electronjs electron <= 1.8.1 No fix listed
electronjs electron = 1.8.2-beta.1 No fix listed
electronjs electron = 1.8.2-beta.2 No fix listed
electronjs electron = 1.8.2-beta.3 No fix listed
electronjs electron = 1.8.2-beta.4 No fix listed
npm electron(npm) < 1.8.2-beta5 1.8.2-beta5

References