Monorail Project: project-zero Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 6 users
Status: Fixed
Owner:
Email to this user bounced
Closed: Aug 2014



Sign in to add a comment
Flash leak of uninitialized data whilst rendering a 2-component JPEG
Reported by cevans@google.com, Jul 9 2014 Back to list
A SWF to reproduce is attached, along with source. To reproduce, host JPEGLeak2.swf on the same web server / directory as twocomps.jpg. A screenshot of the PoC in action is also attached.

twocomps.jpg is a weird JPEG file that has all sorts of problems (truncated, etc.,) but the main problem is that no software really knows how to handle 2-component JPEGs, as these do not exist in the wild. It looks like Flash's response to not knowing how to handle it is to leave the image canvas uninitialized. This can be a significant security issue.

The PoC goes most of the way to pulling a pointer value (ASLR defeat) out of the uninitialized canvas -- for the 64-bit Linux platform. But you can get the point just by refreshing the PoC a lot and seeing the rendered content change.

Since it's very easy to use this vulnerability to read uninitialized memory content, a 90-day disclosure deadline applies.
 
JPEGLeak2.as
1.9 KB Download
JPEGLeak2.swf
1.1 KB Download
flashleak.png
19.5 KB View Download
twocomps.jpg
73 bytes View Download
Comment 1 by cevans@google.com, Jul 10 2014
Labels: Id-2877
Comment 2 by cevans@google.com, Aug 21 2014
Labels: CVE-2014-0542
Comment 3 by cevans@google.com, Aug 21 2014
Labels: Fixed-2014-Aug-12
Bulletin: http://helpx.adobe.com/security/products/flash-player/apsb14-18.html
Comment 4 by cevans@google.com, Aug 21 2014
Labels: -Restrict-View-Commit
Comment 5 by cevans@google.com, Aug 21 2014
Status: Fixed
Blogged about here: http://googleprojectzero.blogspot.com/2014/08/what-does-pointer-look-like-anyway.html

Marking as Fixed since the patch is available since > 1 week.
Sign in to add a comment