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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pavel-odintsov fastnetmon | up to 1.2.9 | NVD |
All scores
| CISA-ADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-48695 changed 2026-05-26 | CVE Terms of Use |
| NVD | CVE-2026-48695 changed 2026-07-21 | Public domain |