Advantech WebAccess/NMS download.jsp Directory Traversal Information Disclosure and Denial-of-Service Vulnerability
The download.jsp endpoint of Advantech WebAccess/NMS fails to validate the user-supplied filename parameter before using it in file operations. An unauthenticated remote attacker could use this to read sensitive files as SYSTEM or to delete arbitrary files, causing a denial of service.
This vulnerability allows remote attackers to disclose sensitive information and delete arbitrary files on affected installations of Advantech WebAccess/NMS. Authentication is not 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
Root cause
Likely the filename parameter is passed into file operations without checking that the resulting path stays inside the intended directory.
Impact
An unauthenticated attacker could read files with SYSTEM privileges or delete arbitrary files to cause a denial of service.
What the attacker needed
Network access to the download.jsp endpoint; no authentication required
The fix
The vendor issued an update to correct the 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.
Some web pages take a file name from the address and open that file on the server. If the server does not check the name, someone can ask for files outside the intended folder, such as system files, or even delete files. Here no login was needed, so anyone who could reach the service could try it.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.