CVE-2026-48695
JSON

8.1high

FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the MikroTik router integration plugin.

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.07% (higher than 65% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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().

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
pavel-odintsov fastnetmonup to 1.2.9NVD

All scores

CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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().

NVD (es)

FastNetMon Community Edition hasta la versión 1.2.9 contiene una vulnerabilidad de inyección de comandos del sistema operativo en el plugin de integración de router MikroTik. La función _log() en src/mikrotik_plugin/fastnetmon_mikrotik.php (líneas 107-108) construye comandos de shell concatenando el parámetro $msg directamente en las llamadas a exec(): exec('echo 'date' '- {FASTNETMON] - ' . $msg . ' ' >> ' . $FILE_LOG_TMP). Esto es idéntico en patrón a la vulnerabilidad del plugin de Juniper. La variable $msg contiene datos de ataque no saneados de los argumentos de la línea de comandos. Un atacante que puede influir en los valores de argv[] puede inyectar comandos de shell arbitrarios. La solución es reemplazar exec() con file_put_contents() o usar escapeshellarg().

References

Sources

SourceRecordLicence
CVE ListCVE-2026-48695 changed 2026-05-26CVE Terms of Use
NVDCVE-2026-48695 changed 2026-07-21Public domain