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

Advantech WebAccess/NMS LicenseImportAction Unrestricted File Upload Remote Code Execution Vulnerability

The license import endpoint of Advantech WebAccess/NMS fails to validate the uploaded file element, so an unauthenticated remote attacker can upload arbitrary files. This lets the attacker run code with SYSTEM privileges on the affected installation.

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 licence import handler accepts the uploaded file element without validating its type or content, allowing arbitrary files to be written and later executed.

Impact

An unauthenticated remote attacker could upload arbitrary files and execute code in the context of SYSTEM on affected installations.

What the attacker needed

Network access to the affected service; no authentication needed

The fix

The vendor issued an update to correct the 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 software has a page for uploading a licence file. It never checks what kind of file arrives, so someone on the network can send any file they like without logging in. Because the software runs with high system rights, the uploaded file can be used to run the attacker's own code on 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.