Bosch Rexroth IndraWorks MTX XIWP File Parsing Directory Traversal Remote Code Execution Vulnerability
The XIWP file parser in Bosch Rexroth IndraWorks MTX fails to validate user-supplied paths before using them in file operations, allowing a crafted file to write arbitrary files. An attacker could combine this with other vulnerabilities to execute code as the current user.
This vulnerability allows remote attackers to create arbitrary files on affected installations of Bosch Rexroth IndraWorks MTX. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 XIWP file parser does not sanitise or restrict path values from the file before using them in file write operations.
Impact
An attacker could create arbitrary files on the target system and, by chaining with other vulnerabilities, execute code in the context of the current user; user interaction is required.
What the attacker needed
Victim opens a malicious XIWP file; user interaction 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.
When a program opens a file, it should only use the path the user intended. Here, the program trusts a path inside a special project file without checking it, so an attacker can make it write files anywhere on the computer. That alone is bad, and it can be used as a stepping stone to run malicious code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.