Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Flash Vulnerabilities Affect Thousands of Sites

Posted by kdawson on Sun Dec 23, 2007 12:26 AM
from the waves-of-shock dept.
An anonymous reader sends us to The Register for this security news. The problem is compounded by the fact that some of the most popular Web development tools for generating SWF produce files containing the recently disclosed vulnerabilities. "Researchers from Google have documented serious vulnerabilities in Adobe Flash content which leave thousands of websites susceptible to attacks that steal the personal details of visitors. A web search reveals more than 500,000 vulnerable applets on major corporate, government and media sites. Removing the vulnerable content will require combing through website directories for SWF files and then testing them one by one. Updates in the Adobe software that renders SWF files in browsers are also likely, but they probably wouldn't quell the threat completely... No patch in sight from Adobe, that's the price to pay for depending on proprietary solutions."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Quoth the headline: "that's the price to pay for depending on proprietary solutions..."

    There are open source implementations of the Flash protocol; I'm running Gnash [gnashdev.org] as my SWF player on Ubuntu 64, and it works just fine. Your mileage may vary.

    • Re: (Score:3, Informative)

      Oh, and by the way, those who wish to create Flash content may want to have a look at this site [mtasc.org].

    • by Jack9 (11421) <Jack9@tea[ ]r.com ['che' in gap]> on Sunday December 23 2007, @01:31AM (#21796030)
      Even open source implementations are vulnerable to XSS.

      Attack scenarios work something like this: A bank website hosts marketing graphics in the form of a vulnerable Flash applet. Attackers who trick a customer into clicking on a malicious link are able to execute the SWF file but inject malicious code variables that cause the customer's authentication cookies or login credentials to be sent to the attacker.

      In summary, "Phishing can work against Flash apps." Specifically, the article says someone at Google documented something about XSS working against Flash apps...being really light on the details. This could apply to Google's stock market Flex charting, for example. Adobe hasn't done anything about it and didnt respond to EMAIL inquiries about it.
      My question is who asked The Register, to troll against Adobe? AND how did it get posted on /. /Lemme know if I missed something.
      • Even open source implementations are vulnerable to XSS.

        Firefox + NoScript FTW. Filters XSS even from sites you've otherwise whitelisted (which does *very* rarely cause a problem, but you can manually override if necessary.)
      • Flash danger (Score:5, Informative)

        by SoopahMan (706062) on Sunday December 23 2007, @07:04AM (#21796990)
        One major issue with Flash is its ability to insert scripts into the actual page.

        Say I want to read your email. I send you an email with a Flash animation in it. You read it and your webmail verifies there's no dangerous scripts in my email - but it's much harder to verify my Flash I sent you is safe. Which I'm counting on because I've put code in that creates a script tag in the webpage, downloads my dangerous script, and sends me your cookies. Now I can read your email.

        Flash has been getting a free pass on security for a long time. Time for things to tighten up on the web viewer more widely installed than Internet Explorer.
        • Re: (Score:3, Informative)

          But surely the web-mail client shouldn't allow active content such as JavaScript or Flash to execute in the first place?

          I've never seen one which does this, for that very reason, as this study seems to prove:

          http://www.campaignmonitor.com/blog/archives/2006/01/the_truth_about_1.html [campaignmonitor.com]

          This issue isn't really the fault of Flash, but more web applications not validating their input and allowing the user to insert HTML tags where they shouldn't.
    • Re: (Score:3, Informative)

      There are open source implementations of the Flash protocol; I'm running Gnash as my SWF player on Ubuntu 64, and it works just fine. Your mileage may vary.
      I tried Gnash, and it didn't work on the flash pages I tried it on. Although there are open-source development tools for flash, such as mtasc and haxe, there are a lot of obstacles, both legal and technological, that anyone will encounter if they try to do OSS development on the flash platform. If you want to generate AS3, the only OSS compiler is hax
    • by Deanalator (806515) <pierce403@gmail.com> on Sunday December 23 2007, @03:01AM (#21796352) Homepage
      The problem isn't that adobe has a poor implementation of the flash protocol. If that was the case, they could just patch the issues (like in the past). These issues stem from the protocol itself, and that it is very liberal on how it defines access control. This is not something that can be fixed by open source. Even if gnash did have a top notch security team (which I doubt, since it sounds to me like they are still having trouble getting swf to parse safely), they would need to redefine much of the protocol, add proper mandatory access controls. Doing this in a way that would not break existing flash applets would be a huge pain in the ass. Not to mention having to go back and change everything again once adobe releases a new version.
      • Re: (Score:3, Insightful)

        There is one nice Free Software alternative to Flash as a streaming video embedded applet, it's cortado [flumotion.net].

        The problem is that it lacks a little more work to be always stable and some more to get other codecs like speex incorporated. But the developper is gone and nothing has been developped since 2006. So it could be a nice project to pick up for someone with knowledge in Java, who want to do some usefull work for the Free Software users instead of only relying on Free alternative to the Flash player wich wo
      • Re: (Score:3, Insightful)

        Why is this article that doesn't explain ANYTHING, gives no references, and shows no hint of KNOWLWEDGE on the part of the author, but only lists stereotypes, labeled "insightful"? I'm missing any insights!

        The guy even calls Flash a "protocol"! This is the OPPOSITE of insight!!!
    • Re: (Score:3, Insightful)

      I think there are definitly other reasons why an open source mentality is important.

      Who thinks anyone will be working on this grave security issue during the holidays ?

      If it was an open source project, I think it would be more likely a (or few) developer(s)
      would be.

      I could be wrong ofcourse.

      What do you think ?
  • It burns a lot of CPU time, uses a lot of bandwidth, crashes browsers, and - not for the first time - has serious security issues.

    On Firefox, there's an extension called Flashblock [mozilla.org]. It blocks Flash by default, but allows you to re-enable it on a page-wide or applet-by-applet basis. Several other extensions will do the same thing.

    In IE7, you can double-click a spot in the status bar (third box, right to left, of the boxes just to the left of the security zone indicator (the thing that usually says Internet)) or open the Add-on Manager from Tools in the command bar or menu bar, and disable or enable the Flash ActiveX control. This will globally enable or disable flash, but doesn't take effect on a given page until that page is refreshed. Alternatively, the third-party add-on IE7Pro has applet-by-applet flash blocking.

    I realize that some sites need it, and on those there's nothing you can do about this problem except hope Adobe updates their software ASAP. For everywhere else though, do yourself a favor and block it.
    • Re: (Score:3, Informative)

      Opera - F12, deselect "Enable plugins"

      whitelist sites via right-click, edit site preferences

    • by gnuman99 (746007) on Sunday December 23 2007, @12:56AM (#21795872)
      You can say the same about Java, Javascript, Ruby, Python, browsers in general. Just revert back to using lynx I guess, but that had a remote hole as well! Actually 2 remove holes,

      http://secunia.com/advisories/17372/ [secunia.com]
      http://secunia.com/advisories/17216/ [secunia.com]

      That is with just a text-only browser.

      So, should we go back to using
          echo -e "GET / HTTP/1.1\nHost: slashdot.org\n\n" | netcat slashdot.org 80

      Kinda sucks!

      Clearly one of the answers is to limit the browser to sub-user access. I think that is what Vista tells us is happening there. Debian doesn't do that by default. But then I'm not sure how easy it would be to limit iceweasel (firefox) to not executable stuff except known plugins, etc...

      As for the solution to problems like this, it is clearly the client that needs patching!! A client needs to handle ALL cases without allowing someone to compromise information, etc.

      There is a balance between security and usability. You can't have both perfect at the same time.
      • So, should we go back to using
                echo -e "GET / HTTP/1.1\nHost: slashdot.org\n\n" | netcat slashdot.org 80

        Kinda sucks!


        Eff that. Gopher's still going strong!
    • Re: (Score:3, Informative)

      On Firefox, there's an extension called Flashblock. It blocks Flash by default, but allows you to re-enable it on a page-wide or applet-by-applet basis. Several other extensions will do the same thing.

      Flashblock unfortunately loads the Flash file still as the page is loading momentarily before it 'blocks' it.

      It would be nice if Firefox implemented Konqueror's feature of clicking a box to use the plugin. Unfortunately that stuff also breaks flash detection pages (which is why I suspect flashblock permits a s

  • by noidentity (188756) on Sunday December 23 2007, @12:46AM (#21795802)
    Funny, I've been using a permament workaround since way before these were discovered: don't install Flash. As a bonus, you get notified with a blank screen when vising a website with no useful content, so you don't waste any time trying to figure out how the hell to navigate it.
  • by DAldredge (2353) <SlashdotEmail@GMail.Com> on Sunday December 23 2007, @12:50AM (#21795828) Journal
    /. delives proprietary flash content to us via a proprietary ad network. Does that make /. evil too?
  • Why was the book released before the patch? "The vulnerabilities are laid out in the book Hacking Exposed Web 2.0: Web 2.0 Security Secrets and Solutions. It is due to hit store shelves soon, but is already in the hands of many security professionals. The book's authors, who work for penetration testing firm iSEC Partners as well as for Google, say a web search reveals more than 500,000 vulnerable applets on major corporate, government and media sites." "The authors have been working since the summer with
      • by CalTrumpet (98553) on Sunday December 23 2007, @02:36AM (#21796256)
        Howdy... I'm actually one of the contributors to the book. We have been working with Adobe and CERT for a while on this issue, and we felt that as much time as is reasonable had elapsed since the initial reporting. The disclosure of security vulnerabilities is always a complicated ethical issue, and you have to weigh the public's right to know with the possibility that a speedy fix may reduce the overall damage from disclosure. Even with several months of work, "patching" the vulnerabilities is complicated, since the issues exist in the SWF files themselves and not in Flash player, so the only solution is for website owners to re-generate their Flash applets with the updated generators, which should be out shortly.

        A more formal vulnerability report is being co-ordinated with CERT and should be out soon with the details of the issues.

  • I've RTFA and even the comments, and I still don't understand.
  • Heise [heise-security.co.uk] points out that youtube FLV files are generated by youtube from other videos, but seems to leave open the possibility that FLV video files could be malicious in their own right on other sites. Clearly player programs could be malicious (or vulnerable) but what about the videos themselves?
  • by Max Threshold (540114) on Sunday December 23 2007, @12:55AM (#21795858)

    Attack scenarios work something like this: A bank website hosts marketing graphics in the form of a vulnerable Flash applet. Attackers who trick a customer into clicking on a malicious link are able to execute the SWF file but inject malicious code variables that cause the customer's authentication cookies or login credentials to be sent to the attacker.

    Huh? So this is some kind of phishing attack? Exactly how is Flash involved, and what should we be watching out for? (Other than never entering important data into a form we reached by clicking... always good practice.)

  • by Twillerror (536681) on Sunday December 23 2007, @02:36AM (#21796252) Homepage Journal
    From what little I can get from the article this seems like just another cross site scripting attack.

    Although this can "help" an attacker steal information the end user still has to click a link provided by the attacker that tricks the user into thinking they are on someone elses site and seeing content that site generated.

    Cross site scripting attacks are not to laughed off, but they do tend to get over exagerated. When is the last time you clicked on an email link sent to you out of the blue...and then stuck in your user name and password.

    People could just as easily fall for attacks like this that don't even change the URL. Not to mention that this has to upload the payload to a server. Meaning you can steal people's information, but it has to go to an IP somewhere. Maybe if law enforcement would get off their behinds and go after this f'ers it wouldn't be such a big issue.

    All the anti-flash posts need to get down voted. I could easily say that Jscript sucks because of all the various security issues it has had over the years, but it isn't useful or productive. Flash is what flash is...you don't like it...don't install it and shutup and let the rest of us use it.
  • by RAMMS+EIN (578166) on Sunday December 23 2007, @03:33AM (#21796448) Homepage Journal
    My feelings about Flash are kind of mixed. On one hand, it's proprietary technology. Specifications have, at some point, been published, but I don't think they are current, and there certainly isn't a full-featured implementation from anyone other than Adobe. This is bad.

    On the other hand, looking at what Flash does, and at other technologies that do these things, it seems to me that Flash is clearly technologically superior. I don't know how large the browser plugin is these days, but the one that used to come with Opera used to be very small, and yet provide features that web masters are trying to kludge together with AJAX and whatnot, and for which the W3C has come up with the gargantuan SVG, which has even more elephantine implementations. Flash is the clear winner here.

    And then, of course, there is the misuse of Flash for things where Plain Old HTML would be much better. But then again, if Flash were a widely-implemented open standard (rather than a widely-implemented proprietary technology which yet leaves some users in the cold), perhaps such use wouldn't be _mis_use.

    So, all in all, I think that Flash would be _great_ if it weren't proprietary...but the fact that it _is_ proprietary is a real obstacle.
  • Flash != Evil (Score:5, Insightful)

    by ckorhonen (1207018) on Sunday December 23 2007, @06:13AM (#21796826) Homepage
    I really would like to hear details of the 'vulnerability' just so I can begin checking our code and performing an assessment of wether or not this is a credible and realistic threat to the security of our customers.

    In the past, many vulnerabilities have been reported on the Flash player, but most of them follow a similar kind of theme - the rogue SWF file must be created with third party authoring tools, and or modified in a hex editor, in order to put the malicious code in there to begin with. In addition, due to the security sandbox and crossdomain restrictions, it needs to be downloaded from your site anyway. So, its perfectly possible for a SWF to wreak havoc on a user's machine, the only caveat is that someone within a company, with access to the web servers and source code, would need to have created it in the first place - something I'm sure is indicative of a larger problem!

    Oddly, most non Flash/web developers tend not to see it that way - I have a beautiful MP3 of a conversation I had with one of our 'Security' people who just consistently ranted on about undisclosed vulnerabilities as a reason not to use Flash in a project.

    In my years of working with the web and the Flash platform, I have not yet seen a single workable exploit that could present a credible threat to the majority of Flash user's on the web, not without the user or the site already being compromised in some manner.

    The only somewhat grey area is where Flash is used for online advertising, but you will find that most of the main publishers out there are aware of this and perform some level of code review on ads before they go live - I work for a bank and we don't run any 3rd party adverts without seeing the sourcecode and decompiling any SWF assets provided.

    Really guys, the Flash platform isn't the cloud of evil you are making it out to be. Granted, it has been used for some really annoying things in the past, but used right, it can really help to deliver a friendly, usable and engaging user experience. In addition, in Adobe's hands we have seen it become more open than ever before - Flex, AMF, Tamarin, all released as open source in the past year. I'd be surprised if this trend does not continue.

  • by cherokee158 (701472) on Sunday December 23 2007, @09:53AM (#21797796)
    I'm so tired of Flash rants I could puke a big steaming puddle of CSS. Flash is bad because bad designers use it to make bad websites...yet bad designers make crappy HTML sites all the time. Flash is bad because it crashes the browser...yet Java (or whatever the latest buggy cross-platform solution of the moment is) is the second coming despite it's chronic habit of doing the same thing. Flash is bad because it's proprietary...except that it isn't: the SWF file format was open-sourced a long time ago. Flash is bad because it isn't search engine friendly...yet one of the most popular websites in the world used it to reinvent how we experience video on the web. SVG is better, for reasons only geeks can appreciate...but no one supports it, so who cares?

    In my opinion, every web technology sucks pretty mightily, for one reason or another. They are either abused by malevolent advertisers or 13 year olds, not supported uniformly by all platforms or browsers, and are a pain in the ass to design with. Dynamic HTML is a bad joke. Javascript invented pop-up hell. And praise CSS all you like, it's a strategy only a programmer could love. You can't center things reliably with it no matter how many hoops you jump through. That's something even HTML 1.0 could manage.

    My own clients LOVE Flash sites. They insist on them. They want animations, and sound, and websites that look the same in every browser. (Flash's ability to proportionately scale content to the window is a thing of beauty, and one of the most underused talents of the plug-in. Why some Flash designers insist on manipulating the window size instead is beyond me) The only people who don't love Flash sites are other programmers. And I'm more than happy to take their business.

    Hating Flash for bad Flash sites is like hating scientists for making gunpowder possible. Live in a teepee or run a casino...your choice.

    • Re: (Score:3, Insightful)

      Flash is bad because bad designers use it to make bad websites...yet bad designers make crappy HTML sites all the time.

      HTML doesn't have the expressive power to be dangerous. Go ahead and make a bad site with HTML and be as malicious as possible: you still can't do anything really dangerous. At worst, you might exploit a browser bug; but that will be a problem with the browser, not the format and the intended expressive power of HTML. Flash, in stark contrast, now allows the author to resize browser wi [youtube.com]

    • Re:Preference (Score:5, Insightful)

      Flash done right can be extremely useful, as a tool for adding a dynamic interface to a site. Unfortunately, Flash is (in my opinion) usually done horribly wrong, and implemented in a manner that doesn't give site visitors any alternate means of using the site. I've seen good implementations where Flash was used only for a particular application, and the rest of the site was done in standard-compliant HTML/CSS. I've also seen really scary work on countless occasions where the entire site was one big Flash presentation. Ugly stuff.

      • Re:Preference (Score:5, Insightful)

        by JackMeyhoff (1070484) on Sunday December 23 2007, @03:22AM (#21796420)
        Most flash is done WRONG unfortunately, and most sites either open in a new limited controllable window and / or have a screen area the size of a postage stamp. Flash sucks for many reasons, and this is 2 of them.
        • I believe most Flash is done wrong simply because the site designers value form over content.

          Useful or pertinent information (if it is manifest at all) usually has the appearance of being inserted as an afterthought. That's why the sites I visit most often tend to be based primarily on simple markup such as HTML, which despite its various drawbacks is at least easy to maintain (and therefore more likely to be maintained), and does not have the noli-me-tangere character of a cast-bronze SWF presentation.

          I
      • Re: (Score:3, Insightful)

        The only thing Flash ever did right was to have a workable de-facto standard video format for the web. Oh and games / animations, if you're into that. As far as I'm concerned those are the only good uses for Flash.
    • What file format do you use for videos?

      • Re:Preference (Score:5, Insightful)

        by Anonymous Coward on Sunday December 23 2007, @01:18AM (#21795976)
        Depends on what you are trying to achieve, but I would never go with Flash. The only benefit of Flash is that it will keep the majority of users from "stealing" your content by downloading it and saving it to a file. And you also get to code up your own crappy player in it too. If you want it playable on the largest number of devices(what people normally claim is the benefit of Flash), then go with MPEG-1 which will work more places than Flash.
          • Re:Preference (Score:5, Interesting)

            by piojo (995934) on Sunday December 23 2007, @02:01AM (#21796134)

            Anyone who thinks having videos as flvs will keep the majority of people from "stealing" content clearly hasn't done a search for "save flv" on google.
            I'm certain that 90% of youtube users don't even know what a .flv is, let alone that they can be saved. Saving them even gives me trouble, and I've written screen scrapers and a (dysfunctional) web spider. Then again, I don't use flash sites enough to know what the proper ripping tools are, and I use Linux, so the proper tools may not exist for me.
          • by Anonymous Coward on Sunday December 23 2007, @06:42AM (#21796916)
            Keep your voice down...

            You must be new here... this debate isn't about whether or not the suggested alternatives to Flash are supported or practicable.

            It's more to do with people having look at reality and coming to the conclusion that they just don't like or believe certain aspects of it.

            Call it a selective disregard for the facts or utter stupidity if you will, but its kinda groovy...

            I think that the audio and video functionality of Flash/Flex can and will be replaced by chaz haskins' svg wondershow plugin.

            See it's easy! get into it.
          • Actually MPEG-1 is not supported natively by IE or Firefox.

            Neither is Flash.
            Both needs a plugins to work.

            The HUGE difference comes from the fact that Flash is only available from 1 single company which produce plugins for only a small handful of platform (except maybe for the open-source Gnash [gnashdev.org] plugin, which already kind of works, but still needs a lot of efforts).
            Whereas, MPEG player are available for whatever platform you may think about as long as it has either the processors horsepower or a decoding co-p

    • Re:Preference (Score:5, Insightful)

      by Anomolous Cowturd (190524) on Sunday December 23 2007, @02:39AM (#21796268)
      Not a fan of flash either, but the one application it is actually good for is the youtube-style video embedding. I prefer flash to the satan-spawned abominations quicktime & windows media player, as the platform support is better, among other things.
      • Re: (Score:3, Insightful)

        The whole "gratuitous infection vector" problem.

        Many sites use flash for no good reason when pure HTML would be perfectly fine.
        In the process they make the entire process less secure, more error prone and
        ultimately less accessable.

        flash vs. flash for no good reason.
    • by Anonymous Coward on Sunday December 23 2007, @12:49AM (#21795818)
      If it were open the source code could be audited and perhaps this vulnerability (or others) would have already been identified and corrected. With proprietary solutions you just don't get that option.
    • The price comes in.. (Score:5, Interesting)

      by Junta (36770) on Sunday December 23 2007, @12:56AM (#21795870)
      With respect to the "No patch in sight from Adobe" part, of course. If such a flaw was discovered by security researchers in firefox, they could do better than merely report the problem, it is within their power to correct the code and issue a third party patch/update if mainstream won't act. The vulnerability may not intrinsically be due to the proprietary nature (though external code audits might arguably occur to help, but I wouldn't guarantee it), but solving those problems cannot be done in a proprietary system except by the vendor.

      The community might ignore such a patch, and it might not even happen that often, but if things were generally dire enough in a projects mainstream, a new leadership could fork the project and that is not unheard of in projects. Of course, it's common for distributions to apply security updates to their packages before upstream merges them, so it isn't *that* strange.

      Not related to security, but the current version of the flash plugin, for example, breaks compatibility with linux opera and konqueror due to Xembed, and packagers hands are kind of tied in terms of what to do about it. Of course, can also point out the ATI drivers, which suffer greatly from problems and are dealt with in a way that doesn't work.
      • Re: (Score:3, Interesting)

        Say for example there was an open-source solution to do Flash-like animation and multimedia on websites (there isn't.) Let's call it Gnash.

        Now let's say that Gnash works approximately like Flash does; do you your design in a 'source' file called a .gla which you then compile into a 'runtime' file called a .gwf. And version 5.0 of Gnash is buggy in such a way that .gwf files have a security vulnerability, based off legitimate Gnash features (so that the Gnash runtime can't just blanket disable the feature th
        • gnash [gnu.org] does exist, it's a flash clone. So yes, an open-source 'solution' exists, that sn't mature. I can't tell whether you were being satirical in saying it doesn't exist, but just in case..

          As to the question at hand, I don't know enough detail about the vulnerability myself, however note:

          Stamos said Adobe is likely to update its Flash Player so it does a better job of vetting code variables before executing SWF files. But he said interaction with third-party code is such a core part of the way Flash works that updates to the player would likely provide only a partial fix.

          So while I do not understand the technical details, those that do understand believe some sort of player-side sanity checks would be good to mitigate the consequences. In the open-source world, they would be able to co

    • Re: (Score:2, Informative)

      The vulnerability is in the proprietary flash player. It is easily exploited using files produced by third party tools.
      • by FLEB (312391) on Sunday December 23 2007, @02:05AM (#21796144) Homepage Journal
        Unless the Reg article is being misleading, it doesn't look like much more than "XSS is possible in Flash apps". If that's the case, it's less a case of a "vulnerability" as Flash giving developers a hammer, and the devs bashing in their own fingers with it. As in JavaScript, as in PHP, as in CGI, as in any language that accepts input from outside-- never trust the input!

        Or am I missing something?
    • To me, flash can be used in one of three ways, in decreasing amounts of popularity:

      Nice rant, but you seem to fail to realize that the web, and computer software in general, tend to fall in the same sort of categories. That's just the way it is. Don't forget Sturgeon's Revelation, "90 percent of everything is crud." (Though I believe this estimate to be conservative, and certainly the adjective chosen is much more polite than is usually quoted.)

      I'd rather have the possibility of having those few brilliant F
    • Re: (Score:3, Informative)

      https://addons.mozilla.org/en-US/firefox/addon/433
      Flash files are momentarily still loaded as the page loads before flashblock kicks in.