CVE-2023-32166 D-Link D-View uploadFile Directory Traversal Arbitrary File Creation Vulnerability

High 8.1 Published Updated

Remote authenticated attackers can create arbitrary files in the SYSTEM context via directory traversal in the uploadFile function.

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

CVE-2023-32166 is a high-severity path traversal vulnerability in D-Link D-View, published on 3 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

D-Link D-View uploadFile Directory Traversal Arbitrary File Creation Vulnerability. This vulnerability allows remote attackers to create arbitrary files on affected installations of D-Link D-View. Authentication is required to exploit this vulnerability.

The specific flaw exists within the uploadFile function. 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 create files in the context of SYSTEM. Was ZDI-CAN-19527.

Weakness: CWE-22

Which versions are affected by CVE-2023-32166?

It affects 1 product.

Products include Dlink D-View 8.

How do I fix CVE-2023-32166?

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

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

Sources

Also known as GHSA-7w68-wxf2-gv4h.

Is CVE-2023-32166 in your software?

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

Check your SBOMs for free