Bug 2481574 (CVE-2026-48695) - CVE-2026-48695 fastnetmon: OS command injection vulnerability in the MikroTik router integration plugin
Summary: CVE-2026-48695 fastnetmon: OS command injection vulnerability in the MikroTik...
Keywords:
Status: NEW
Alias: CVE-2026-48695
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2482723 2482724
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-26 18:01 UTC by OSIDB Bzimport
Modified: 2026-05-28 15:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-26 18:01:35 UTC
FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the MikroTik router integration plugin. The _log() function in src/mikrotik_plugin/fastnetmon_mikrotik.php (lines 107-108) constructs shell commands by concatenating the $msg parameter directly into exec() calls: exec("echo `date` \"- {FASTNETMON] - " . $msg . " \" >> " . $FILE_LOG_TMP). This is identical in pattern to the Juniper plugin vulnerability. The $msg variable contains unsanitized attack data from command-line arguments. An attacker who can influence argv[] values can inject arbitrary shell commands. The fix is to replace exec() with file_put_contents() or use escapeshellarg().


Note You need to log in before you can comment on or make changes to this bug.