D-Link D-View uploadMib Directory Traversal Arbitrary File Creation or Deletion Vulnerability
The uploadMib function in D-Link D-View fails to validate a user-supplied path before using it in file operations, allowing an authenticated remote attacker to create or delete arbitrary files with SYSTEM privileges.
Andrea Micalizzi aka rgod Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create and delete arbitrary files on affected installations of D-Link D-View. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An authenticated remote attacker could create or delete arbitrary files with SYSTEM privileges, potentially leading to further compromise.
What the attacker needed
Authentication required
The fix
D-Link has issued an update to correct this vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a directory traversal bug. When a program uses a file path supplied by a user without checking it, an attacker can use special sequences like '../' to escape the intended folder and reach other parts of the file system. Here, an attacker who is already logged in could create or delete files anywhere the service runs, which is with high (SYSTEM) privileges.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.