Bosch Rexroth IndraWorks CTAPRJ.ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability
The CTAPRJ.ZIP file parser in Bosch Rexroth IndraWorks does not properly validate user-supplied paths before using them in file operations. An attacker could exploit this to create arbitrary files and execute code as the current user, provided the target opens a malicious file or visits a malicious page.
This vulnerability allows remote attackers to create arbitrary files on affected installations of Bosch Rexroth IndraWorks. 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 archive extraction routine joins attacker-controlled entry paths to a destination directory without checking for traversal sequences or absolute paths.
Impact
An attacker could create arbitrary files and execute code in the context of the current user, but only if the target opens a malicious file or visits a malicious page.
What the attacker needed
Victim opens a malicious file; victim visits a malicious page
The fix
The vendor issued an update to correct the vulnerability, so it was fixed.
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 unpacks a ZIP archive, it reads file names from inside the archive and writes files to disk. If it trusts those names without checking them, a crafted name can point outside the intended folder, letting an attacker drop files wherever they like. Here that could let someone plant a file that later runs as the logged-in user.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.