CVE-2024-5298 D-Link D-View queryDeviceCustomMonitorResult Exposed Dangerous Method Remote Code Execution Vulnerability

High 8.8 Published Updated

Remote attackers can execute arbitrary code as root on D-Link D-View by exploiting an exposed dangerous method, bypassing authentication.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5298?

CVE-2024-5298 is a high-severity code injection vulnerability in D-Link D-View, published on 23 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

D-Link D-View queryDeviceCustomMonitorResult Exposed Dangerous Method Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of D-Link D-View. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the queryDeviceCustomMonitorResult method. The issue results from an exposed dangerous method. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21842.

Weakness: CWE-749

Which versions are affected by CVE-2024-5298?

It affects 1 product.

Products include Dlink D-View 8.

How do I fix CVE-2024-5298?

No fix has been published for CVE-2024-5298 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-5298 being exploited?

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

Sources

Is CVE-2024-5298 in your software?

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

Check your SBOMs for free