Command Injection

Affecting wc-cmd package, ALL versions

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

Affected versions of this package are vulnerable to Command Injection via the index.js file.

PoC:

var a =require("wc-cmd");
a("touch JHU")

Remediation

There is no fixed version for wc-cmd.

CVSS Score

9.8
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Credit
JHU System Security Lab
CVE
CVE-2020-28431
CWE
CWE-78
Snyk ID
SNYK-JS-WCCMD-1050423
Disclosed
11 Dec, 2020
Published
23 Feb, 2021