CVE-2019-7298 Command injection in n/a
Attackers can execute arbitrary OS commands on D-Link DIR-823G routers via crafted HNAP requests, leading to remote code execution.
- 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-7298?
CVE-2019-7298 is a high-severity command injection vulnerability in Dlink Dir-823g Firmware, published on 1 Feb 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 a crafted /HNAP1 request. This occurs when any HNAP API function triggers a call to the system function with untrusted input from the request body, such as a body of ' /bin/telnetd' for the GetDeviceSettingsset API function. Consequently, an attacker can execute any command remotely when they control this input.
Weakness: CWE-78
Which versions are affected by CVE-2019-7298?
It affects 1 product.
Products include Dlink Dir-823g Firmware.
How do I fix CVE-2019-7298?
No fix has been published for CVE-2019-7298 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-7298 being exploited?
There is no known exploitation of CVE-2019-7298 in the wild and no public exploit code.
Other vulnerabilities in Dlink Dir-823g Firmware
Sources
Also known as GHSA-w4qp-7pjr-4mq7.