cbcvebase.
CVE-2018-17064
published 2018-09-15

CVE-2018-17064: An issue was discovered on D-Link DIR-816 A2 1.10 B05 devices. An HTTP request parameter is used in command string construction within the handler function of…

PriorityP264critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
7.38%
93.7th percentile
An issue was discovered on D-Link DIR-816 A2 1.10 B05 devices. An HTTP request parameter is used in command string construction within the handler function of the /goform/sylogapply route. This could lead to command injection via the syslogIp parameter after /goform/clearlog is invoked.

Affected

1 ranges
VendorProductVersion rangeFixed in
dlinkdir-816_a2_firmware

Detection & IOCsextracted from sources · hover to see the quote

url/goform/sylogapply
url/goform/clearlog
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link sylogapply syslogIp Parameter Command Injection Attempt (CVE-2018-17064)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:18; content:"/goform/sylogapply"; fast_pattern; http.request_body; content:"syslogIp|3d|"; pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R"; reference:url,github.com/wudipjq/my_vuln/blob/main/D-Link5/vuln_47/47.md; reference:cve,2018-17064; classtype:attempted-admin; sid:2067139; rev:1;)
  • Exploit requires a two-step sequence: first invoke /goform/clearlog, then send the injection payload to /goform/sylogapply via the syslogIp POST parameter.
  • Detect HTTP POST requests to /goform/sylogapply where the syslogIp parameter body contains shell metacharacters: semicolon (;/%3B), newline (\n/%0A), backtick (`/%60), pipe (|/%7C), or dollar sign ($/%24).
  • The URI path /goform/sylogapply has a fixed byte size of 18; use bsize matching to reduce false positives.
  • Attack targets D-Link DIR-816 A2 networking equipment over plaintext HTTP; deploy detection at perimeter and internal network boundaries.
  • ·The vulnerability is specific to D-Link DIR-816 A2 firmware version 1.10 B05; other firmware versions or hardware revisions may not be affected.
  • ·The Snort/Suricata rule only covers plaintext HTTP traffic (tls_state plaintext); exploitation over HTTPS or non-standard ports would evade this signature.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.