Advantech WebAccess/NMS saveBackground Unrestricted File Upload Remote Code Execution Vulnerability
The saveBackground.action endpoint of Advantech WebAccess/NMS fails to validate the filename supplied by the user, allowing arbitrary files to be uploaded. An unauthenticated remote attacker could upload a file and execute code with SYSTEM privileges.
This vulnerability allows remote attackers to execute arbitrary code 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 endpoint trusted the user-supplied filename and file content without validating the file type or restricting where files are stored.
Impact
An unauthenticated remote attacker could execute arbitrary code on the server with SYSTEM privileges.
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 lets someone upload a file, but it never checks what kind of file it is. Because of that, an attacker can send a harmful file without logging in and get the server to run it, taking full control of the machine.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.