CVE-2018-17066 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on D-Link DIR-816 routers via shell metacharacters in the datetime parameter of a specific CGI handler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-17066?

CVE-2018-17066 is a critical command injection vulnerability in n/a, published on 15 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered on D-Link DIR-816 A2 1.10 B05 devices. An HTTP request parameter is used in command string construction in the handler function of the /goform/form2systime.cgi route. This could lead to command injection via shell metacharacters in the datetime parameter.

Weakness: CWE-78

Which versions are affected by CVE-2018-17066?

It affects 1 product.

Products include Dlink Dir-816 A2 Firmware.

How do I fix CVE-2018-17066?

No fix has been published for CVE-2018-17066 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2018-17066 being exploited?

There is no known exploitation of CVE-2018-17066 in the wild and no public exploit code.

Sources

Also known as GHSA-m4xm-99v9-fcwr.

Is CVE-2018-17066 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free