CVE-2017-16958 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 bridge configuration 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-2017-16958?

CVE-2017-16958 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/bridge command to cgi-bin/luci, related to the get_device_byif function in /usr/lib/lua/luci/controller/admin/bridge.lua in uhttpd.

Weakness: CWE-78

Which versions are affected by CVE-2017-16958?

It affects 53 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 Firmware, Tp-Link Tl-Er5520g Firmware and 47 more.

How do I fix CVE-2017-16958?

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

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

Sources

Also known as GHSA-p2qg-hvxw-79wv.

Is CVE-2017-16958 in your software?

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

Check your SBOMs for free