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:  ActionScript Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment(Rich 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.

-email is unavailable-

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-05-16 strk StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2007-05-02 strk PrivacyPrivate => Public
    2007-05-02 strk StatusNone => Ready For Test
    2007-05-02 None Attached 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.3