Advantech WebAccess/SCADA installation local file inclusion
A local file inclusion vulnerability in Advantech WebAccess/SCADA 9.0.1 allows an authenticated attacker to read arbitrary files on the server, such as win.ini or the PostgreSQL password file, by sending a crafted HTTP request with directory traversal sequences.
Originally disclosed on Cisco Talos
A local file inclusion vulnerability exists in the installation functionality of Advantech WebAccess/SCADA 9.0.1. A specially crafted application can lead to information disclosure.
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 application fails to sanitise user-supplied file paths, allowing directory traversal sequences to access files outside the intended directory.
Impact
An authenticated attacker could read sensitive files on the server, including system configuration and database credentials, leading to further compromise.
What the attacker needed
Authenticated access to the application
How it was found
- Authenticate to the WebAccess/SCADA application.
- Send a crafted HTTP GET request to the dashboardTree API endpoint with a fileName parameter containing directory traversal sequences.
- The server responds with the contents of the requested file, such as win.ini or the PostgreSQL password file.
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 path traversal bug. The software takes a file name from the user and uses it to read a file from the server without checking that the file is inside the intended folder. By using '..' sequences, an attacker can escape the folder and read sensitive files like system configuration or password files.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.