CVE-2023-32166 D-Link D-View uploadFile Directory Traversal Arbitrary File Creation Vulnerability
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.
Other vulnerabilities in D-Link D-View
- CVE-2023-7163 D-Link D-View 8 Unauthenticated Probe-Core Server Communication
- CVE-2024-5296 D-Link D-View Use of Hard-coded Cryptographic Key Authentication Bypass Vulnerability
- CVE-2023-32165 D-Link D-View TftpReceiveFileHandler Directory Traversal Remote Code Execution Vulnerability
- CVE-2023-32169 D-Link D-View Use of Hard-coded Cryptographic Key Authentication Bypass Vulnerability
- CVE-2023-44411 D-Link D-View InstallApplication Use of Hard-coded Credentials Authentication Bypass Vulnerability
Sources
Also known as GHSA-7w68-wxf2-gv4h.