Advantech WebAccess/NMS saveBackgroundAction Directory Traversal Denial-of-Service Vulnerability
The saveBackground.action endpoint of Advantech WebAccess/NMS fails to validate the oldImage parameter before using it in file operations. An unauthenticated remote attacker could supply a crafted path to delete arbitrary files, causing a denial-of-service condition.
This vulnerability allows remote attackers to delete arbitary 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 oldImage parameter is passed into file operations without checking that the resulting path stays within the intended directory.
Impact
An unauthenticated remote attacker could delete arbitrary files, which could create a denial-of-service condition on the system.
What the attacker needed
Network access to the endpoint; no authentication needed
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.
This software has a feature that takes a file path from the user and then deletes or moves a file at that location. Because it never checks that the path stays inside the intended folder, someone could point it at important system files instead. Deleting those files can stop the software, or the whole machine, from working properly.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.