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

Advantech WebAccess/SCADA DATACORE IOCTL 0x0000791e Directory Traversal Remote Code Execution Vulnerability

The DATACORE.exe service in Advantech WebAccess/SCADA fails to validate a user-supplied path in IOCTL 0x0000791e, allowing a remote unauthenticated attacker to perform directory traversal and execute arbitrary code as Administrator.

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 DATACORE.exe passes a user-controlled path to file operations without validating it, enabling directory traversal.

Impact

A remote, unauthenticated attacker could execute arbitrary code with Administrator privileges on vulnerable installations.

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 flaw in an industrial control system program. A remote attacker can send a specially crafted request that includes a file path, and because the program does not check that path properly, the attacker can make it access files outside the intended folder. That lets the attacker run their own code on the machine with high privileges, without needing to log in first.

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.