CVE-2020-36178 Command injection in n/a
Attackers can execute arbitrary OS commands on TP-Link TL-WR840N routers via IP address fields in the web interface due to unsafe system calls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-36178?
CVE-2020-36178 is a critical command injection vulnerability in n/a, published on 6 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
oal_ipt_addBridgeIsolationRules on TP-Link TL-WR840N 6_EU_0.9.1_4.16 devices allows OS command injection because a raw string entered from the web interface (an IP address field) is used directly for a call to the system library function (for iptables). NOTE: oal_ipt_addBridgeIsolationRules is not the only function that calls util_execSystem.
Weakness: CWE-78
Which versions are affected by CVE-2020-36178?
It affects 1 product.
Products include Tp-Link Tl-Wr840n Firmware.
How do I fix CVE-2020-36178?
No fix has been published for CVE-2020-36178 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-2020-36178 being exploited?
There is no known exploitation of CVE-2020-36178 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-qqg6-4j54-68gr.