Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112251 - net-www/netscape-flash: arbitrary code execution
Summary: net-www/netscape-flash: arbitrary code execution
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Security
URL: http://secunia.com/advisories/17430/
Whiteboard: A2 [glsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-12 03:16 UTC by Tavis Ormandy (RETIRED)
Modified: 2005-11-25 04:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for =net-www/netscape-flash-7.0.61 (netscape-flash-7.0.61.ebuild,1.07 KB, application/octet-stream)
2005-11-18 03:38 UTC, Vic Fryzel (shellsage) (RETIRED)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tavis Ormandy (RETIRED) gentoo-dev 2005-11-12 03:16:04 UTC
The netscape-flash package installs an old vulnerable `gflashplayer` when the 
gtk USE flag is set, this version is vulnerable to a security flaw and should be 
removed from the package.
Comment 1 Thierry Carrez (RETIRED) gentoo-dev 2005-11-13 10:04:51 UTC
No maintainer...
Comment 2 SpanKY gentoo-dev 2005-11-14 16:57:26 UTC
so there is no new version of gflashplayer ?  our only choice is to not install
it at all ?
Comment 3 Kevin F. Quinn (RETIRED) gentoo-dev 2005-11-15 00:17:39 UTC
The Secunia advisory says that v8 and v7.0.60.0/7.0.61.0 are not vulnerable.
The current ebuild installs 7.0.25 so presumably that's vulnerable as well as
gflashplayer.  There's no v8 available for Linux, and while there is a 7.0.61.0
currently at

http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_7_linux.tar.gz

it is not available through the official mirror sites
http://macromedia.mplug.org/ where the latest version is 7.0.25.0 (presumably
vulnerable).

This macromedia.com URL obviously isn't stable from one point revision to the
next, and
http://www.macromedia.com/software/flashplayer/productinfo/faq/#item-3-2
explicitly prohibits redistribution.

We could create net-www/netscape-flash-7.ebuild, and do a -rN bump every time
Macromedia do a point revision so users see the revision change.  Might need
RESTRICT=fetch.  Alternatively perhaps poking macromedia.mplug.org to update
would be simpler (warren@togami.com) - 7.0.61.0 was released 4th Nov.

The standalone player in v6 doesn't use libflashplayer.so so presumably is
vulnerable, and as there's no newer version I guess we should ditch it.
Comment 4 SpanKY gentoo-dev 2005-11-15 06:11:43 UTC
dropped an e-mail to warren@togami.com
Comment 5 Tavis Ormandy (RETIRED) gentoo-dev 2005-11-15 08:56:12 UTC
Kevin, the secunia advisory says "versions prior to 7.0.25.0 on the Unix 
platform.", so the plugin is fine, only the gflashplayer is vulnerable.
Comment 6 Kevin F. Quinn (RETIRED) gentoo-dev 2005-11-16 13:44:57 UTC
Hmm; didn't see that bit, I paid more attention to the 'solution' part that
indicates updating to 7.0.61.0 as the recommended fix.

Macromedia's notice at
http://www.macromedia.com/devnet/security/security_zone/mpsb05-07.html says
"Flash Player 7.0.53.0 and earlier" are vulnerable; whether that includes the
Unix version or not is unclear but there's no real reason to suspect the Unix
version is any different to the Windows version in this respect.

The SEC Consult and the Eeye reports are different overflows, similar enough to
be the same issue but in different functions.  Macromedia's release indicates
there were multiple instances of unchecked array bounds, "There was a problem
with bounds validation for indexes of certain arrays in Flash Player 7 and
earlier".  SEC Consult say their issue is resolved in 7.0.25.0, eEye don't
identify specific point revisions, however Macromedia say 7.0.61.0 or 7.0.60.0
are the versions in which the problems are fixed, so I'd tend to go with that.
Comment 7 Tavis Ormandy (RETIRED) gentoo-dev 2005-11-18 01:51:49 UTC
karma@designfolks.com.au provided a testcase http://www.designfolks.com.au/df.
swf

It does crash gflashplayer, but the plugin seems to survive.
Comment 8 Tavis Ormandy (RETIRED) gentoo-dev 2005-11-18 02:15:22 UTC
Oops, my mistake, the plugin is affected as well.
Comment 9 Tavis Ormandy (RETIRED) gentoo-dev 2005-11-18 03:17:10 UTC
shellsage points out macromedia has released a new version of the plugin here 
http://www.macromedia.com/devnet/security/security_zone/mpsb05-07.html, i've 
installed 7.0.61.0 and confirm the poc no longer works.

No gflashplayer, but we need to push the plugin out asap.
Comment 10 Vic Fryzel (shellsage) (RETIRED) gentoo-dev 2005-11-18 03:38:51 UTC
Created attachment 73126 [details]
Ebuild for =net-www/netscape-flash-7.0.61

Sending ebuild per taviso's request.
Comment 11 Vic Fryzel (shellsage) (RETIRED) gentoo-dev 2005-11-18 03:40:37 UTC
A note about the ebuild I just posted: I removed support for gflashplayer and
the gtk use flag. Versions <= 7.0.61 of the player are vulnerable.
Comment 12 Thierry Carrez (RETIRED) gentoo-dev 2005-11-18 04:27:45 UTC
No maintainer, so security should bump it
Comment 13 Thierry Carrez (RETIRED) gentoo-dev 2005-11-21 01:03:57 UTC
Tavis/solar/vapier: please doublecheck the ebuild and security-bump that
package. The sooner it's out, the better.
Comment 14 Tavis Ormandy (RETIRED) gentoo-dev 2005-11-23 02:04:13 UTC
bumpified, requires stabilisation.
Comment 15 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-11-23 02:18:39 UTC
Arches please test and mark stable. 
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-23 08:13:44 UTC
Using this plugin, if I right click on a movie in Firefox, it crashes Firefox. 
Firefox is 1.0.7-r3...

The current stable plugin does not have this issue.
Comment 17 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-23 08:16:20 UTC
Works fine here.  amd64 done.
Comment 18 Thierry Carrez (RETIRED) gentoo-dev 2005-11-24 02:38:28 UTC
Chris: can't reproduce your issue on x86 with Firefox 1.0.7. Right-clicking on
Flash things works OK here. x86 ATs, please confirm.
Comment 19 Mark Loeser (RETIRED) gentoo-dev 2005-11-24 17:31:18 UTC
No problems in firefox or mozilla for me.  Looks good on x86.
Comment 20 Thierry Carrez (RETIRED) gentoo-dev 2005-11-25 04:21:07 UTC
GLSA 200511-21