Pixar OpenUSD binary file format offset seek information leak vulnerability
The OpenUSD binary file parser does not validate file offsets read from the file header or table of contents before seeking, allowing an attacker to craft a malformed USD file that causes out-of-bounds memory reads. This could lead to disclosure of sensitive information and help bypass mitigations such as ASLR.
Originally disclosed on Cisco Talos
An exploitable vulnerability exists in the way Pixar OpenUSD 20.05 handles file offsets in binary USD files. A specially crafted malformed file can trigger an arbitrary out-of-bounds memory access that could lead to the disclosure of sensitive information.
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
The parser uses file offsets from the file header and table of contents to seek without verifying they fall within the memory-mapped file bounds.
Impact
An attacker could read arbitrary memory, potentially disclosing sensitive information and defeating ASLR, though the report only demonstrates a crash.
What the attacker needed
Victim opens a malicious USD file
How it was found
- Create a malformed USD file with a table of contents offset pointing outside the file.
- Open the file with a tool that uses OpenUSD, such as macOS Quick Look.
- The parser seeks to the out-of-bounds offset and reads memory, causing a crash or information leak.
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.
OpenUSD is a file format for 3D scenes. The parser reads a number from the file that tells it where to look for data, but it does not check if that number points inside the file. An attacker can put a huge number there, so the program reads memory outside the file, which may reveal secrets.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.