Skip to content
Path traversal Advisory Intermediate

(0Day) Genesis World MJCF Directory Traversal Information Disclosure Vulnerability

The MJCF file parser in Genesis World does not validate a user-supplied path before using it in file operations, so a crafted file can make the software read files outside its intended directory. An attacker who can get a victim to load such a file could disclose sensitive information readable by the process.

Aaron Luo Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows remote attackers to disclose sensitive information 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 MJCF parser passes a path taken from the file straight into file operations without checking that it stays inside the expected directory.

Impact

An attacker could disclose sensitive information in the context of the current process, though the victim must interact with the library and the attack vector depends on how it is implemented.

What the attacker needed

Victim loads a crafted MJCF file; attacker can deliver the file to the victim

The fix

The text gives no patch; the only mitigation it offers is to restrict interaction with the product.

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.

Some programs read files whose names are written inside the files you give them. If the program trusts that name without checking it, someone can point it at a file elsewhere on the computer, such as a settings or password file, and the program will happily read it out. This is called a path traversal, and here it lets an attacker see files the program can access.

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.