Skip to content
Memory corruption Advisory Advanced CVE-2016-1850

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.

Tyler Bohan Follow

Originally disclosed on Cisco Talos

High 7.4 View original

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.

Tyler Bohan, on Cisco Talos

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

  1. Create a DAE document containing a node that references a light object through a geometry instance.
  2. Open the crafted DAE file in an application that uses Scene Kit, such as Preview.
  3. 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.

More by Tyler Bohan

View all

84 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.