CVE-2024-57595 Command injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary commands on D-Link DIR-825 routers via the wps_pin parameter in apc_client_pin.cgi.

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

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

Official description

DLINK DIR-825 REVB 2.03 devices have an OS command injection vulnerability in the CGl interface apc_client_pin.cgi, which allows remote attackers to execute arbitrary commands via the parameter "wps_pin" passed to the apc_client_pin.cgi binary through a POST request.

Weakness: CWE-78

Which versions are affected by CVE-2024-57595?

How do I fix CVE-2024-57595?

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

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

Sources

Also known as GHSA-hrpc-m3r9-f5w5.

Is CVE-2024-57595 in your software?

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

Check your SBOMs for free