Advantech WebAccess/NMS extProgramAction Unrestricted File Upload Remote Code Execution Vulnerability
The extProgramAction.action endpoint fails to validate the filename of uploaded files, 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 of uploaded files, allowing arbitrary file upload.
Impact
An attacker could execute arbitrary code with SYSTEM privileges, but authentication is not required.
What the attacker needed
None
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 vulnerability. The application lets anyone upload files without checking what kind of file it is, so an attacker can upload a malicious program and run it on the server.
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.