CVE-2017-16960 Command injection in n/a

High 8.8 Published Updated

Authenticated attackers can execute arbitrary commands on TP-Link routers via shell metacharacters in the interface configuration.

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-2017-16960?

CVE-2017-16960 is a high-severity command injection vulnerability in n/a, published on 27 Nov 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

TP-Link TL-WVR, TL-WAR, TL-ER, and TL-R devices allow remote authenticated users to execute arbitrary commands via shell metacharacters in the t_bindif field of an admin/interface command to cgi-bin/luci, related to the get_device_byif function in /usr/lib/lua/luci/controller/admin/interface.lua in uhttpd.

Weakness: CWE-78

Which versions are affected by CVE-2017-16960?

It affects 55 products.

Products include Tp-Link Tl-Er3210g Firmware, Tp-Link Tl-Er3220g Firmware, Tp-Link Tl-Er5110g Firmware, Tp-Link Tl-Er5120g Firmware, Tp-Link Tl-Er5510g, Tp-Link Tl-Er5520g and 49 more.

How do I fix CVE-2017-16960?

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

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

Sources

Also known as GHSA-vm48-97cm-q78p.

Is CVE-2017-16960 in your software?

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

Check your SBOMs for free