CVE-2019-7297 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary OS commands on D-Link DIR-823G routers via crafted HNAP1 requests, requiring firmware updates to mitigate.

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-2019-7297?

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

Official description

An issue was discovered on D-Link DIR-823G devices with firmware through 1.02B03. A command Injection vulnerability allows attackers to execute arbitrary OS commands via shell metacharacters in a crafted /HNAP1 request. This occurs when the GetNetworkTomographyResult function calls the system function with an untrusted input parameter named Address. Consequently, an attacker can execute any command remotely when they control this input.

Weakness: CWE-78

Which versions are affected by CVE-2019-7297?

It affects 1 product.

Products include D-Link Dir-823g Firmware.

How do I fix CVE-2019-7297?

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

There is no known exploitation of CVE-2019-7297 in the wild and no public exploit code.

Sources

Also known as GHSA-8jwc-8ww6-25xw.

Is CVE-2019-7297 in your software?

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

Check your SBOMs for free