Delta Industrial Automation DIALink Directory Traversal Arbitrary File Creation Vulnerability
The web service's opcua endpoint fails to validate a user-supplied filename path, allowing an authenticated attacker to create arbitrary files. Authentication can be bypassed, so a remote attacker could exploit this to create files in the context of the web service.
This vulnerability allows remote attackers to create arbitrary files on affected installations of Delta Industrial Automation DIALink. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
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 opcua endpoint passes the user-controlled filename parameter directly into file creation without validating or restricting the path.
Impact
A remote attacker could create arbitrary files on the affected installation in the context of the web service, and although authentication is required, the existing authentication mechanism can be bypassed.
What the attacker needed
Network access to TCP port 5000; authentication bypass
The fix
The vendor issued an update to correct this 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 directory traversal bug: the program takes a filename from the user and uses it to create a file without checking that the path stays inside the intended folder. An attacker can supply a path that climbs out of that folder and write files elsewhere on the server. The report also says the login check can be bypassed, so even though a login is normally needed, an outsider could still reach the vulnerable code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.