CVE-2024-51186 Command injection in n/a

High 8.0 Published Updated

Attackers can execute arbitrary commands on D-Link DIR-820L routers via the ping_addr parameter in ping functions.

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-51186?

CVE-2024-51186 is a high-severity command injection vulnerability in n/a, published on 11 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-820L 1.05b03 was discovered to contain a remote code execution (RCE) vulnerability via the ping_addr parameter in the ping_v4 and ping_v6 functions.

Weakness: CWE-77

Which versions are affected by CVE-2024-51186?

It affects 1 product.

Products include Dlink Dir-820l Firmware.

How do I fix CVE-2024-51186?

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

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

Sources

Also known as GHSA-6r2c-554q-5q54.

Is CVE-2024-51186 in your software?

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

Check your SBOMs for free