CVE-2025-2717 D-Link DIR-823X HTTP POST Request diag_nslookup sub_41710C os command injection

Medium 5.1 Published Updated

Remote attackers can execute arbitrary OS commands on D-Link DIR-823X routers via the diag_nslookup handler.

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

What is CVE-2025-2717?

CVE-2025-2717 is a medium-severity command injection vulnerability in D-Link DIR-823X, published on 24 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in D-Link DIR-823X 240126/240802. This issue affects the function sub_41710C of the file /goform/diag_nslookup of the component HTTP POST Request Handler. The manipulation of the argument target_addr leads to os command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2025-2717?

It affects 1 product.

Products include Dlink Dir-823x Firmware.

How do I fix CVE-2025-2717?

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

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

Sources

Also known as GHSA-w27p-m7fr-3hpc.

Is CVE-2025-2717 in your software?

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

Check your SBOMs for free