(0Day) Genesis World decompress_usdz Directory Traversal Remote Code Execution Vulnerability
The decompress_usdz function in Genesis World does not properly validate a user-supplied path before using it in file operations. An attacker who can supply a crafted archive could use this to execute code as the current user.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Genesis World. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
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 entry names to a destination folder without checking for '..' sequences or absolute paths, so entries can escape the target directory.
Impact
An attacker could execute arbitrary code in the context of the current user, though the text notes that interaction with the library is required and that attack vectors vary by implementation.
What the attacker needed
Victim opens a crafted archive; attacker can supply the archive
The fix
It should be fixed by validating and normalising each archive entry path and rejecting entries that resolve outside the extraction directory; the text does not say a fix exists.
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: a program unpacks a file archive and trusts the file names inside it. If a name points outside the intended folder, the program can write files wherever it likes, and an attacker can use that to run their own code. The catch is that the attacker must get the victim to open a malicious archive.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.