CVE-2024-51024 Command injection in n/a

High 8.0 Published Updated

Attackers can execute arbitrary OS commands on D-Link DIR-823G routers via a crafted request to the SetWanSettings function.

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-2024-51024?

CVE-2024-51024 is a high-severity command injection vulnerability in Dlink Dir-823g Firmware, published on 5 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

D-Link DIR_823G 1.0.2B05 was discovered to contain a command injection vulnerability via the HostName parameter in the SetWanSettings function. This vulnerability allows attackers to execute arbitrary OS commands via a crafted request.

Weakness: CWE-78

Which versions are affected by CVE-2024-51024?

It affects 1 product.

Products include Dlink Dir-823g Firmware.

How do I fix CVE-2024-51024?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51024 exists.

All Dlink Dir-823g Firmware vulnerabilities

Sources

Also known as GHSA-hv6q-xm2j-9hqv.

Is CVE-2024-51024 in your software?

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

Check your SBOMs for free