Skip to content

CVE-2026-48687 FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the Juniper router integration plugin. The _log() function in src/juniper_plugin/fastnetmon_juniper.php (li...

CriticalCVSS 9.8 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHPUbuntuDebian

Description

FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the Juniper router integration plugin. The _log() function in src/juniper_plugin/fastnetmon_juniper.php (lines 117-118) constructs shell commands by concatenating the $msg parameter directly into exec() calls: exec("echo date "- {FASTNETMON] - " . $msg . " " >> " . $FILE_LOG_TMP). The $msg variable contains unsanitized data derived from command-line arguments argv[1] through argv[3], which represent the attack IP address, direction, and power. While FastNetMon's C++ core currently passes IP addresses via inet_ntoa() (which only produces safe dotted-decimal notation), the PHP script performs no input validation or shell escaping. If the script is invoked directly, by another orchestration system, or if future code changes pass string-sourced IPs, arbitrary commands can be injected. The correct fix is to replace exec() with file_put_contents() or use escapeshellarg() on all parameters.

Upgrade path

7 packages: 5 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
debian/fastnetmon(Debian 12) = 1.2.4-2; = 1.2.4-2+deb12u1; = 1.2.5-1; = 1.2.5-2 +11 more No fix listed No fix yet
ubuntu/fastnetmon(Ubuntu 26.10) All versions No fix listed No fix yet
debian/fastnetmon(Debian 13) < 1.2.9-0+deb13u1; = 1.2.8+git20250911-1; = 1.2.8+git20250911-2; = 1.2.8-1 1.2.9-0+deb13u1 Fixed
debian/fastnetmon(Debian 14) < 1.2.9-1; = 1.2.8+git20250911-1; = 1.2.8+git20250911-2; = 1.2.8-1 1.2.9-1 Fixed
pavel-odintsov fastnetmon <= 1.2.9 after 1.2.9 Fixed
ubuntu/fastnetmon(Ubuntu 24.04) < 1.2.6-1ubuntu0.1~esm1 1.2.6-1ubuntu0.1~esm1 Fixed
ubuntu/fastnetmon(Ubuntu 26.04) < 1.2.8+git20250911-2ubuntu0.1~esm1 1.2.8+git20250911-2ubuntu0.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/fastnetmon(Debian:12) All versions No fix listed
debian/fastnetmon(Debian:14) < 1.2.9-1 1.2.9-1
debian/fastnetmon(Debian:13) < 1.2.9-0+deb13u1 1.2.9-0+deb13u1
debian/fastnetmon(Debian:12) = 1.2.4-2 No fix listed
debian/fastnetmon(Debian:12) = 1.2.4-2+deb12u1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.5-1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.5-2 No fix listed
debian/fastnetmon(Debian:12) = 1.2.5-2~bpo12+1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.6-1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.6-1~bpo12+1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.7-1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.7-1~bpo12+1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.8+git20250911-1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.8+git20250911-2 No fix listed
debian/fastnetmon(Debian:12) = 1.2.8-1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.8-1~bpo12+1 No fix listed
debian/fastnetmon(Debian:12) = 1.2.9-1 No fix listed
debian/fastnetmon(Debian:13) = 1.2.8+git20250911-1 No fix listed
debian/fastnetmon(Debian:13) = 1.2.8+git20250911-2 No fix listed
debian/fastnetmon(Debian:13) = 1.2.8-1 No fix listed
debian/fastnetmon(Debian:14) = 1.2.8+git20250911-1 No fix listed
debian/fastnetmon(Debian:14) = 1.2.8+git20250911-2 No fix listed
debian/fastnetmon(Debian:14) = 1.2.8-1 No fix listed
ubuntu/fastnetmon(Ubuntu:24.04) < 1.2.6-1ubuntu0.1~esm1 1.2.6-1ubuntu0.1~esm1
ubuntu/fastnetmon(Ubuntu:26.04) < 1.2.8+git20250911-2ubuntu0.1~esm1 1.2.8+git20250911-2ubuntu0.1~esm1
Show 2 more
ProductAffected versionsFixed in
ubuntu/fastnetmon(Ubuntu:26.10) All versions No fix listed
pavel-odintsov fastnetmon <= 1.2.9 No fix listed

References