Skip to content
NewA calmer, faster ZeroHour

CVE-2026-82413

OS command injection in ntopng before 6.7.260717

CVSS 3.1
8.8 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-82413 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

ntopng REST endpoints that add a host to scan and schedule a vulnerability scan accept scan_ports and later concatenate it into an nmap command run through popen. Any authenticated user, including non-administrators, can send the value; deployments with login disabled expose the same request without authentication. When nmap is installed, shell metacharacters that pass validation let the attacker run arbitrary commands as the ntopng service account. For the tcp_portscan and cve modules, an nmap -sn probe must first report the target as up. Versions before 6.7.260717 are affected.

What to do: Upgrade ntopng to 6.7.260717.

ProductAffectedFixed in
ntopngprior to 6.7.2607176.7.260717
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

ntopng is a web-based network traffic monitoring application. Prior to 6.7.260717, scripts/lua/rest/v2/add/host/to_scan.lua and scripts/lua/rest/v2/exec/host/schedule_vulnerability_scan.lua accept scan_ports from any authenticated session, including non-administrator users, while deployments with login disabled expose the same request without authentication. The endpoints validate scan_ports with validateSingleWord, which permits shell metacharacters, and persist the value for the minute vulnerability-scan scheduler. The scheduler concatenates the value into an nmap command through nmap_scan_host and executes it through ntop.execCmd or ntop.execCmdAsync using popen. For the tcp_portscan and cve modules, a preliminary nmap -sn probe must first report the target as up before the attacker-controlled ports are used. When nmap is installed, this command injection allows arbitrary operating-system commands to execute as the ntopng service account without further user interaction. This issue is fixed in version 6.7.260717.

Weakness
CWE-77, CWE-78, CWE-88
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

0 stories

No ingested article mentions this CVE yet.