(Pwn2Own) Rockwell Automation FactoryTalk View SE RegisterEDSFiles Directory Traversal Remote Code Execution Vulnerability
The RegisterEDSFiles tag in FactoryTalk View SE fails to validate the fileName parameter, allowing an unauthenticated remote attacker to create arbitrary files. This can lead to remote code execution with SYSTEM privileges.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create arbitrary files on affected installations of Rockwell Automation FactoryTalk View SE. 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 software fails to validate or sanitise the user-supplied fileName parameter before using it in file operations, allowing path traversal.
Impact
An unauthenticated remote attacker could create arbitrary files and execute code with SYSTEM privileges.
What the attacker needed
No authentication required; Network access to the service
The fix
The vulnerability was fixed by Rockwell Automation in an update.
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 in Rockwell Automation's FactoryTalk View SE software. An attacker can send a specially crafted request to a service that handles file registration, and because the software doesn't check the file path properly, the attacker can write files anywhere on the system. This can be used to run malicious code with high privileges.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.