Advantech WebAccess/NMS DBBackupRestoreAction Unrestricted File Upload Remote Code Execution Vulnerability
The DBBackupRestoreAction.action endpoint fails to validate user-supplied data in the file element, allowing arbitrary file uploads. 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 processes the uploaded file element without validating the file type or content before storing and executing it.
Impact
An unauthenticated remote attacker could upload arbitrary files and execute code in the context of SYSTEM.
What the attacker needed
Network access to the 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.
This is a file upload flaw in a web application. The server accepts files from users without checking what they contain, so an attacker can send a malicious file and get the server to run it as code. No login is needed, and the code runs with the highest system privileges.
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.