Skip to content
File upload Advisory Intermediate CVE-2020-10621

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.

rgod Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Advantech WebAccess/NMS. Authentication is not required to exploit this vulnerability.

rgod of 9sg, on the Zero Day Initiative

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.

More by rgod

View all

87 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.