CVE-2018-21268
CRITICALtraceroute < 1.0.0 - Remote Command Injection via Host Parameter
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2018-21268. PoCs published by dannyEndorTest.
AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2018-21268, demonstrating command injection via the `traceroute` package's `host` argument. The `/traceroute` endpoint passes user input directly to `traceroute.trace()` without validation, making it exploitable.
Description
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.
Exploits (1)
This repository contains a functional exploit PoC for CVE-2018-21268, demonstrating command injection via the `traceroute` package's `host` argument. The `/traceroute` endpoint passes user input directly to `traceroute.trace()` without validation, making it exploitable.
References (8)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L