CVE-2020-25757 Command injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary commands with root privileges on D-Link DSR VPN routers due to insufficient input validation in Lua CGIs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-25757?

CVE-2020-25757 is a high-severity command injection vulnerability in n/a, published on 15 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A lack of input validation and access controls in Lua CGIs on D-Link DSR VPN routers may result in arbitrary input being passed to system command APIs, resulting in arbitrary command execution with root privileges. This affects DSR-150, DSR-250, DSR-500, and DSR-1000AC with firmware 3.14 and 3.17.

Weakness: CWE-78, CWE-20

Which versions are affected by CVE-2020-25757?

It affects 10 products.

Products include Dlink Dsr-1000 Firmware, Dlink Dsr-1000ac Firmware, Dlink Dsr-1000n Firmware, Dlink Dsr-150 Firmware, Dlink Dsr-150n Firmware, Dlink Dsr-250 Firmware and 4 more.

How do I fix CVE-2020-25757?

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

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

Sources

Also known as GHSA-7374-8xfw-v758.

Is CVE-2020-25757 in your software?

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

Check your SBOMs for free