CVE-2017-16959 Path traversal in n/a
Authenticated attackers can read arbitrary files on TP-Link routers via crafted HTTP headers in the locale feature.
- 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-16959?
CVE-2017-16959 is a medium-severity path traversal 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
The locale feature in cgi-bin/luci on TP-Link TL-WVR, TL-WAR, TL-ER, and TL-R devices allows remote authenticated users to test for the existence of arbitrary files by making an operation=write;locale=%0d request, and then making an operation=read request with a crafted Accept-Language HTTP header, related to the set_sysinfo and get_sysinfo functions in /usr/lib/lua/luci/controller/locale.lua in uhttpd.
Weakness: CWE-22
Which versions are affected by CVE-2017-16959?
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-16959?
No fix has been published for CVE-2017-16959 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2017-16959 being exploited?
There is no known exploitation of CVE-2017-16959 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-f5x4-48f8-6w8q.