9.8
CRITICAL
CVE-2018-6342
Microsoft Windows react-dev-utils Command Injection Vulnerability
Description

react-dev-utils on Windows allows developers to run a local webserver for accepting various commands, including a command to launch an editor. The input to that command was not properly sanitized, allowing an attacker who can make a network request to the server (either via CSRF or by direct request) to execute arbitrary commands on the targeted system. This issue affects multiple branches: 1.x.x prior to 1.0.4, 2.x.x prior to 2.0.2, 3.x.x prior to 3.1.2, 4.x.x prior to 4.2.2, and 5.x.x prior to 5.0.2.

INFO

Published Date :

Dec. 31, 2018, 10:29 p.m.

Last Modified :

March 25, 2021, 4:44 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2018-6342 has a 1 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-6342 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 Facebook react-dev-utils
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-6342.

URL Resource
https://github.com/facebook/create-react-app/pull/4866 Third Party Advisory
https://github.com/facebook/create-react-app/releases/tag/v1.1.5 Release Notes Third Party Advisory

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).

None

JavaScript AppleScript Shell HTML CSS Sass SCSS

Updated: 3 years, 11 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 1, 2020, 8:06 a.m. This repo has been linked 1 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-6342 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-6342 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
  • Modified Analysis by [email protected]

    Mar. 25, 2021

    Action Type Old Value New Value
    Removed CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Removed CVSS V2 NIST (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/facebook/create-react-app/pull/4866 Patch, Third Party Advisory https://github.com/facebook/create-react-app/pull/4866 Third Party Advisory
    Removed CWE NIST CWE-352
    Added CWE NIST CWE-78
    Changed CPE Configuration AND OR *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 1.0.4 *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.2 *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.1.2 *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.2.2 *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.0.2 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* AND OR *cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 1.0.4 *cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.2 *cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.1.2 *cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.2.2 *cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.0.2 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE Facebook, Inc. CWE-78
  • Initial Analysis by [email protected]

    Feb. 14, 2019

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    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://github.com/facebook/create-react-app/releases/tag/v1.1.5 No Types Assigned https://github.com/facebook/create-react-app/releases/tag/v1.1.5 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/facebook/create-react-app/pull/4866 No Types Assigned https://github.com/facebook/create-react-app/pull/4866 Patch, Third Party Advisory
    Added CWE CWE-352
    Added CPE Configuration AND OR *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 1.0.4 *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.2 *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.1.2 *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.2.2 *cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.0.2 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
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-6342 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.

0.19 }} 0.01%

score

0.56618

percentile

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