Detect CVE-2022-37055 D-Link Router Buffer Overflow Exploitation in Splunk
Detects exploitation attempts targeting CVE-2022-37055, a buffer overflow vulnerability (CWE-120) in D-Link routers. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild. Attackers may exploit this vulnerability to achieve remote code execution on affected D-Link routers, potentially enabling network pivoting, persistent access, or botnet enrollment.
MITRE ATT&CK
SPL Detection Query
index=network OR index=firewall OR index=ids
(sourcetype=cisco:asa OR sourcetype=paloalto:firewall OR sourcetype=suricata OR sourcetype=snort OR sourcetype=fortinet:firewall)
(
(vendor="D-Link" OR product IN ("DIR-*", "DSR-*", "DWR-*", "DAP-*"))
OR
(dest_port IN (80, 443, 8080, 8443, 23) AND bytes_in > 65000)
OR
(uri_path IN ("*../", "*%2F..%2F*", "*cmd=*", "*shell=*"))
OR
(signature IN ("*buffer overflow*", "*CVE-2022-37055*", "*D-Link*exploit*"))
)
| eval risk_score=case(
match(uri_path, "\.\.[\/]"), 90,
bytes_in > 65000, 70,
match(signature, "CVE-2022-37055"), 100,
true(), 50
)
| where risk_score >= 50
| stats count as attempt_count, max(risk_score) as max_risk, values(uri_path) as paths, values(src_ip) as source_ips by dest_ip, _time span=5m
| where attempt_count >= 1
| sort -max_risk Detects buffer overflow exploitation attempts against D-Link routers by correlating firewall, IDS, and network logs for anomalous payloads, path traversal patterns, and known CVE signatures.
Data Sources
Required Sourcetypes
False Positives & Tuning
- Authorized penetration testing against D-Link infrastructure
- Legitimate large file transfers through router management interfaces
- False positive IDS signatures triggering on benign router administration traffic
- Load balancers or proxies generating high byte counts in aggregated sessions
Other platforms for CVE-2022-37055
Testing Methodology
Validate this detection against 4 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 available with Pro.
- Test 1CVE-2022-37055 Buffer Overflow Simulation via Oversized HTTP POST
Expected signal: Network logs showing HTTP POST request to port 80 with Content-Length > 65000 bytes destined for router management interface IP. IDS alerts for anomalous payload size.
- Test 2Path Traversal Probe Against D-Link Router Management Interface
Expected signal: Web server access logs or proxy logs showing GET requests with '../' or '%2F..%2F' sequences to router management CGI paths. Firewall logs capturing the HTTP request URLs.
- Test 3Reverse Shell Listener Simulation Post Router Compromise
Expected signal: Netflow/IPFIX records showing TCP connection attempts from router management IP to high-risk ports (4444, 1337, etc.). EDR network telemetry if agent is installed on network capture host.
- Test 4CVE-2022-37055 IDS Signature Validation
Expected signal: IDS/IPS alerts firing on CVE-2022-37055 signature, command injection patterns (wget, shell commands in POST body), and anomalous User-Agent strings in network monitoring.
Unlock Pro Content
Get the full detection package for CVE-2022-37055 including response playbook, investigation guide, and atomic red team tests.