CVE-2015-2051 D-Link DIR-645 Router Remote Code Execution

Exploited in the wild High 8.8 Published Updated

Remote attackers can execute arbitrary commands on D-Link DIR-645 routers via the HNAP interface, requiring firmware updates to mitigate.

Exploited in the wild
Since 10 Feb 2022
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2015-2051?

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

Official description

The D-Link DIR-645 Wired/Wireless Router Rev. Ax with firmware 1.04b12 and earlier allows remote attackers to execute arbitrary commands via a GetDeviceSettings action to the HNAP interface.

Weakness: CWE-77

Which versions are affected by CVE-2015-2051?

It affects 1 product.

Products include Dlink Dir-645 Firmware.

How do I fix CVE-2015-2051?

No fix has been published for CVE-2015-2051 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 10 Aug 2022.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2015-2051 being exploited?

Yes. Attackers have exploited CVE-2015-2051 in the wild since at least 10 Feb 2022.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

Sources

Also known as GHSA-x629-5xff-w7qg.

Is CVE-2015-2051 in your software?

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

Check your SBOMs for free