CVE-2021-23360
Apache Killport Command Execution Vulnerability
Description
This affects the package killport before 1.0.2. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.
INFO
Published Date :
March 21, 2021, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 5:51 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 2.0 | MEDIUM | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] |
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-2021-23360
.
URL | Resource |
---|---|
https://github.com/ssnau/killport/blob/5268f23ea8f152e47182b263d8f7ef20c12a9f28/index.js%23L9 | Broken Link |
https://github.com/ssnau/killport/commit/bec8e371f170a12e11cd222ffc7a6e1ae9942638 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-KILLPORT-1078535 | Exploit Patch Third Party Advisory |
https://github.com/ssnau/killport/blob/5268f23ea8f152e47182b263d8f7ef20c12a9f28/index.js%23L9 | Broken Link |
https://github.com/ssnau/killport/commit/bec8e371f170a12e11cd222ffc7a6e1ae9942638 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-KILLPORT-1078535 | Exploit Patch Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-23360
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-23360
weaknesses.
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).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-23360
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-23360
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/ssnau/killport/blob/5268f23ea8f152e47182b263d8f7ef20c12a9f28/index.js%23L9 Added Reference https://github.com/ssnau/killport/commit/bec8e371f170a12e11cd222ffc7a6e1ae9942638 Added Reference https://snyk.io/vuln/SNYK-JS-KILLPORT-1078535 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Jun. 28, 2022
Action Type Old Value New Value Changed CWE CWE-77 CWE-78 -
Initial Analysis by [email protected]
Mar. 26, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/ssnau/killport/blob/5268f23ea8f152e47182b263d8f7ef20c12a9f28/index.js%23L9 No Types Assigned https://github.com/ssnau/killport/blob/5268f23ea8f152e47182b263d8f7ef20c12a9f28/index.js%23L9 Broken Link Changed Reference Type https://github.com/ssnau/killport/commit/bec8e371f170a12e11cd222ffc7a6e1ae9942638 No Types Assigned https://github.com/ssnau/killport/commit/bec8e371f170a12e11cd222ffc7a6e1ae9942638 Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JS-KILLPORT-1078535 No Types Assigned https://snyk.io/vuln/SNYK-JS-KILLPORT-1078535 Exploit, Patch, Third Party Advisory Added CWE NIST CWE-77 Added CPE Configuration OR *cpe:2.3:a:killport_project:killport:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.0.2
Vulnerability Scoring Details
Base CVSS Score: 8.8
Base CVSS Score: 6.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.68 }} -0.64%
score
0.69217
percentile