9.8
CRITICAL
CVE-2018-3786
Egg-Scripts Command Injection Vulnerability
Description

A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument.

INFO

Published Date :

Aug. 24, 2018, 8:29 p.m.

Last Modified :

Feb. 2, 2023, 7:44 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2018-3786 has a 5 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-3786 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 Eggjs egg-scripts
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-3786.

URL Resource
https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md Release Notes Third Party Advisory
https://github.com/eggjs/egg-scripts/pull/26 Patch Third Party Advisory
https://hackerone.com/reports/388936 Exploit Patch 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

Updated: 8 months, 2 weeks ago
33 stars 3 fork 3 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

None

Updated: 1 year, 3 months ago
17 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1050 different CVEs too.

None

JavaScript

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.

None

Updated: 3 months, 1 week ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

A fork of an old version of egg-scripts

JavaScript

Updated: 4 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : May 19, 2020, 12:21 p.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-3786 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-3786 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]

    Feb. 02, 2023

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/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/eggjs/egg-scripts/pull/26 Third Party Advisory https://github.com/eggjs/egg-scripts/pull/26 Patch, Third Party Advisory
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE HackerOne CWE-77
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-77 CWE-77 CWE-78
  • Initial Analysis by [email protected]

    Oct. 25, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md No Types Assigned https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md Release Notes, Third Party Advisory
    Changed Reference Type https://hackerone.com/reports/388936 No Types Assigned https://hackerone.com/reports/388936 Exploit, Patch, Third Party Advisory
    Changed Reference Type https://github.com/eggjs/egg-scripts/pull/26 No Types Assigned https://github.com/eggjs/egg-scripts/pull/26 Third Party Advisory
    Added CWE CWE-77
    Added CPE Configuration OR *cpe:2.3:a:eggjs:egg-scripts:*:*:*:*:*:node.js:*:* versions up to (excluding) 2.8.1
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-3786 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.33 }} -0.00%

score

0.70997

percentile

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