CVE-2022-1262 Command injection in D-Link Routers
An attacker with remote CLI access can execute arbitrary commands as root on D-Link routers via a command injection flaw in the protest binary.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-1262?
CVE-2022-1262 is a high-severity command injection vulnerability in D-Link Routers, published on 11 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A command injection vulnerability in the protest binary allows an attacker with access to the remote command line interface to execute arbitrary commands as root.
Weakness: CWE-78
Which versions are affected by CVE-2022-1262?
It affects 10 products.
Products include Dlink Dir-1360 Firmware, Dlink Dir-1760 Firmware, Dlink Dir-1960 Firmware, Dlink Dir-2640 Firmware, Dlink Dir-2660 Firmware, Dlink Dir-3040 Firmware and 4 more.
How do I fix CVE-2022-1262?
No fix has been published for CVE-2022-1262 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-2022-1262 being exploited?
There is no known exploitation of CVE-2022-1262 in the wild and no public exploit code.
Sources
Also known as GHSA-q6c3-c7qx-wh5h.