CVE-2023-51123 Command injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code on D-Link DIR-815 routers via a crafted POST request to the cgibin binary.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-51123?

CVE-2023-51123 is a critical command injection vulnerability in n/a, published on 10 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue discovered in D-Link dir815 v.1.01SSb08.bin allows a remote attacker to execute arbitrary code via a crafted POST request to the service parameter in the soapcgi_main function of the cgibin binary component.

Weakness: CWE-78

Which versions are affected by CVE-2023-51123?

It affects 1 product.

Products include Dlink Dir-815 Firmware.

How do I fix CVE-2023-51123?

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

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

Sources

Also known as GHSA-2947-h8cf-6m6g.

Is CVE-2023-51123 in your software?

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

Check your SBOMs for free