Technical impact
ntopng versions earlier than 6.7.260717 allow authenticated non‑administrators to inject arbitrary operating‑system commands through the scan_ports parameter used by the vulnerability‑scan API. The input is validated only with a function that permits shell metacharacters and is passed directly into an nmap command executed via popen. The flaw is a classic OS command injection, identified by CWE-77 and CWE-78. If nmap is present, an attacker can execute any command as the ntopng service account, potentially compromising the entire host.
Affected Systems
The affected product is ntop’s ntopng network traffic monitoring application. Any deployment using ntopng prior to version 6.7.260717 is vulnerable. Vulnerable endpoints allow the exploit from any authenticated session, including non‑administrator users, and even from unauthenticated requests if login is disabled.
Risk and Exploitability
The vulnerability has a CVSS score of 8.8, indicating high severity. The EPSS score is 1%, indicating a very low but nonzero probability of exploitation, and the issue is not listed in CISA KEV. The attack vector requires that the attacker has at least authenticated access to configure a vulnerability scan and that nmap is installed on the host. Successful exploitation would allow arbitrary command execution with the privileges of the ntopng service account, leading to full system compromise.