Skip to content
Path traversal Advisory Intermediate

(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.

Aaron Luo Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

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.

Aaron Luo of VicOne LAB R7, on the Zero Day Initiative

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.

More by Aaron Luo

View all

7 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.