Advantech WebAccess/NMS extProgramAction Unrestricted File Upload Remote Code Execution Vulnerability
The extProgramAction.action endpoint fails to validate the filename element, allowing an unauthenticated attacker to upload arbitrary files. This can lead to remote code execution 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 does not validate the filename or file type before saving uploaded files.
Impact
An unauthenticated attacker could execute arbitrary code with SYSTEM privileges on the server.
What the attacker needed
No authentication required
The fix
The vendor has issued an update to correct this 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 without checking what they are, so an attacker can upload a malicious file and then run it on the server, 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.