RCE in D-Link Dir-823g Firmware

CVE-2019-7297

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.125 (96.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-7297?
CVE-2019-7297 is a critical-severity vulnerability in D-Link Dir-823g Firmware, classified under OS Command Injection. CVSS score: 9.8/10. Published 2019-01-31.
How severe is CVE-2019-7297?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2019-7297 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.