Apple OS X Scene Kit DAE XML Code Execution Vulnerability
A type confusion flaw in Apple's Scene Kit handling of COLLADA DAE files lets a crafted document pass a light object where a geometry object is expected, causing an illegal memory access. The text says this could potentially be shaped into attacker-controlled code execution, though the observed result is a crash.
Originally disclosed on Cisco Talos
An exploitable type confusion vulnerability exists in the handling of DAE images on OS X. A crafted DAE document can trigger a type confusion vulnerability which potentially could be exploited to achieve attacker controlled code execution.
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 COLLADA reader does not validate that an object referenced as a geometry is actually a geometry before accessing its attributes.
Impact
The crafted file causes a crash, and the text claims it could potentially be developed into attacker-controlled code execution, though no working exploit is shown.
What the attacker needed
Victim opens a crafted DAE file; OS X El Capitan 10.11.4
The fix
The vendor released a patch, though the text does not describe what the patch changed.
How it was found
- Create a DAE document containing a node that references a light object through a geometry instance.
- Open the crafted DAE file in an application that uses Scene Kit, such as Preview.
- Observe the crash in the attribute lookup called while reading the geometry.
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.
A DAE file is an XML document describing 3D scenes, and Scene Kit is the Apple framework that reads it. The parser trusts the type of object named in the file, so a light can be referenced where a geometry is expected and the program reads memory as if it were the wrong kind of object. That mismatch can crash the app and, in principle, be steered into running attacker code.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.