Advantech WebAccess/SCADA DATACORE IOCTL 0x0000791e Directory Traversal Remote Code Execution Vulnerability
The DATACORE.exe component of Advantech WebAccess/SCADA fails to validate a user-supplied path before using it in file operations through IOCTL 0x0000791e. A remote, unauthenticated attacker could exploit this to execute arbitrary code as Administrator.
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Advantech WebAccess/SCADA. 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 IOCTL handler passes a user-supplied path to file operations without validating or restricting it, allowing directory traversal.
Impact
A remote, unauthenticated attacker could execute arbitrary code in the context of Administrator.
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. A specific command handler in one of its programs takes a file path from the network without checking it, so an attacker can point it at files they should not reach. Because the program runs with high privileges, this can lead to running their own code on the machine.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.