SMARTBEAR SoapUI unpackageAll Directory Traversal Remote Code Execution Vulnerability
The unpackageAll function in SMARTBEAR SoapUI fails to validate a user-supplied path before using it in file operations, allowing a crafted archive to write files outside the intended directory. An attacker can exploit this to execute arbitrary code in the context of the current user, but the victim must open a malicious file or visit a malicious page.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of SMARTBEAR SoapUI. 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 unpackageAll function does not sanitise or validate the file paths contained in an archive before extracting them, allowing directory traversal.
Impact
An attacker could execute arbitrary code in the context of the current user, but the victim must first open a malicious file or visit a malicious page.
What the attacker needed
Victim opens a malicious file; or victim visits a malicious page
The fix
The vulnerability was fixed by SMARTBEAR 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 path traversal bug in a tool called SoapUI. When SoapUI unpacks an archive, it does not check where the files are being written, so an attacker can make it write files to unexpected locations. By placing a malicious file in a location that gets executed, the attacker can run their own code on the victim's computer.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.