Command Injection

Affecting apiconnect-cli-plugins package, versions >=1.0.1

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

Overview

apiconnect-cli-plugins is a Plugin for IBM API Connect Developer Toolkit.

Affected versions of this package are vulnerable to Command Injection. The argument pluginUri can be controlled by users without any sanitization.

PoC

var root = require("apiconnect-cli-plugins");
var payload = "& touch Song &";
root.pluginLoader.installPlugin(payload,"");

the injection point is located in line 181 of file lib/plugin-loader.js, in the function installPlugin(pluginUri, registryUri).

Remediation

There is no fixed version for apiconnect-cli-plugins.

References

CVSS Score

6.5
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    Low
  • Availability
    None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:O/RC:C
Credit
JHU System Security Lab
CVE
CVE-2020-7633
CWE
CWE-74
Snyk ID
SNYK-JS-APICONNECTCLIPLUGINS-564427
Disclosed
05 Apr, 2020
Published
05 Apr, 2020