bugGnash - The GNU Flash player - Bugs: bug #19774, URGENT: Out of bounds memory...

 
 

bug #19774: URGENT: Out of bounds memory access (leading to arbitrary code execution)

Submitted by:  None
Submitted on:  Wed 02 May 2007 03:14:04 PM UTC  
 
Category: ActionScriptSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 16 May 2007 08:33:25 AM UTC, comment #2:

Confirmed to be fixed by Baby on irc and by pere on debian bug tracker (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423433)

Sandro Santilli <strk>
Project Member
Wed 02 May 2007 06:56:05 PM UTC, comment #1:

Current HEAD raises a malformed SWF error in that case.

MALFORMED SWF: last SHOWFRAME of a DEFINESPRITE tag isn't followed by an END. Seeking to next END tag.

I think all assertions are in place too. Please check.

(0.7.2 is not supported anymore)

Sandro Santilli <strk>
Project Member
Wed 02 May 2007 03:14:04 PM UTC, original submission:

When parsing a DEFINESPRITE tag gnash increases an internal
variable (m_loading_frame) whenever it encounters a SHOWFRAME tag.

After m_loading_frame gets bigger than m_frame_count some of the
tag loader functions for the next tag (e.g. PLACEOBJECT) call
add_execute_tag which calls m_playlist[m_loading_frame].push_back(c)(m_playlist has only m_frame_count elements, so m_playlist[m_loading_frame] references heap memory after m_playlist). This can end in freeing a user supplied address (see example).

I have attached a patch to 0.7.2.

-unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #12670:  gnash.patch added by None (404B - text/x-patch)
file #12671:  gnashcrash.swf added by None (7kB - application/x-shockwave-flash)
file #12672:  gnashcrash.sswf added by None (6kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 May 2007 08:33:25 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 02 May 2007 06:56:21 PM UTCstrkPrivacyPrivate=>Public
    Wed 02 May 2007 06:56:05 PM UTCstrkStatusNone=>Ready For Test
    Wed 02 May 2007 03:14:04 PM UTCNoneAttached File-=>Added gnash.patch, #12670
      Attached File-=>Added gnashcrash.swf, #12671
      Attached File-=>Added gnashcrash.sswf, #12672

    Back to the top


    Powered by Savane 3.1-cleanup