CVE-2019-6487 Command injection in n/a

High 8.8 Published Updated

Authenticated attackers can execute arbitrary commands on TP-Link WDR series routers via the weather citycode field.

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-6487?

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

Official description

TP-Link WDR Series devices through firmware v3 (such as TL-WDR5620 V3.0) are affected by command injection (after login) leading to remote code execution, because shell metacharacters can be included in the weather get_weather_observe citycode field.

Weakness: CWE-78

Which versions are affected by CVE-2019-6487?

It affects 5 products.

Products include Tp-Link Tl-Wdr3500 Firmware, Tp-Link Tl-Wdr3600 Firmware, Tp-Link Tl-Wdr4300 Firmware, Tp-Link Tl-Wdr4900 Firmware, Tp-Link Tl-Wdr5620 Firmware.

How do I fix CVE-2019-6487?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5m66-hppq-vhmq.

Is CVE-2019-6487 in your software?

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

Check your SBOMs for free