Unvalidated Output Injection
High
- Category
- Output Handling
- Content
print(f"🗺️ Traceroute to {host}...\n") try: result = subprocess.run( ["traceroute", "-m", "15", "-w", "2", host], capture_output=True, text=True, timeout=30 )- Confidence
- 70% confidence
- Finding
- The function captures stdout from traceroute to a user-supplied destination and prints it directly to the terminal. If the external tool echoes attacker-controlled content or terminal escape sequences derived from DNS names or crafted input, this can enable terminal control-sequence injection, log spoofing, or misleading operator output.
