CVE-2023-32165 D-Link D-View TftpReceiveFileHandler Directory Traversal Remote Code Execution Vulnerability

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code with SYSTEM privileges via directory traversal in D-Link D-View without authentication.

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-2023-32165?

CVE-2023-32165 is a critical path traversal vulnerability in D-Link D-View, published on 3 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

D-Link D-View TftpReceiveFileHandler Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of D-Link D-View. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the TftpReceiveFileHandler class. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of SYSTEM. Was ZDI-CAN-19497.

Weakness: CWE-22

Which versions are affected by CVE-2023-32165?

It affects 1 product.

Products include Dlink D-View 8.

How do I fix CVE-2023-32165?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-32165 being exploited?

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

Sources

Also known as GHSA-mw7p-6fxx-h7f5.

Is CVE-2023-32165 in your software?

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

Check your SBOMs for free