Advantech WebAccess/NMS FwUpgradeAction Unrestricted File Upload Remote Code Execution Vulnerability
The FwUpgradeAction.action endpoint does not properly validate user-supplied filenames, allowing arbitrary file uploads. An unauthenticated remote attacker could upload a malicious 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 application fails to validate the filename and file type during upload, permitting arbitrary files to be written to a location where they can be executed.
Impact
An unauthenticated attacker could execute arbitrary code with SYSTEM privileges on the affected installation.
What the attacker needed
No authentication required; network access to the endpoint
The fix
The vulnerability was fixed by the vendor in an update.
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 vulnerability. The web application lets anyone send files to a specific address without checking what kind of file it is. Because the server runs with high privileges, an attacker can upload a harmful file and make the server run it, taking 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.