Volans NGFW r5.1 port_serve_s Command Injection (CVE-2026-135796)
Detects exploitation of CVE-2026-135796, an OS command injection vulnerability (CWE-77/CWE-78) in the Volans NGFW Next-Generation Firewall r5.1. The flaw is in modules/assets/port_serve_scan.mds, where the port_result_export action concatenates attacker-controlled input into an exec() call without proper sanitization. Exploitation requires an authenticated management session; there is no public evidence of an unauthenticated path. Detection focuses on shell metacharacters and command-injection primitives in HTTP requests to the port_serve_scan / assets endpoint, and on anomalous child processes spawned by the firewall web service (httpd/boa/lighttpd) that indicate exec/system abuse.
Vulnerability Intelligence
TheoreticalAffected Software
- Vendor
- Volans
- Product
- NGFW
- Versions
- r5.1
Timeline
- Disclosed
- November 24, 2026
CVSS
What is CVE-2026-135796 Volans NGFW r5.1 port_serve_s Command Injection (CVE-2026-135796)?
Volans NGFW r5.1 port_serve_s Command Injection (CVE-2026-135796) (CVE-2026-135796) maps to the Initial Access and Execution tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for Volans NGFW r5.1 port_serve_s Command Injection (CVE-2026-135796), covering the data sources and telemetry it touches: Network Firewall Logs, Web Proxy, CEF/Syslog. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
- Tactic
- Initial Access Execution
// df00tech DF00-18f8866e54 · https://df00tech.com/detections/CVE-2026-135796 · licence: https://df00tech.com/detections/licence
let shellMeta = dynamic([";","|","&","`","$(","&&","||","%3B","%7C","%60","$(","$(IFS","%24%28"]);
let suspectCmds = dynamic(["/bin/sh","/bin/busybox","wget ","curl ","tftp ","nc ","telnetd","cat /etc","id;","uname -a"]);
CommonSecurityLog
| where DeviceVendor has "Volans" or DeviceProduct has "NGFW" or RequestURL has "port_serve_s" or RequestURL has "modules/assets"
| where RequestURL has "port_serve_s" or RequestURL has "modules/assets"
| extend DecodedUrl = url_decode(RequestURL)
| where DecodedUrl has_any (shellMeta) or DecodedUrl has_any (suspectCmds) or RequestContext has_any (suspectCmds)
| project TimeGenerated, SourceIP, DestinationIP, DeviceName, RequestURL, DecodedUrl, RequestMethod, DeviceVendor, DeviceProduct
| sort by TimeGenerated desc Flags HTTP requests to the Volans NGFW port_serve_scan / modules/assets endpoint that contain shell metacharacters or command-injection payloads indicative of CVE-2026-135796 exploitation.
Data Sources
Required Tables
False Positives
- Vulnerability scanners (Nessus, Qualys, OpenVAS) probing the firewall management interface
- Authorized penetration testing of the NGFW appliance
- Administrators legitimately using semicolons or ampersands in device configuration field values submitted through the assets module
Query fingerprint DF00-18f8866e54 · licence
Sigma logsource & community rules
The detection logic for Volans NGFW r5.1 port_serve_s Command Injection (CVE-2026-135796) (CVE-2026-135796) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
category: network_connection
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-135796
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Command injection probe via port_serve_scan (reconnaissance)
Expected signal: Firewall/web access log entry to modules/assets/port_serve_scan containing URL-encoded ';' and 'id' / 'uname' tokens.
- Test 2 Command injection stager via port_serve_scan (payload download)
Expected signal: Request log containing 'wget' and '/tmp/x'; on the appliance, a wget child process parented by the web daemon and a new /tmp/x file.
- Test 3 Exec/system child process from web daemon
Expected signal: Process-execution event showing busybox/sh invoked under a web-server parent, writing to /tmp/cmdinj.out.
Response Playbook
Triage
- Confirm the destination host is a Volans NGFW appliance running the affected r5.1 firmware and that the targeted path includes modules/assets/port_serve_scan.
- URL-decode the request and extract the injected payload; determine whether it was a reconnaissance probe (id, uname, cat /etc/passwd) or a stager (wget/curl/tftp/busybox pulling a second-stage binary).
- Check whether the request returned 200/command output versus an error, and correlate the source IP against threat intel and prior activity to assess whether exploitation succeeded.
- Review authentication state: exploitation requires a valid management session, so confirm whether the attacker had or obtained valid credentials before this request.
Containment
- Block the attacker source IP(s) at the perimeter and restrict management-plane access to the NGFW to trusted admin networks only.
- Isolate the affected appliance from untrusted networks and, if compromise is confirmed, fail over to a known-good standby and take the device offline for forensics.
- Apply vendor firmware update or mitigation once available; until then, place a WAF/ACL rule dropping requests to modules/assets/port_serve_scan containing shell metacharacters.
Evidence Collection
- Capture firewall/web-server access logs, the full raw HTTP request/response, and any process-execution or syslog records around the event time.
- Preserve a forensic image or configuration/filesystem export of the appliance, including /tmp, /var and any newly written files or cron entries.
- Collect network flow data for outbound connections from the appliance to identify second-stage download hosts or C2.
Escalation Criteria
- ! Escalate to incident response if injected commands executed successfully (command output returned, or a child process/outbound download observed from the appliance).
- ! Escalate to network/security leadership if the compromised NGFW sits inline on critical traffic paths, as firewall compromise implies potential traffic interception or lateral pivot.
- ! Escalate to the vendor and CERT if a working exploit or second-stage payload is recovered, given this is an edge security device.
Investigation Guide
Forensic Artifacts
- >
Web server access logs containing requests to modules/assets/port_serve_scan with shell metacharacters - >
Unexpected child processes (sh, busybox, wget, curl) parented by the firewall web daemon - >
Newly created files in /tmp or /var, modified cron entries, or new listening sockets on the appliance
Tuning Guidance
Baseline legitimate traffic to the NGFW management interface and whitelist known scanner and admin source IPs. If the assets module legitimately accepts field values containing semicolons or ampersands, tighten the regex to require shell-command keywords (wget/curl/busybox//bin/sh) alongside metacharacters to reduce false positives. Pair the network signatures with the CrowdStrike process-lineage rule for high-confidence confirmation of successful exec/system execution.
Hunting Queries
Hunt for repeated command-injection probing of the port_serve_scan endpoint grouped by source IP over time.
// df00tech DF00-18f8866e54 · https://df00tech.com/detections/CVE-2026-135796 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where RequestURL has "port_serve_s" | extend d=url_decode(RequestURL) | where d has_any (";","|","`","$(","wget","curl","busybox") | summarize count() by SourceIP, bin(TimeGenerated, 1h) ``` df00tech DF00-18f8866e54 · https://df00tech.com/detections/CVE-2026-135796 · licence: https://df00tech.com/detections/licence ```
index=firewall url="*port_serve_s*" | eval d=urldecode(url) | where match(d,"(?i)[;|&`]|wget |curl |busybox") | stats count by src_ip Atomic Red Team Tests
Simulate an authenticated reconnaissance probe injecting a shell command through the vulnerable assets endpoint in a lab.
Command
curl -s 'http://ngfw-lab.local/modules/assets/port_serve_scan?port=1%3Bid%3Buname%20-a' Cleanup
echo 'No persistent change; clear lab web-server access logs if desired' Expected Telemetry
Firewall/web access log entry to modules/assets/port_serve_scan containing URL-encoded ';' and 'id' / 'uname' tokens.
Expected Detection
KQL/SPL/EQL/AQL/Sumo/Chronicle network rules fire on shell metacharacters in the port_serve_scan request.
Simulate injection of a wget-based second-stage download through the vulnerable endpoint in a lab.
Command
curl -s 'http://ngfw-lab.local/modules/assets/port_serve_scan?port=1%3Bwget%20http%3A%2F%2F127.0.0.1%2Fx%20-O%20%2Ftmp%2Fx' Cleanup
rm -f /tmp/x Expected Telemetry
Request log containing 'wget' and '/tmp/x'; on the appliance, a wget child process parented by the web daemon and a new /tmp/x file.
Expected Detection
Network rules match the 'wget' payload; CrowdStrike CQL matches the web-daemon-spawned wget process.
Emulate the post-exploitation artifact of the firewall web service spawning a shell via exec/system.
Command
sh -c 'nohup busybox sh -c "id; uname -a" >/tmp/cmdinj.out 2>&1 &' Cleanup
rm -f /tmp/cmdinj.out Expected Telemetry
Process-execution event showing busybox/sh invoked under a web-server parent, writing to /tmp/cmdinj.out.
Expected Detection
CrowdStrike CQL process-lineage rule matches shell/busybox child of httpd/boa/lighttpd.
Related Detections
Tactic Hubs
Related Techniques
Same Tactic: Initial Access
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040