CVE-2019-12787 Command injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary commands on D-Link DIR-818LW routers via XML injection in the HNAP1 SetWanSettings interface.

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

What is CVE-2019-12787?

CVE-2019-12787 is a high-severity command injection vulnerability in n/a, published on 10 Jun 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered on D-Link DIR-818LW devices from 2.05.B03 to 2.06B01 BETA. There is a command injection in HNAP1 SetWanSettings via an XML injection of the value of the Gateway key.

Weakness: CWE-78

Which versions are affected by CVE-2019-12787?

It affects 1 product.

Products include Dlink Dir-818lw Firmware.

How do I fix CVE-2019-12787?

No fix has been published for CVE-2019-12787 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-2019-12787 being exploited?

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

Sources

Also known as GHSA-f2mm-m48v-8hrp.

Is CVE-2019-12787 in your software?

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

Check your SBOMs for free