CVE-2018-21268

The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote command injection via the host parameter. This occurs because the Child.exec() method, which is considered to be not entirely safe, is used. In particular, an OS command can be placed after a newline character.
References
Link Resource
https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f Patch Third Party Advisory
https://github.com/jaw187/node-traceroute/tags Third Party Advisory
https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3
https://snyk.io/vuln/npm:traceroute:20160311 Exploit Third Party Advisory
https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy Third Party Advisory
https://www.npmjs.com/advisories/1465 Third Party Advisory
https://www.npmjs.com/package/traceroute Product Third Party Advisory
https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/ Exploit Third Party Advisory
https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f Patch Third Party Advisory
https://github.com/jaw187/node-traceroute/tags Third Party Advisory
https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3
https://snyk.io/vuln/npm:traceroute:20160311 Exploit Third Party Advisory
https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy Third Party Advisory
https://www.npmjs.com/advisories/1465 Third Party Advisory
https://www.npmjs.com/package/traceroute Product Third Party Advisory
https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/ Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:traceroute_project:traceroute:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 04:03

Type Values Removed Values Added
References () https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f - Patch, Third Party Advisory () https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f - Patch, Third Party Advisory
References () https://github.com/jaw187/node-traceroute/tags - Third Party Advisory () https://github.com/jaw187/node-traceroute/tags - Third Party Advisory
References () https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3 - () https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3 -
References () https://snyk.io/vuln/npm:traceroute:20160311 - Exploit, Third Party Advisory () https://snyk.io/vuln/npm:traceroute:20160311 - Exploit, Third Party Advisory
References () https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy - Third Party Advisory () https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy - Third Party Advisory
References () https://www.npmjs.com/advisories/1465 - Third Party Advisory () https://www.npmjs.com/advisories/1465 - Third Party Advisory
References () https://www.npmjs.com/package/traceroute - Product, Third Party Advisory () https://www.npmjs.com/package/traceroute - Product, Third Party Advisory
References () https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/ - Exploit, Third Party Advisory () https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/ - Exploit, Third Party Advisory
CVSS v2 : 7.5
v3 : 9.8
v2 : 7.5
v3 : 10.0

07 Nov 2023, 02:56

Type Values Removed Values Added
References
  • {'url': 'https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3', 'name': 'https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3', 'tags': ['Exploit', 'Third Party Advisory'], 'refsource': 'MISC'}
  • () https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3 -

Information

Published : 2020-06-25 17:15

Updated : 2024-11-21 04:03


NVD link : CVE-2018-21268

Mitre link : CVE-2018-21268

CVE.ORG link : CVE-2018-21268


JSON object : View

Products Affected

traceroute_project

  • traceroute
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')