Re: EEYE: Macromedia Shockwave Flash Malformed Header Overflow

2002-08-13 Thread Will Bryant


I've downloaded this fixed version, but it seems to be vulnerable to
something I've discovered last week: if you take a .swf and rot13 encode
it (not all of it, so the headers are not messed up), you can crash the
user's browser.

There are quite literally a thousand ways to crash the Macromedia Flash 
player (at least the version in use a year ago, when I was dealing with 
it).  The majority of mistakes one makes, and bugs one finds, when 
attempting to create an SWF-writing application will kill the player: about 
a quarter of them will crash the player (and browser), the remainder mostly 
cause the player's memory usage to shoot up to about 40-70mb and then hang.

A surprisingly large number of these faults can be triggered just using the 
Macromedia SWF SDK, without any mucking around with the binary SWF files, 
although you do have to fix a number of bugs in the SDK before you can get 
to that stage (which I won't go into here - Macromedia seem to have made a 
habit of suing anyone who tries to distribute bugfixes for their SDK).

Anyway, getting back to the security issues, while crashing the browser is 
definitely unacceptable I'm not yet sure if any of those crashes would be 
exploitable, as most of them seem to be due to problems with their 
algorithms (as opposed to say simple string buffer overflows) - stack 
overflows due to recursion, null pointer violations, that kind of thing.

Further experimentation would be warranted.  I'd recommend starting with 
the audio compression, image compression, and font handling, as since they 
involve buffer decompression etc. there's a better chance they're 
susceptible to buffer overflows.

Cheers,
Will

___
Will Bryant, [EMAIL PROTECTED]cell +64 21 655 443
http://www.core-dev.co.nz/ Personal: http://carcino.gen.nz/
[PGP 0x96A7F40A, FP 827F A2A9 C718 106D 8F80  E16E A244 D5F2 96A7 F40A]




Re: EEYE: Macromedia Shockwave Flash Malformed Header Overflow

2002-08-12 Thread Carlos Laviola

On Fri, Aug 09, 2002 at 05:44:27PM -0400, Mike Chambers wrote:
 The linux and solaris updates will be avaliable later today.
 
 You will be able to download it at:
 www.macromedia.com/go/getflashplayer/ 

I've downloaded this fixed version, but it seems to be vulnerable to
something I've discovered last week: if you take a .swf and rot13 encode
it (not all of it, so the headers are not messed up), you can crash the
user's browser.  I've tested it on Netscape 4.77 with Flash 4.0 r12 and
Galeon 1.2.5, which is based on Mozilla 1.0, with Flash 5.0 r50 (both
running on Debian unstable) and IE 6.0 (on Windows 2000) and all of them
crash instantly when I try to open the rot13-garbled file.

Check it out:

http://alternex.com.br/~claviola/sample1.swf (original)
http://alternex.com.br/~claviola/sample2.swf (modified)

-- 
Carlos Laviola [EMAIL PROTECTED]



RE: EEYE: Macromedia Shockwave Flash Malformed Header Overflow

2002-08-10 Thread Richard M. Smith

Is there anyway to turn off the Flash ActiveX control for Windows?  I've
tried removing it from my system and Web sites just keep downloading it
again.  If I turn off ActiveX completely, then Internet Explorer is
constantly warning me that Web pages that use Flash-based banner ads
will not be displayed properly.  

All I want to do is a surf the Web with a little less motion on the
screen.  I've already turned off animated GIFs which partially solves
the problem.

The ability to turn Flash is also important given the recent spate of
Flash security holes.

Richard M. Smith
http://www.ComputerBytesMan.com

-Original Message-
From: Mike Chambers [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 09, 2002 5:44 PM
To: 'BUGTRAQ'
Subject: RE: EEYE: Macromedia Shockwave Flash Malformed Header Overflow


The linux and solaris updates will be avaliable later today.

You will be able to download it at:
www.macromedia.com/go/getflashplayer/ 

mike chambers

[EMAIL PROTECTED]

 -Original Message-
 From: Scott Lampert [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, August 09, 2002 3:45 PM
 To: BUGTRAQ
 Subject: Re: EEYE: Macromedia Shockwave Flash Malformed 
 Header Overflow
 
 
 On Thu, Aug 08, 2002 at 05:26:20PM -0700, Marc Maiffret wrote:
  Vendor Status:
  Macromedia has released a patch for this vulnerability, 
 available at:
  
 http://www.macromedia.com/v1/handlers/index.cfm?ID=23293Metho
d=FullTitle=M

PSB02%2D09%20%2D%20Macromedia%20Flash%20Malformed%20Header%20Vulnerabili
ty%2
 0IssueCache=False
 
 Discovery: Drew Copley
 Exploitation: Riley Hassell
 

As far as I can see there is no update to the UNIX versions.  The files
are all dated March 25.  The bulletin describes version 6 of the Flash
player as the fix, however that doesn't seem to be available for
anything other than Windows and Mac.  Am I missing something?
-Scott

-- 
Scott Lampert
[EMAIL PROTECTED]
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-Benjamin Franklin, 1759

Public Key: http://www.lampert.org/public_key.asc





Re: EEYE: Macromedia Shockwave Flash Malformed Header Overflow

2002-08-09 Thread ismail donmez

Unix version is still vulnerable as Macromedia didnt
updated its Flash plugin for Unix systems.

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



Re: EEYE: Macromedia Shockwave Flash Malformed Header Overflow

2002-08-09 Thread Scott Lampert

On Thu, Aug 08, 2002 at 05:26:20PM -0700, Marc Maiffret wrote:
 Vendor Status:
 Macromedia has released a patch for this vulnerability, available at:
 http://www.macromedia.com/v1/handlers/index.cfm?ID=23293Method=FullTitle=M
 PSB02%2D09%20%2D%20Macromedia%20Flash%20Malformed%20Header%20Vulnerability%2
 0IssueCache=False
 
 Discovery: Drew Copley
 Exploitation: Riley Hassell
 

As far as I can see there is no update to the UNIX versions.  The files
are all dated March 25.  The bulletin describes version 6 of the Flash
player as the fix, however that doesn't seem to be available for
anything other than Windows and Mac.  Am I missing something?
-Scott

-- 
Scott Lampert
[EMAIL PROTECTED]
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-Benjamin Franklin, 1759

Public Key: http://www.lampert.org/public_key.asc



msg08785/pgp0.pgp
Description: PGP signature