Directory Traversal in Genesis World MJCF Library (ZDI‑26‑753) Enables Sensitive File Disclosure
CVE ID: (not publicly assigned) | CVSS: 5.5 | Severity: Moderate
What It Is — The Zero Day Initiative (ZDI) disclosed a medium‑severity information‑disclosure flaw affecting the MJCF (MuJoCo XML) file‑parsing library used by Genesis World products. The vulnerability stems from insufficient validation of a user‑supplied file path before the library performs file‑system operations. An attacker who can cause the library to process a crafted MJCF file can cause the process to read arbitrary files relative to the process’s working directory and return their contents to the remote attacker. Because the exploit requires interaction with the library, the attack surface varies with how an organization integrates the MJCF parser (e.g., via a web service, API, or local tooling). The CVSS vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N reflects that the attacker must have local network access and user interaction, but the impact is high confidentiality loss with no integrity or availability impact.
Affected Products — All current releases of Genesis World that include the MJCF parsing component. The advisory does not enumerate specific version numbers, indicating the flaw is present across the product line.
Vulnerability Details —
- Root cause: The MJCF parser concatenates a caller‑supplied path with a base directory without sanitizing “../” sequences or other path‑traversal tricks.
- Exploitation flow:
- An attacker crafts an MJCF file that embeds a malicious
<include file="../secret.cfg"/>element (or similar). - The victim system loads the MJCF file via the Genesis World library, typically as part of a simulation or model‑import workflow.
- The library resolves the relative path against the process’s current working directory and opens the target file.
- Contents of the target file are read and, depending on the integration, may be returned to the caller or logged, exposing sensitive configuration or credential data.
- Impact scope: Confidentiality breach of any file readable by the process (e.g., configuration files, environment variables, internal logs). No privilege escalation or code execution is reported.
Disclosure Timeline —
- 07 / 16 / 26: ZDI contacts a Genesis World contributor requesting a secure disclosure channel.
- 07 / 28 / 26: ZDI asks the vendor to update its security policy via a GitHub issue; the issue is closed the same day.
- 08 / 06 / 26: ZDI follows up for PSIRT contact information.
- 09 / 11 / 26: ZDI notifies the vendor of intent to publish a 0‑day advisory.
- 09 / 25 / 26: Formal vulnerability report delivered to Genesis World.
- 10 / 13 / 26: Coordinated public release of the advisory and an updated advisory note.
Vendor Response — Genesis World has not issued a patch at the time of publication. The advisory’s mitigation guidance advises “restrict interaction with the product,” effectively limiting exposure by preventing untrusted MJCF files from being processed. No public statement from Genesis World is quoted in the advisory.
Expert Commentary — Security researchers note that directory‑traversal bugs are a classic class of input‑validation failures that often slip through when libraries are reused in new contexts. Because the MJCF parser is intended for scientific and simulation workloads, developers may assume a trusted data source, overlooking the need for strict path sanitization. The CVSS score of 5.5 reflects the limited attack vector but acknowledges the high confidentiality impact when exploited.
Regulatory & Compliance Lens — From a control‑assurance perspective, this flaw tests the “Validate and sanitize user‑supplied inputs before file system operations” control objective. Satisfying this objective contributes evidence toward multiple frameworks (e.g., NIST CSF 2.0’s Protect function, ISO 27001 A.12.2, and SOC 2 Security criteria). Demonstrating that such validation controls are in place and continuously monitored strengthens an organization’s audit readiness across those standards.
Recommended Actions —
- Inventory all systems that invoke the Genesis World MJCF library and document the data flow.
- Isolate the library behind a sandbox or restrict it to process only trusted MJCF files; consider network segmentation to limit local‑network exposure.
- Implement input validation at the integration layer: reject or sanitize any path elements containing “../” or absolute paths before passing files to the parser.
- Capture evidence of the validation controls (e.g., code reviews, test results, configuration baselines) for audit purposes.
- Monitor file‑access logs for anomalous reads from the process’s working directory and set alerts for unexpected file‑open events.
Source: Zero Day Initiative advisory