Skip to content
Path traversal Advisory Advanced CVE-2020-12026

Advantech WebAccess/SCADA ViewSrv IOCTL 0x0000277d Directory Traversal Remote Code Execution Vulnerability

The ViewSrv.dll component of Advantech WebAccess/SCADA fails to validate a user-supplied path before using it in file operations through IOCTL 0x0000277d. An unauthenticated remote attacker could exploit this to execute arbitrary code with Administrator privileges.

Z0mb1E Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

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

Z0mb1E, 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 IOCTL handler in ViewSrv.dll passes a caller-supplied path to file operations without validating or restricting it, allowing traversal outside the intended directory.

Impact

A remote, unauthenticated attacker could execute arbitrary code in the context of Administrator on the affected installation.

What the attacker needed

Network access to the SCADA service; no authentication required

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 is a SCADA (industrial control) product that runs a service on a network. A specific request to that service includes a file path, and the software uses the path without checking it is safe, so an attacker can point it at files they should not reach and run their own code. No login is needed, which makes it worse.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Z0mb1E

View all

61 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.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.