Advantech WebAccess/NMS ConfigRestoreAction Unrestricted File Upload Remote Code Execution Vulnerability
The ConfigRestoreAction.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 handling the file element does not validate or restrict the type and content of uploaded files before storing and processing them.
Impact
An unauthenticated remote attacker could upload arbitrary files and execute code in the context of SYSTEM, giving full control of the host.
What the attacker needed
Network access to the endpoint; no authentication required
The fix
The vendor issued an update to correct the vulnerability; the endpoint should validate uploaded files before processing them.
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 network management product. The server accepts files sent to a particular endpoint without checking what they are, so someone on the network can send a malicious file and get it run as the system account. No login is needed, which makes it worse.
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.