Slashdot Mirror


Firefox Exploit Adds Fuel to Browser Security Feud

An anonymous reader writes "Washingtonpost.com is reporting that a fairly nasty exploit has been released for a security hole that Firefox patched just yesterday. This is sure to add fuel to the ongoing heated debate over whether Mozilla is any safer the Internet Explorer." From the article: "This is not your run-of-the-mill proof of concept exploit code. It appears to be quite comprehensive, and would allow any attacker to use it with only slight modifications. According to the advisory, the code is designed to be embedded in a Web site so that anyone computer visiting the evil site with Firefox or Netscape would open up a line of communication with another Internet address of the attacker's choice, effectively letting the bad guys control the victim computer from afar."

108 of 510 comments (clear)

  1. Browser shmouser by BWJones · · Score: 5, Insightful

    Browser, shmouser..... What I want is a secure OS! Arguably, if the OS is secure enough, then you should not have problems with programs that can start executing code without permissions. Granted, it is a matter of balance, but an OS should never allow root control by an application without specific permission. Of course the default with Windows is root, but hey....

    As an interesting aside: We just went through a two day outage at the university here because of a worm that infected a series of Windows systems. My question to IT guy#1 was: "Dude, why did you guys switch from Solaris to Windows?" His reply was that "the Windows solution was cheaper". I said "Dude, you guys need Macs!", to which he replied "yeah, no $#!t" when he caught himself and said something unintelligible. Guy #2 that I spoke to today gave me some song and dance about how Macs are really hard to integrate into mixed platform networks and then said something to the effect of "if Macs had greater market share, we would be in the same boat". I said something to the effect of "Bull$#1t". It comes down to management and OS design. Windows can be secure, but it requires much more oversight than do other alternatives. But fundamentally, all of the calls direct to the kernel that are available to applications are a problem that will not be solved until (hopefully) the next MS OS.

    --
    Visit Jonesblog and say hello.
    1. Re:Browser shmouser by Sneftel · · Score: 2, Insightful

      A computer may be considered "hacked" even if the hacker doesn't have root control. Sending out two million penis enlargement spams per day... serving as a proxy to hack other computers... scanning subnets for vulnerabilities... none of these things require root access.

      And even preventing arbitrary code execution is only a partial step. What is code? It isn't just opcodes that are processed by the CPU's instruction decoder; it's also bytecode which is executed by a virtual machine, or even the FSM generated by a regular expression. No OS can catch that.

      --
      The opinions stated herein do not necessarily represent those of anybody at all. Deal with it.
    2. Re:Browser shmouser by AKAImBatman · · Score: 5, Interesting

      Arguably, if the OS is secure enough, then you should not have problems with programs that can start executing code without permissions.

      Eh, it's multi-faceted. The problem is that many of the greatest security threats today are from buffer overflow attacks. (Or heap overflow in this case.) This is frustrating because we've had the technology for more than 20 years to write code that is invulnerable to these sorts of attacks. Unfortunately, the majority of OS and Desktop software has continued to rely on C and C++, making these holes not only possible, but probable.

      If the buffer overflow attack were solved once and for all, then attackers would have to move higher up the stack. e.g. Embedded scripts in emails that run with full permission. This sort of attack is why Java has a built-in security manager that can prevent access to secure resources. Should our security problems ever escalate to this level, I'm sure you'll see a lot of similar security managed environments showing up.

    3. Re:Browser shmouser by Reglar_Joe · · Score: 3, Funny

      You talk as if penis enlargement isn't a good thing.

    4. Re:Browser shmouser by jacksonj04 · · Score: 4, Funny

      You talk as if you need it ;-)

      --
      How many people can read hex if only you and dead people can read hex?
    5. Re:Browser shmouser by pohl · · Score: 2, Funny

      Nice link in your sig...so Linus doesn't like slashdot, but he follows it anyway. Doesn't that mean he's just like the rest of us?

      --

      The "cue the foo posts in 3, 2, 1..." posts will commence with no subsequent foo posts in 3, 2, 1...

    6. Re:Browser shmouser by AKAImBatman · · Score: 3, Insightful

      Java code runs slow enough to make it impractical for desktop apps.

      Utter nonsense. Do you use Azureus? Perhaps you've played WURM Online? Do you need to clean up your hard drive?

      The Java is slow myth is a load of hogwash that opponents of the technology use to justify their stance against it. It's simply not true, and hasn't been true for a very long time. And if you don't believe me, talk to NASA.

    7. Re:Browser shmouser by alienw · · Score: 3, Informative

      I've programmed quite a bit in Java. It's surprisingly fast -- for an interpreted language. Which basically means it runs 5x slower than native code instead of 30x slower. Of course, this might not be very noticeable for something like Azureus which is basically a GUI bolted on to some network code (most of which is native code that is part of the JVM or the OS). However, you will notice that the GUI is fairly sluggish compared to a native application, especially if your processor is not very fast. If you wrote firefox in Java, it would be a major memory hog and also very slow.

    8. Re:Browser shmouser by gcauthon · · Score: 2, Informative
      Java is not interpreted, nor has it been for a VERY long time.

      That's news to me. It's news to Sun as well.

    9. Re:Browser shmouser by Quantam · · Score: 4, Informative

      Utter nonsense. Do you use Azureus? Perhaps you've played WURM Online? Do you need to clean up your hard drive?

      The Java is slow myth is a load of hogwash that opponents of the technology use to justify their stance against it. It's simply not true, and hasn't been true for a very long time. And if you don't believe me, talk to NASA.


      In fact I do use Azureus regularly (it's my primary BitTorrent client). But in all seriousness, it's horribly slow (enough to literally make your reference to it laughable). Try benchmarking creation of a torrent, and compare it to a native implimentation of the hash algorithm (SHA-1, I think it was). It's mind-bogglingly slow. Not only that, but it's mind-bogglingly bloated. It's not unusual for it to take 60-80 megs when I'm downloading one torrent (and runs some 3 threads or so per connected peer). A friend (who downloads way more stuff on BT than I do) says it's not unusual for Azureus to take hundreds of megs of RAM on his computer.

      As for myself, I did some benchmarking of my own. When .NET first came out, I assumed it (specifically the JITed MSIL) would be slow, probably as slow as Java (although at the time I didn't have a clear idea of how fast Java was; just that it was "slow" - i.e. the stereotype). So I did some benchmarks. Compared to a native implementation of ZLib in C, the same code compiled to MSIL (managed C++) was 2/3 as fast (that is, it took 1.5x as long to compress the same data). The Java version (this was an actual Java port of the ZLib source, not the built-in, native implementation in the Java runtime), on the other hand, was half as fast (2x as long to compress). This actually raised my opinion of .NET, as it proved a fair bit faster than my expectations (while Java was also faster than my expectations, it fell unambiguously below .NET in terms of speed).

      --
      You have tried to support your argument with faulty reasoning! Go directly to jail; do not pass Go, do not collect $200!
    10. Re:Browser shmouser by rmdir+-r+* · · Score: 2, Interesting
      The Java is slow myth is a load of hogwash that opponents of the technology use to justify their stance against it. It's simply not true
      Erm. Bullshit. You're using the wrong performance metric. An end user includes in the speed of a program:

      • Startup time
      • GUI responsiveness
      • Execution time
      • Shutdown time
      The only area where Java is 'fast enough' is execution time. Java desktop apps are slow to start, have unresponsive GUIs, and are often sluggish when it comes to stopping. To the end user, there have been very few improvements in Java over the past ten years.

      Oh, and before I stop, may I point out that Java's GUI responsiveness problem is one entirely of its own making? There are plenty of cross-platform languages out there with cross-platform GUIs that are decent. This is not an impossible problem, in fact, it's a solved problem. It just seems that Sun hasn't gotten around to solving it.

    11. Re:Browser shmouser by Ivan+Todoroski · · Score: 2, Interesting

      It is hyperbole. Eclipse is a development environment, not a regular desktop app. Comparing footprints there is just silly. I can find you plenty of "native" development environments with very similar footprints.

      What? Its an ide, arguably a glorified text editor, it is an order of magnitude less complicated then say a web browser, office suite, or other "desktop applications". And incidently visual studio dosen't have that kind of footprint, not Xcode, not Kdevelop ...


      1. Eclipse does a lot more than either Visual Studio or KDevelop: it keeps a parse tree of all your code in memory, which allows it to do some very advanced refactoring, also on the fly compilation and checking for errors. Now Xcode also does this, which brings me to the next point.

      2. Eclipse, for all its benefits, is really a poorly written beast, with very little thought given to performance or GUI usability as opposed to cramming features incessantly. You pick one poor application written in Java (and one which isn't even using Swing, the standard Java GUI toolkit), then proclaim that the language must suck.

      How many C/C++ applications are there that are trully horrible? Those languages must be positively evil by that measure.

      Try using IntelliJ IDEA sometimes, which does all that Eclipse does, and then some, yet is very snappy and takes up only a fraction of the memory. Hopefully it will change your opinion of what a Java application written using Swing can really do. Java is just another tool, and as any complex tool it requires somewhat capable hands to wield it properly.
  2. Welcome by Anonymous Coward · · Score: 2, Funny

    I for one welcome our new Firefox hacking overlords.

  3. Woo! Finally! by daniil · · Score: 5, Funny

    Firefox is finally catching up with the market leader! Woo!

    --
    Man is a slave because freedom is difficult, whereas slavery is easy.
  4. Security through obscurity? by gbulmash · · Score: 5, Insightful
    It's interesting that this comes on the heels of Opera eliminating the ad-supported version and offering their browser free.

    The sad thing is that it also comes on the heels of zdnet.com claiming that Firefox is having significantly more security issues than IE.

    I guess, though, this does give some credence to the "security through obscurity" theory, as the number and frequency of issues seems to have increased as Firefox adoption has increased. And if that's the case, can we expect to see these issues become even more frequent if Firefox adoption continues to grow?

    All the arguments that open source is more secure because there are more eyes to spot problems and more hands to fix them are starting to ring a bit hollow as I upgrade/patch my Firefox install on what seems like a monthly basis.

    Given, I still trust MSFT as far as I can throw a Volkswagen, but my laughs at their FUD aren't so loud or haughty today.

    - Greg

    1. Re:Security through obscurity? by m50d · · Score: 5, Insightful

      Just like MS, firefox focuses more on features, and quickly. Many of the problems with firefox have come from the extension system, or from fairly experimental new features that firefox rushes to adopt, like this. A little more conservatism is needed when dealing with remote data, and I really think an extension system for an application that deals with remote data - be it activex or firefox extensions - is asking for trouble. You can find more secure browsers than either firefox or IE, and I don't think this is solely due to their obscurity, but also due to not including these dangerous technologies.

      --
      I am trolling
    2. Re:Security through obscurity? by Saxerman · · Score: 4, Insightful
      All the arguments that open source is more secure because there are more eyes to spot problems and more hands to fix them are starting to ring a bit hollow as I upgrade/patch my Firefox install on what seems like a monthly basis.

      I hear this is a lot, and it often leads to a misrepresentation of what makes OSS 'more secure'. The more eyes/hands claim doesn't assert that there will be less bugs, it means they are suppose to be spotted and corrected more quickly.

      Security isn't a state of being, it's a state of mind. I believe there are more white hats than black hats, so OSS leads to better code. If you believe otherwise, you will probably feel more secure using closed source software (but that won't necessarily mean you ARE more secure.)

      --

      A steaming cup of soykaf would be real wiz right now.

    3. Re:Security through obscurity? by tepp · · Score: 2, Informative

      Firefox doesn't allow ActiveX which again limits it's utility.

      Not really. I use firefox everywhere and there is only two sites I cannot use.

      One is our local in house bug program called TestDirector. The other is Windows Update.

      So I use IE to go to TestDirector or Windows Update, and Firefox for everything else, and never had an issue with ActiveX being needed. Every site I visit is either in Flash or in Jave or just in plain HTML, with the exception of those two, which I don't just meander to anyway, so it's not a hassle.

      --
      Tepp
    4. Re:Security through obscurity? by hkmwbz · · Score: 2, Interesting

      How does Firefox make money? With searches of course. Opera will do the same.

      --
      Clever signature text goes here.
    5. Re:Security through obscurity? by oliverthered · · Score: 2, Insightful

      firefox extensions are only a huge security threat because they aren't sandboxed. As someone else mentioned Java implemented a sandbox years ago (presumably because SUN new a little bit about networks and security). I would guess that IE and Firefox aren't secure because neither of the development teams were practiced in networks or security, mainly because Windows is Windows and didn't like anything else and Firefox is mainly developed by people with more time on their hands than the average security / network expert.

      --
      thank God the internet isn't a human right.
    6. Re:Security through obscurity? by Minna+Kirai · · Score: 2, Informative

      As proof, I will point out that the "Disable Javascript" option found in Netscape 4.0 (the predecessor to Mozilla) is missing, along with the ability to prevent image loading.

      Everyone else is giggling at you, but I'll spoil the joke.

      Run firefox. Go to the "Edit" menu, and pick Preferences. In the icons on the left, hit "Web Features". Six checkboxes come up in the main panel. Look at the ones labelled "Load Images" and "Enable Javascript", and think hard about what they might do.

  5. Publicity by improfane · · Score: 5, Insightful

    Publicity was the demise, the great browser begged for mainstream attention, got the show but caught the eye of the bad guys.

    No software is universally perfect.

    --
    Slashdot needs Geekcode | Can anyone recommend any good SCIFI? My tastes: Foundation, Startide Rising, CITY, Ringworld,
  6. Good news! by Otter · · Score: 5, Funny
    On the plus side, the exploit is released under the GPL. This just goes to show the superiority of open-source over proprietary exploits!

    Also on the plus side, the Washington Post link crashes my IE, so I can't even read the anti-Firefox news. Score another for Mozilla!.

    1. Re:Good news! by Overly+Critical+Guy · · Score: 2, Insightful

      Meanwhile, we Opera users just keep chuggin' along. I got sick of this crap months ago and went to Opera which is faster, takes half the memory, and offers more features in a 5MB download.

      Sorry to shill, but hey, Opera got dumped on for so long on Slashdot just for having banner ads (you know, just like Slashdot's banner ads...), and now that it's free, there's no reason not to use it full-time. Your tabbed browsing came from Opera, after all...

      --
      "Sufferin' succotash."
  7. 1.5 Beta 1 is also impacted...beware by redwoodtree · · Score: 2, Interesting

    Follow this thread on Mozilla Forums for more information. But don't be complacent if you're running the new Beta and be sure to upgrade.

  8. The story here... by op12 · · Score: 5, Insightful

    should be the exploit (and only the exploit). The browser feud is really becoming a pointless exercise in arguing. See here.

  9. Patch by brettlbecker · · Score: 4, Insightful

    Ummm, so basically Mozilla was ahead of the game as far as this hole is concerned, having already released a patched version of the browser before the exploit became known?

    Pardon, but rather than using this exploit as some kind of evidence that Firefox is on-par, security-wise, with IE, shouldn't we be viewing this as a victory for the patch/version-release cycle of the Mozilla foundation?

    There will always be new security holes found. The difference is that patched versions of the browser, fixing the security hole in question, are not always released before the hole is announced.

    Two cents.

    B

    --
    "We must still have chaos within in order to be able to give birth to a dancing star." --Friedrich Nietzsche
    1. Re:Patch by sochdot · · Score: 2, Interesting

      Exactly! The patch was released yesterday. As in, "Holy shit! Guys, this is bad, we need a patch yesterday!" If this were IE, a patch might be released in a month or two. I've never heard of an IE hole being closed before any exploits were released. The response to the recent Firefox criticism/comparison has pretty much been, "Sure, as we grow, holes will be found. But we're in a far superior position to fix them and fix them fast." I would say this is pretty good proof.

      --
      If at first you don't succeed, destroy all evidence that you tried.
    2. Re:Patch by Anonymous Coward · · Score: 2, Informative

      To the best of my memory, most of the biggest exploits for Windows in the last couple of years or so have utilized holes for which patches were already available. In fact, there is some evidence that the exploits were written based on Microsoft's vulnerability disclosures from the patches. This is probably also what happened with this hole - the developers were not being proactive but rather included a fix for a security hole in an update and someone else took a look at the changes and figured out the exploit. Another possiblity is that the exploit was written by the original finder of the hole, and that this person agreed to hold off releasing it until a fix was available.

  10. Question by sphealey · · Score: 5, Insightful

    Does the Washington Post, or any other mainstream media outlet, publish a story whenever an exploit is released in the wild for Internet Explorer? In the last year, maybe if it is actually affecting some media companies. Otherwise no.

    So why the constant drumbeat of breathless stories about bugs (flaws) and exploits in Firefox? Could it be that the MSM is being seeded by someone? Say .... Microsoft's PR firm?

    sPh

    1. Re:Question by Cyclometh · · Score: 2, Interesting

      Mainstream media outlets report news- an exploit for IE isn't really news, because so many people use it and so many people target it. Firefox has been touted as the secure alternative to IE, so it's pretty newsworthy when the only contender for the browser throne has one of its main claims to superiority knocked out from under it.

    2. Re:Question by tktk · · Score: 5, Funny
      Does the Washington Post, or any other mainstream media outlet, publish a story whenever an exploit is released in the wild for Internet Explorer?

      No... because it's hideously expensive to print 10lb newspapers every day.

    3. Re:Question by goldspider · · Score: 2, Interesting

      Nope, it's just that Mozilla/Firefox has received a lot of publicity in these news outlets for it's (supposed) security advantages over IE.

      I'd say it's most appropriate for these same news outlets to follow up when those claims aren't upheld by reality.

      Wouldn't you expect the same if this were a Microsoft app?

      --
      "Ask not what your country can do for you." --John F. Kennedy
    4. Re:Question by freaktheclown · · Score: 3, Interesting

      Melinda Gates is on the WaPo board.

    5. Re:Question by LurkerXXX · · Score: 2, Insightful
      So why the constant drumbeat of breathless stories about bugs (flaws) and exploits in Firefox?

      Probably because the Firefox crowd has been very vocal about screaming "Firefox is more secure than IE! Firefox is more secure than IE!" "Switch to Firefox, it's more secure!". If they were more quietly touting it as a good alterative browser (like Opera does), you wouldn't hear as much about it. When is the last time you saw a front page story about an Opera flow? Probably not in a long time. Then again, they don't constantly scream about how secure they are, so it's not as ironic when a big old hole is found.

    6. Re:Question by e2d2 · · Score: 2, Funny

      No... because it's hideously expensive to print 10lb newspapers every day.

      Me thinks you've never read the print version of the washington post then.. It really _does_ weigh ten pounds already.

  11. Where's the beef? by Intron · · Score: 3, Insightful
    So when are the Fedora update directories going to see 1.0.7???
    # rpm -q firefox
    firefox-1.0.6-1.2.fc4
    # yum update firefox
    ...
    Could not find update match for firefox
    No Packages marked for Update/Obsoletion
    --
    Intron: the portion of DNA which expresses nothing useful.
    1. Re:Where's the beef? by Waffle+Iron · · Score: 2, Informative
      So when are the Fedora update directories going to see 1.0.7

      From the linked article, it appears that this exploit uses the CAN-2005-2871 bug. That bug was patched in the Fedora 1.0.6-1.2.fc4 update issued back on Sept. 9, so unless I'm mistaken, it's not critical to upgrade to 1.0.7 if you've already installed the 1.2.fc4 patch.

    2. Re:Where's the beef? by Intron · · Score: 2, Insightful

      Looks like you are correct. A previous article said the fix was in 1.0.7, but it appears to be patched in 1.0.6 as well. So Fedora updates had the fix on Sept. 10th. No beef from me.

      --
      Intron: the portion of DNA which expresses nothing useful.
  12. Exploits as remote administration tool? by Sirfrummel · · Score: 5, Interesting
    "...effectively letting the bad guys control the victim computer from afar."

    I just have to wonder... have people ever used exploits like this to do any purposeful remote-administration?
    1. Re:Exploits as remote administration tool? by thedustbustr · · Score: 2, Funny

      Yup. I'm currently purposefully remote administering your machine as we speak.

      --
      This sig is false.
  13. Menh by gid13 · · Score: 4, Insightful

    The specific response: It's already patched. A released exploit that's already had a patch released for it is nowhere near as scary as one that hasn't.

    The general response: As always with open source, if the Mozilla guys drop the ball and you know what you're doing, you can patch it yourself. With closed source, you're kinda at the mercy of the makers (usually Microsoft).

    Anecdotal evidence: Yes, this is in the past, but I let two total newbies use a box of mine for about a year, with the only relevant modifications being: Installed Firefox, Deleted shortcuts to IE, Spybot's resident protection, Spyware Blaster, Windows autoupdates on, and Nod32 (not even a firewall). They never had ANY problem until they figured out how to open IE, at which point they managed to get a bit of spyware in.

    1. Re:Menh by Otter · · Score: 2, Insightful

      "A patch has already been released" is indeed a convincing response. "You have the source code so fix it yourself" is, to put it mildly, not.

    2. Re:Menh by Anonymous+Brave+Guy · · Score: 3, Insightful
      As always with open source, if the Mozilla guys drop the ball and you know what you're doing, you can patch it yourself.

      Sure. I imagine at least a dozen people in the world have the in-depth knowledge of the relevant area of the Firefox codebase, out of the hundreds of thousands or millions who now use it. Maybe I'll just go spend two weeks finding my way around myself, and become lucky 13.

      Sorry for the sarcasm, but that argument is getting a bit tired these days.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    3. Re:Menh by stu42j · · Score: 2, Insightful

      The point is not really that you would patch it yourself but rather that someone who knows how could and then make it publicly available so you can install it.

    4. Re:Menh by bluGill · · Score: 2, Insightful

      At least you have that option. With Internet explorer I do not have that ability. If I want to patch IE, first I have to get Microsoft to hire me (possible, they are hiring all the time, though I don't know if they would hire me personally), then I need to get access to the IE code (I don't know about Microsoft, but most big companies do not give all employees all their source code, you only get access to the parts you will work on), next I need to make my changes, last I need to convince the powers that be that my changes are a good thing, if I should be allowed to keep my job (Even if I'm the only one that uses them this is an issue if I wasn't supposed to read this source).

      Nobody ever said that making open source work the way you want it was easy. We just said that you have that option, which is a very large difference from the closed source world. Learning your way around firefox code (if you are a programmer) is much easier than navigating all the issues of getting access to Internet explorer source code.

  14. Re:IE7 will doom Firefox by sgar · · Score: 5, Insightful

    How do you put an open source browser "out of business". If IE7 is all it's cracked up to be, and has some features Firefox doesn't, the Mozilla team can add them to Firefox fairly rapidly. But to say that a closed source, proprietary, bundled browser is going to "put out of business" an open source, cross platform browser is just plain dumb.

    --
    If there is anything more important than my ego around here, I want it caught and shot now.
  15. Commence the Microsoft conspiracy theories... by slashdotnickname · · Score: 5, Funny

    ...because we all know that no self-respecting hacker would attack a friend of open-source such as FireFox. These exploit discoveries are being secretly funded by Microsoft!

  16. But it's worth pointing out... by Anonymous Coward · · Score: 3, Insightful

    ...that PwnScape is SkyLined's ported version of Internet Exploiter. That's why it looks so polished, it was refined attacking IE, and there are a scary-huge number of unpatched IE bugs that MS knows about (over 50 now).

    It's becoming a target of technical attacks because it's becoming higher profile. However, it's doing a very good job of fixing vulnerabilities overall, at least compared to IE.

    Yeah, there are response time problems and masked bugzilla bugs, but being open about a bug before a patch is available isn't always the best idea; just because it's open source doesn't mean the discoverer is going to come up with, or be able to come up with, a patch immediately, but one generally turns up; the team is being pretty damn good. It may have been patched properly yesterday, but it was very quick to release a mitigation (disabling IDN).

    IE, meanwhile, has a YEARS old vulnerability that MSRC are trying to keep under wraps (even from their partners), because it's a SERIOUS design fault hidden in IE/Shell integration that allows a way of launching ActiveX controls that completely ignores the killbit. Seen Illwill laughing about it, so I know I'm definitely not the only person to independently discover it, and he's been gloating on F-D. And, if you do it right, the 'sploit ignores security zones and settings entirely; you can 0wn a fully patched, fully locked down IE, just by viewing a webpage, with no prompts.

    I have a working exploit for it. I won't release it, 'cause if I did, that's a million Windows boxes 0wned by Istbar and some scummy affiliate.

    Firefox is an excellent browser overall. If you don't like it, might I suggest Opera 8.50, which is now ad-free, registration-free freeware and also has an extremely responsive security team.

  17. Reality Check (Hand Check Too) by blueZhift · · Score: 5, Insightful

    Practically speaking I guess this means we should all stay away from questionable (*cough*pr0n*cough*) sites for a few days. Seriously, we all know where these exploits are likely to show up first...

  18. When's the patch? Oh, yea... by rdwald · · Score: 2, Insightful

    I wonder how many weeks it'll be...oh, yea, they released it yesterday. If only all web browsers had these sorts of exploits -- that is, the already-patched type.

  19. Even without root things can get nasty by jfengel · · Score: 5, Insightful

    It's certainly true that root access causes the most headaches, but there's a lot that can be done without root access.

    Even with just user-level access, it can erase all of your files or set up a spam relay. It may even be able to set up a keystroke logger or install a modified version of your browser (for you alone) that slurps up your credit card numbers. And it can modify your local .rc files to re-run itself when you boot (and check to see if you've altered them and re-modify them as soon as you're done.)

    It's a heck of a lot easier to remove than a root-level exploit (you can log in as root and remove the code, which you can't necessarily do to a rootkit). But even though the lack of root can limit the damage, considerable damage can be done without it.

    The solution? Well, partly it would be nice to have the OS provide fine-grained control, so that even if malicious code gets to execute it could be prevented from modifying your files without explicit permission or accessing the Internet to act as a spam relay. But such fine-grained controls are incredibly tedious; they exist in Java but they're rarely used.)

    Failing that, the rest of the solution is to be write any program that downloads arbitrary content from the internet very, very carefully.

    1. Re:Even without root things can get nasty by raddan · · Score: 4, Informative
      It's not tedious at all:

      http://www.citi.umich.edu/u/provos/systrace/

      It shouldn't be that hard to figure out what a simple program like a browser needs.

    2. Re:Even without root things can get nasty by caspper69 · · Score: 3, Interesting

      Tell that to my grandmother who doesn't even know how to select text in a text box or push the backspace key. You really think that anyone, much less a technophobe, can figure out that a browser needs the ability to send and receive data on tcp port 80, while it needs access to its configuration files in /etc, etc.... Give me a break... It's exactly this attitude that is the problem. Users of a product should not have to figure out what the program needs. The OS and the application should work hand in hand to ensure this is done correctly. As far as I'm concerned Linux and Windows are both pieces of shit from an era gone by.

    3. Re:Even without root things can get nasty by John+Whitley · · Score: 2, Informative

      But such fine-grained controls are incredibly tedious

      Hogwash. The grsecurity patches to the Linux kernel provide one approach to fine-grained access control that greatly eases the tedium of managing fine-grained rulesets. In short, grsecurity's approach is based on automatic learning -- let the system run in a permissive mode doing the things it's supposed to do, then generate a ruleset based on that activity. The system then runs with the generated permissions ruleset. The admin may need to tweak the ruleset for various reasons, but the tools provide a huge leg-up over any manual attempt to lock down a system that wasn't designed for it. And there's the rub... design.

      With an OS that provides robust fine-grained access control, new software patterns and system tools emerge to manage the complexity. We didn't go from teletypes to OpenGL in one leap... For example, what if the only entity in the system that could even know the password database existed, much less access it, was the password service? Shadow passwords pale compared to that kind of isolation. What if the default permissions for an application effectively sandbox that app in a jail that makes Java in a chroot look like a toy? You'd then have to build additional infrastructure to allow the apps (and thus the user) do their work.

      It's all quite possible, and folks are working on it now. This is the shift in mindset from allow-all by default to allow-nothing by default, and the work necessary to make that approach practical at the level of an OS. Take a look at http://www.coyotos.org/ and its predecessor http://www.eros-os.org/ for examples of current work on a OS (kernel and support infrastructure) designed for security (and performance) from base principles.

      It's a daunting task, but damn well worth the effort IMO.

    4. Re:Even without root things can get nasty by ultranova · · Score: 2, Informative

      It shouldn't be that hard to figure out what a simple program like a browser needs.

      It needs to be able to talk to X server to render graphics. If some webpage takes over the browser, and makes it execute arbitrary code, can it be made to hack the X server to delete the files in your home directory - for example, by launching xterm (or finding a running instance) and sending the neccessary commands to it ? Or, worse yet, can it use some X buffer overflow to insert code that runs at root privileges - after all, X needs these privileges due to the horribly broken design of the display subsystem of at least Linux (and propably BSD's too) where the graphics hardware is handled partially in user space...

      It isn't enough to secure just one single program, you need to secure all the programs it needs to talk to, and all the programs that they talk to, and so forth. You'll end up needing to make profiles for every program installed on system to make a truly secure system.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  20. Vunerability counts say nothing. by Ckwop · · Score: 5, Insightful

    The security of a web-browser is in no way related to the number of vulnerabilities found per year. There are two mystical numbers out in the ether which related to the exact number of security flaws in Firefox and IE. Now not all vunerabilities are created equally. IE could have ten minor vulnerabities for every major vulnerability found in Firefox and IE could still come out on top. What I'm trying to say is the number of vulnerabilities is a very poor metric for security.

    This vunerability is yet another heap based attack. Another attack that could have been avoided if people compiled the programs with the various heap/stack protection switchs. Please don't bitch about how it makes pointer arithmetic too slow. It just isn't true, what you should be doing is compiling the entire program with the switch then if it turns out to be too slow, factor out the code in to a seperate library and compile it without the switch. You can then do focused code reviews on this unsafe code to hunt out overflows/heap.

    If you remember nothing else today remember this sentence: "Security costs CPU cycles..". Guess what gents? XOR is a really fast cipher but it doesn't give you any security. You need a whole bunch more clock cycles to get it. The funny thing is people only apply this thinking to cryptography when in fact it's a general security principle. All the string checks you do cost CPU cycles as the program will function just fine without them. You decide to spend CPU cycles on this task to get security because you feel it is important. To get security you have to spend a metric-fuckton of CPU cycles. Fact. What I want people to recognise is that it is worth making your programs slower to consign buffer overflows to the history book.

    For a web-browser on a PC there is really no excuse because we have multi-GHz computers that are sat around idling most of the time. For all the naysayers who prounce almost with religious zeal that the performance hit will be dramatic and thus be unaccepetable. I ask them two questions:

    1. Did you actually compile the program with the switch and profile it against the compiled program without the switch? Was the performance degradation even noticeable?
    2. You may think slowing the program down is unacceptable but is leaving your customers at risk from an easily preventable class of vulnerabities more acceptable?

    Join me and spread the word. Tell the world to spend CPU cycles on getting security because it hurts us all that we have such insecure software. Remember, "Security costs CPU cycles"

    Simon.

    1. Re:Vunerability counts say nothing. by Innova · · Score: 2, Funny

      To get security you have to spend a metric-fuckton of CPU cycles.

      How many Volkswagon Beetles does it take to carry a metric-fuckton?

  21. Fast. by hungrygrue · · Score: 2, Insightful
    has been released for a security hole that Firefox patched just yesterday
    Sounds like damn good response time to me! When was this first discovered? How many days total did it take for the patch to be released? Yes, it sucks that the vulnerability was there to begin with, but you have to admit that this is a good demonstration of how well an open source community project can respond.
    1. Re:Fast. by nagora · · Score: 2, Insightful
      You also have to admit that the speed with which a patch is released has nothing to do with how fast it is applied by a couple of million users.

      I don't have to admit any such thing. A patch can't be applied until it's out, so it has a direct effect on how fast it's applied by millions of users.

      When Microsoft releases patches and people don't update their computers, Microsoft is to blame.

      If it releases a patch. This can take literally years and in one case they just paid the website that was reporting the vulnerabilities to shut up. Hardly in the same class as fixing the hole the day before an exploit is seen. Having said that, I don't accept that even Microsoft is to blame for people not patching their browser. I blame them for making fundamentals errors in their design, rather than the execution of that design, but that's a different issue.

      Te Firefox team made the mistake of making the auto-update feature too unobtrusive. It should get in your face by default whenever it detects a critical update is available

      This is true.

      --
      "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  22. That can only mean one thing .... by photonic · · Score: 2, Funny

    Microsoft has stopped working on IE7 and has its PhD's working full-time on writing exploits for known holes...

    --
    karma police: arrest this man, he talks in maths; he buzzes like a fridge, he's like a detuned radio. [radiohead]
    1. Re:That can only mean one thing .... by sharkey · · Score: 2, Funny

      Great! Non-functional malicious code is the best kind of malicious code.

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  23. Screw it...I'm moving to Lynx! by PenguinBoyDave · · Score: 5, Funny

    Let's see them attack my text-based browser!

    --
    I'm not a troll, but I play one on Slashdot.
  24. did anyone else notice... by advocate_one · · Score: 2, Funny

    that the actual exploit was released under the GPL... this means that anyone who takes it and modifies it has to release their improvements if they then proceed to distribute it... so if anyone does get infected, please get the person you got it from sued by Gnu for failing to make the source code available as well...

    --
    Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
  25. Automatic Updates by Paul+Slocum · · Score: 5, Interesting

    They do patch stuff fast, but until automatic updates work correctly, it's not going to do much good for the average idiot user. And someone will eventually start trying to take advantage of these exploits. I'm running 1.0.6 and there's no update icon showing. When I say Check Now: "Firefox was not able to find any updates." -paul

    1. Re:Automatic Updates by MS_is_the_best · · Score: 2, Interesting

      Parent comment applies only to windows machines, where every program needs his/her own update program (?, what for design is that?).

      Most linuxes/bsd's etc. come with centralised automatic updates for all programs, which are inheritely easier. I expect to see a flashing warning next morning, telling me a security update had been downloaded for firefox and if I want to install the patch.

      I regard automatic program updates on application level as clutter on my machine, so please do not advocate these methods!

    2. Re:Automatic Updates by srleffler · · Score: 2, Insightful
      Unfortunately, for the vast majority of users automatic intervention-free installation of program updates is the only approach that will ensure good overall security on the network. There are just too many people who neither know nor care about patching, and will never do it. Forced updates should be disable-able, for users like you, but should be turned on by default and idiot-proof.

      The way Firefox handles update notifications is particularly bad. The little red arrow is way too easy to ignore, particularly if you don't already know what it's for.

  26. I use Firefox 99% of the time by PCCybertek · · Score: 2, Interesting

    I personaly believe that the activeX exploits are the nasty ones. I use to get so much crap on my system when I ran IE, even after the SP2 update. Since I use Firefox almost exclusively, I have had just about none. That's good enough for me.

  27. Well that tears it! by dpilot · · Score: 5, Funny

    I'm going to rip Linux out of all my boxes, install WinXP SP2, and do all of my web surfing on IE with ActiveX enabled, just to be safe!

    --
    The living have better things to do than to continue hating the dead.
  28. Not quite... by Anonymous+Brave+Guy · · Score: 5, Insightful

    I have little time for browser wars, but it is notable that despite the 1.0.7 announcement even making Slashdot yesterday, it's not showing up as an automatic download yet. Worse, it doesn't show up even if you manually check for updates.

    There's not much point patching a security issue if you can't distribute the patch and even conscientious users won't find out about it by the expected method.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    1. Re:Not quite... by Dehumanizer · · Score: 2, Informative

      It showed up yesterday in my sister's 1.0.6. She didn't even have to check for updates manually.

      (not to me, though, as I'm using 1.5b1)

      To prevent their servers from crashing and burning, they make "spread out" auto-update to a couple of days. I'm guessing 1.5 will put an end to that.

      --
      The Tlog - a technology blog
  29. Comment removed by account_deleted · · Score: 3, Insightful

    Comment removed based on user account deletion

  30. Why Firefox is still better than IE... by gsfprez · · Score: 2, Funny

    I just removed Firefox from this computer and installed Opera. No problem.

    I also just tried to remove IE... no luck.

    Firefox is still better.

    --
    guns kill people like spoons make Rosie O'Donnell fat.
  31. No Meh! by Henry+V+.009 · · Score: 5, Insightful
    A released exploit that's already had a patch released for it is nowhere near as scary as one that hasn't.
    In every compromised computer that I have ever seen, there was already a patch out that would have avoided the problem. I know that that every now and then a compromise occurs which is an exception to that rule: but it is very rare, and I have never actually seen a case of it.

    I am very scared about this turn of events. I used to see unpatched IE all over the place. Thankfully, that is a lot more rare now. Microsoft has made it hard not to patch IE and Windows. Not so with Firefox. I have seen unpatched Firefox installs all over the place. Ostensibly Firefox is there as the secure alternative to IE. People have actually said to me that "unpatched Firefox is more secure than patched IE" and that they aren't worried about it. Firefox Update is way too easy to ignore and a lot of people do. This is going to come back to bite them big time. And Firefox is going to have a PR-nightmare with some big security disasters over the next few months.

    Is it really Firefox's fault if users don't patch their systems? The answer to that is yes, because they're trying to be the market-dominant browser. In order to be market-dominant, you have to have a browser equally suited to idiots as well as the technically adept. Firefox Update needs to be to be impossible to ignore and hard to disable unless you really know what you're doing. Because it is a weak feature right now, Firefox puts users at risk.
  32. What patch? by Anonymous+Brave+Guy · · Score: 4, Informative

    Please note my comments earlier in the thread: since the patch hasn't hit the auto-updates yet, even if you check for it manually, this patch does not exist for most users. There is an exploit for it in the wild. Hence most Firefox users are not safe from this exploit.

    There, I put the actually relevant bits in bold for you, just to make it clear. Firefox is a great product for many reasons, but let's not kid ourselves that its security policy is perfect right now, OK? If my Firefox browser had popped up within a few minutes of the patch being released and invited me to download it, you'd have had a case, but it didn't.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    1. Re:What patch? by brettlbecker · · Score: 2, Insightful

      I read your comment the first time, but after a second reading, your point is still invalid. The patch was released by Mozilla before this particular hole was announced. Read *my* first comment again, and see that this is the point that I was making. Mozilla had already fixed this particular issue before the hole was known.

      It is not up to Mozilla, any more than it is up to Microsoft, to ensure that every person using their browser has a fully upgraded/patched version in front of them. The users must take some responsibility. If you have an issue with the update process, then fine, that point is valid, and to some extent I share your view. However, that point does not relate to the fact that Mozilla's efforts vis-a-vis the patching cycle are directly responsible for the fact that a patched version of the browser was released prior to the discovery of this security problem.

      It is no different for a user of Firefox than it is for a user of IE as far as responsibility for keeping updated is concerned -- the difference is that when people are using IE, they often do not even have a newer, patched version of the browser that they can, in any way and by any means, install to correct a known issue.

      You can keep arguing about the problems with the automatic update mechanism employed by Firefox, and that's fine, but it isn't the issue that I was dealing with.

      B

      --
      "We must still have chaos within in order to be able to give birth to a dancing star." --Friedrich Nietzsche
    2. Re:What patch? by Anonymous+Brave+Guy · · Score: 4, Insightful

      I'm afraid I have been unclear. I am not challenging the facts of your posts. I am simply saying that, for most people, they are irrelevant.

      Within the first few minutes of this discussion starting, I lost track of the number of posters making smart-ass comments about how Firefox rocks compared to IE, because the patch was already out when the exploit hit. I nearly suffocated under the smugness coming off the geek brigades.

      And yet, they (and, based on your most recent post, you) seem completely ignorant of the fact that nearly all security flaws in IE are patched well before exploits are found in the wild, too. Most (all?) of the major outbreaks that have hit mainstream media headlines in recent months would have been completely avoided if people had patched their systems; sometimes there were months before the exploits appeared.

      So, if the Firefox patch was out but not applied, then the fact that it exists on a web site somewhere really doesn't matter to most people, and neither is it a particular advantage of Firefox over any alternative browser. This may not have been the point you were trying to make, and perhaps I picked the wrong initial post to reply to when making mine, but it's certainly a strange thing a lot of people around here today seem to believe.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    3. Re:What patch? by csk_1975 · · Score: 2, Informative

      I dont know how up to date this list is. But a quick google will show you plenty of other lists of unpatched IE flaws. Personally I gave up using IE when my system was crapped out by 180 solutions spyware that was using a variation of a supposedly patched flaw (the patch was later updated).

  33. Re:Just buy a Mac :-) by Chaotic+Spyder · · Score: 2, Insightful

    where have you been during this entire conversation? why is FF getting more exploits?? because more people are useing it.. do you really think that your browser/OS of choice is really that much better? maybe.. but I am willing to bet just as many holes will be found.

    --
    Losers whine about their best, Winners go home to fuck the prom queen
  34. ActiveX by Anonymous+Brave+Guy · · Score: 2, Informative
    ActiveX is the one thing left in IE that makes it truly, the most insecure browser out there.

    It's also the major reason large numbers of huge companies aren't adopting Firefox, since it's the technology many of them base their Intranets on. It's a security risk when outside sites can use it, but not having it for internal pages is a PITA at times.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  35. automatic updates by syrinx · · Score: 5, Insightful

    So why the hell hasn't the patch shown up on Firefox's automatic updates, even if you manually check for it?

    Doesn't do any good to patch it if you don't notify people about it. Not everyone reads Slashdot.

    --
    Quidquid latine dictum sit, altum sonatur.
  36. Re:Tip-toe through the TPS. by Mantrid · · Score: 2, Interesting

    I don't understand how this helps - if you install application "X" you expect to trust it, and I assume you grant it privileges to run on your machine etc. So great, now the app can run on your machine...you trust it...but what's to stop it from having a heyday with your system?

  37. Where's the update? by sshore · · Score: 3, Informative

    I clicked "Check Now" in the Software Update section using Firefox 1.0.6, and no update was shown. The Firefox box was checked. Anyone else seeing this, or is this just a proxy issue?

    This was well over a day after the release of 1.0.7. What URL is used to check for updates, and do they have appropriate options set on server to prevent long caching?

  38. Weird logic. by Dehumanizer · · Score: 3, Insightful

    Every time some open source software, like Firefox or Linux, have an exploit, lots of people scream "see, it's insecure too! it's no better than IE / Windows!".

    That has always sounded weird to me. Windows or IE have had dozens, maybe hundreds of holes and exploits, and yet, when Linux or Firefox have one, they're "just as insecure"?!?

    Is this thing binary? No holes = secure, one hole = as insecure as a hundred holes?

    Fine, Firefox has one now. Not really "exploited", since it's already been patched, but never mind that. So what? How many IE holes have there been? How many PCs are full of spyware, viruses, or sending thousands of spam emails a day because of an IE hole?

    Can Firefox even begin to compare to that? I don't think so. It's at least dozens of really bad exploits (not to mention the "less than really bad" ones) behind.

    --
    The Tlog - a technology blog
    1. Re:Weird logic. by RzUpAnmsCwrds · · Score: 3, Insightful

      I hate to break it to you, but Firefox has had way more than one hole in the last year:

      http://secunia.com/product/4227/

      23 since the release of 1.0. We're now on 1.07. Seven major security releases.

      Is it better than IE? Probably. Firefox vulnerabilities tend to be fixed more quickly and are less secure than IE vulnerabilities. That said, IE is considerably easier to update for both corporate users and home users.

      Firefox can do better. Fortunately, the update mechanism is much-improved in 1.5. But, remember, Firefox is supposed to be the darling of the Open Source movement. We can do better.

  39. Where do exploits come from? by 99bottles · · Score: 2, Insightful

    How many developers do you think Microsoft has working furiously to release exploits into the wild to harm their competitors? Sure, it will never be admitted to, but ya gotta wonder...

    Kudos to Firefox for releasing a patch the day before the exploit was announced though.

  40. Re:Screw it...now I'm moving to Opera by PenguinBoyDave · · Score: 2, Insightful

    I figure sooner or later I'll find something that hasn't been hacked to pieces. If not, I'll protest and stop using the Internet! Ha...THAT will get their attention

    (Come on...it was a joke!)

    --
    I'm not a troll, but I play one on Slashdot.
  41. Forced Security by aero2600-5 · · Score: 4, Insightful

    As someone else pointed out, the quickess of the patch doesn't matter because the end-user who's not the average slashdotter won't know there's a patch and won't install it. So why not forced security?

    I play poker at Fulltiltpoker.com. Every time I want to play, the software connects to their server, checks for any updates, and then asks me to login. Granted, the poker software client is not as complicated as a web browser, but how difficult would it be make Firefox check and install updates every time the user ran the program? I imagine it would be pretty simple. Have this enabled by default, and the active security-aware users can disable it if they would rather do it themselves or are if they're paranoid. Think it might cost too much time to check every single time you run the program? Simply solved, a line of code telling it skip the check if it's checked in the past 12 hours.

    One of the simplest ideas in security is that if the end-user has to do it themselves, like not opening random e-mail attachments, then it's likely going to get fucked up. It's that simple. Take it out of their hands.

    For those of you that are paranoid about Firefox contacting servers on it's own, how do you think it knows when there are updates? It certainly didn't find out through telepathy.

    Just my two cents.

    Aero

    --
    Please stop hurting America -- Jon Stewart
  42. Maybe patch was reverse engineered by geekee · · Score: 2, Insightful

    "Ummm, so basically Mozilla was ahead of the game as far as this hole is concerned, having already released a patched version of the browser before the exploit became known?"

    Did it occur to you the patch may have been reverse engineered, and the exploit created from the patch? There is a reason MS doesn't like to patch holes that haven't been exploited.

    The version of firefox I'm using is unpatched and vulnerable since the IT guy here hasn't bothered to patch it yet.

    --
    Vote for Pedro
  43. Re:Tip-toe through the TPS. by pyrotic · · Score: 2, Informative

    Ideally you install Firefox once as Admin (coz we trust those Firefox developers not to put anything nasty in the installer), then login to a user account. The user account has permission to run Firefox, but not as Admin, so won't have permission to modify Firefox, the kernel, or whatever. In case of an exploit, you can still destroy your own user files though.

    Unix, traditionally having a less granluar permissions model than NT, has a lot of programs that when run as a user, change themselves to run as Admin. An example is traceroute, which is SUID root. An exploit in one of those, and the game is up.

    All this is largely academic though, as Windows doesn't use its permissions model properly by default. Explorer for example is usually run as Admin, allowing a single exploit to destroy your files, the kernel, whatever.

  44. Hey, a new game! by Sialagogue · · Score: 4, Funny

    I'd like to propose a new game here on Slashdot, called "Six Degrees of Microsoft." The objective is to relate *any* story, from browser exploits, to RFID tags, to new features on Google maps back to some oversight, corruption, or other evil perpetrated by Microsoft.

    Understand, I'm not even saying I necessarily disagree with the parent post, I just think that every Slashdot post in the future should have at least one response titled "Six Degrees of Microsoft." Firefox/IE posts are easy, but "GBA SP Updated with Brighter Backlit Screen" might be a bit more of a challenge.

    Good luck...

    --
    The only acceptable defense of scientific results is to say that they were the product of the Scientific Method.
  45. drama baby by willCode4Beer.com · · Score: 2, Insightful

    36,000 people a year die from the flu according to the CDC, this gets rare news coverage.
    People die every single day on the hiway.
    People are murdered just about every day.
    Thousands of people are starving to death in Africa.

    A plane with a busted nose gear makes huge news.

    Reporting about an IE exploit would be as excting as reporting a flu death. The rare events make for more drama. The news is about drama, not NEWS.

    --
    ----- If communism is a system where the government owns business, what do you call a system where business owns govern
  46. Re:Tip-toe through the TPS. by Octagon+Most · · Score: 2, Interesting

    "I don't understand how this helps - if you install application "X" you expect to trust it, and I assume you grant it privileges to run on your machine etc."

    You trust it to perform specific actions. You do not mean to implicitly grant unlimited privileges. You expect, and trust, your web browser to render HTML. You do not grant it permission to delete all your files simply by the action of running it. So there has to be a trust within limits relationship. Applications should be able to execute in a non-destructive manner but require further authorization to do such things as install other apps, delete or modify any files other than its own, etc.

  47. Re:Tip-toe through the TPS. by TheRaven64 · · Score: 2, Informative

    The problem with this is laziness. OpenBSD and NetBSD both include Systrace, a facility that allows every system call made by a program to have its inputs validated and then run either as the user or as root (so, for example, you can allow a web server to bind to port 80, but not do anything else as root). The problem is that very few people get around to creating the required rule sets. Eventually they may grow some useful pre-defined setups for common apps, but it's going to take a lot of effort for someone.

    --
    I am TheRaven on Soylent News
  48. Java myth revisited by aaronl · · Score: 2, Informative

    No, it's quite to the point provable and true. For example, I use Azureus because I haven't found another suitable client under Linux. I would never run it under Windows because the UI is slower, the startup is horrid, and it takes more resources than other programs. It is responsable for 60MB of RAM and a 380MB VM footprint. It is consuming 1.3% of my Athlon 2600, and 7% of my total 768MB of RAM.

    Java is slow to start and requires more memory than an equally competently written native code program. This is always going to be the case, because it imposes both the overhead of the C libraries and the overhead of the JVM itself.

    The case where Java is *not* slower is where it can do run-time optimizations. Then it is sometimes faster than native code. In the other cases, Java is just not *as* slow as it used to be, that's what has changed.

    It could be said that the "Java is fast" people are being equally unreasonable because they're ignoring many of the more important places that Java is slower in. The right answer is that Java is faster than C for some things, slower than C for others. During execution, they are comparable. In shutdown and startup, Java is slower. Java also has the issue of the UI handling, which is not as nice as the established UI toolkits available to other languages. The UI response is also not as good as a native program.

    Also, this is the same NASA that is known for so many inefficiency and poor choices. Are you meaning to imply that Java is another of these? The thing is that NASA could have chosen almost any language and accomplished the same thing. They just decided to use Java. Is that supposed to prove something? Or was that supposed to be that you named three apps that were written in Java, and have better native equivalents on many OS'? I already mentioned Azureus, WURM is OpenGL with Java logic, and jdiskreport is yet another program that solves a solved problem.

    That's like my saying "No, C/C++ is just the right answer, because Windows, Linux, OSX, BSD, QNX, BeOS, Firefox, Gaim, Office, etc. is written with them." It has no bearing on anything.

    If you want counterpoint, fine, I don't think I've ever used a Java app where the UI was decently responsive. That includes Azureus, LDAP Browser, Dell OpenManage, HP WebAdmin, parts of OpenOffice (like the DB portion in 2.0 beta), the Java control panel, and the Solaris installer.

    So no, Java is still slow enough to be impractical on the desktop. The Java UI toolkits suck, and the whole language suffers as a result. Fix the UI, fix the load times, and fix that you need another instance of the JVM for each app. Then you have it good for desktop apps.

    1. Re:Java myth revisited by Dan+Farina · · Score: 3, Informative

      http://www.martiansoftware.com/nailgun/

      Also, why would you CARE about the VM utilization? Also, Azureus (as I recall) has a multi-megabyte (up to 32?) cache for blocks it have recently been sent to attempt to reduce I/O, so it's sensible that it would take up more memory, JIT aside.

      I have noticed that Azureus generates incredibly copious amounts of garbage though.

    2. Re:Java myth revisited by AKAImBatman · · Score: 2, Insightful

      I would never run it under Windows because the UI is slower, the startup is horrid, and it takes more resources than other programs.

      I do run it under Windows, and I can't say that I've seen a finer client. The memory footprint is a side effect of what it's doing (caching large amounts of data), not the JVM. Java programs only have ~20% increase in footprint. This increase comes from the fact that running the Java VM requires that an OS be loaded on top of an OS. If the JVM was an OS, there would be no overhead other than the differences in String handling.

      The right answer is that Java is faster than C for some things, slower than C for others.

      This is almost always the correct answer when comparing technolgies. However, that answer is still quite different from "Java is slow". Java is *not* slow and has a very comparable average execution to C/C++ code. Worst case, we're talking about a 5-10% reduction in performance. Best case, we're talking about a 5-20% increase in performance. (Due mainly to programs that Hotspot can optimize well.) Either way, the performance difference is irrelevant on modern machines.

      Java also has the issue of the UI handling, which is not as nice as the established UI toolkits available to other languages. The UI response is also not as good as a native program.

      That is a whole other issue independent from the Java itself. FWIW, Swing is provably faster than the native Windows GDI. (Which, BTW, tends to cheat by not performing all updates.) The problem is that Swing has a different update model which can have *percieved* performance problems. This puts a bit more of a requirement on the developer to understand how to avoid those problems.

      One other issue that makes Java seem slow is the interaction of the Java Objects with the VMM of many systems. When Java scans the objects to see if they should be collected or not, it creates havoc with the memory that the VMM swapped out (particularly on Windows). A system designed around Java would not have this problem. (Or even a better memory manager like on Linux, FreeBSD, and Solaris.

      That's like my saying "No, C/C++ is just the right answer, because Windows, Linux, OSX, BSD, QNX, BeOS, Firefox, Gaim, Office, etc. is written with them." It has no bearing on anything.

      No, if you said that "No one will use C because it's slow", using those examples would be a good counterpoint. I never tried to say that Java is "the right answer" because of a few programs. I said, that these are a few examples of programs that easily disprove the "Java is slow" argument.

  49. Re:The real problem--SpyWare by nacturation · · Score: 5, Insightful

    But simple web browsing is still "safer" in Firefox. Your computer might get pwn3d, but your browser won't! The "exploits" and "security flaws" everyone is talking about completely misses the layman's reason for switching, and that is because (thus far) none of these FireFox exploits turn innocent browsing into a spyware, adware, toolbar infested nightmare.

    So you can install anything onto the computer (such as spyware, adware, malware, etc.) but the browser is still safe? I agree with the other poster... what a crock! Also note that it's possible to install extensions into Firefox. Just because nobody has written a spyware/adware extension for Firefox doesn't mean that Firefox is immune. In fact, one of the benefits of Firefox is the ability to extend it. Do you even *know* what you're talking about?

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  50. Azureus by Nasarius · · Score: 3, Interesting
    Do you use Azureus?

    Why yes, yes I do. I love its features, but the interface is incredibly sluggish. Same goes for Eclipse. I've used it on Windows, Linux, and FreeBSD with various JDKs. It's slow. I'd go crazy if all the GUIs I use were the same way.

    --
    LOAD "SIG",8,1
  51. GPL Exploits -- interesting side effects. by Stephen+Samuel · · Score: 4, Interesting
    If someone uses the exploit code to build a worm and doesn't include the full source code with the 'distribution', the originl worm writer could sue them for copyright violation.

    This, of course presumes that (1) the original exploit author is a proper white-hat, and (2) we catch the person who creates the worm.

    --
    Free Software: Like love, it grows best when given away.
  52. FireFox team is loathe to change the update model by I'm+Don+Giovanni · · Score: 2, Interesting

    I see many here saying that the FireFox security update system is inadequate because it's too easy to ignore, not in your face, too easy to go unnoticed (and many times doesn't even work; my FireFox is giving no indication that it needs updating). What you don't understand is that the FireFox team *wants* the update notifications to be easily unnoticed, not in your face, easy to ignore. If they became "in your face", then the user would eventually think, "Damn, I sure do have to update this thing a lot. Guess it's not really that secure after all."

    --
    -- "I never gave these stories much credence." - HAL 9000
  53. Security Flasw Huh! by KarrottoP · · Score: 2, Insightful

    I can settle this for anyone confused....Lets take a poll...who has had their firefox hijacked? Who has had to spend countless hours removing malware from their users firefox installation?

    Nobody?

    Huh,
    Thats why I mandated Firefox in my office.

  54. People are dumber than any browser by minus9 · · Score: 2

    Have there actually been any successful exploits using a web browser as an attack mechanism. The ones that have had the worst effects seem to have been the ones which email an executable with a message saying "Oy dumbass run this executable". They seem to work far better than any thought out technical exploit.

  55. Demographics by thegnu · · Score: 3, Insightful

    The only thing anybody could ever prove is that Firefox's security is about as bad as IE's, and that still doesn't make it a worse choice. Right now, with Firefox making up less than 10% and IE making up about 80%, the majority of the exploits that are marketable are IE exploits.

    So people should keep using alternate browsers based on their merit up until they stop becoming alternate browsers. Then, maybe IE's GLORIOUS interface and GLORIOUS functionality can Lure Us Back.

    Oh, please.

    --
    Please stop stalking me, bro.
  56. Re:The real problem--SpyWare by strider44 · · Score: 2, Informative

    the user can't install any extensions from a site other than update.mozilla.org without jumping through a few hoops first.

  57. Via extensions? Good luck. by Anonymous Coward · · Score: 2, Informative

    You DO realize that you have to first *whitelist* the extension in order to install it, and only certain Mozilla controlled sites are whitelisted by default, right?

    Oh, and it's not an easy pushbutton thing, either. You have to find the setting in your browser (probably under about:config or somewhere) and add it that way. Should be more than enough to intimidate someone who isn't bright enough to know better than to install a spyware extension.

  58. Firefox bad press and Black Hats by Evil+Pete · · Score: 2, Insightful

    We shouldn't forget that bad press for FF is in the interests of the Black Hats who make money off of IE exploits. FF is harder to crack than IE. Not impossible just harder. Their aim is most likely to maintain the "good times" of IE. So we shouldn't be surprised that not only is an exploit released but a nasty application of it as well. The black hats wouldn't release the app for the IE version because it would be too useful, but by releasing the FF one they support their investment in IE.

    --
    Bitter and proud of it.
  59. How to stop stack/heap exploits for *GOOD!* by iamcf13 · · Score: 2, Informative
    This coder's approach makes sense AND WORKS!

    (Note: I am not a shill/user of his software but am a fellow coder always on the lookout for good, elegant, useful code and ideas to use in future projects....)

    From

    http://www.slproweb.com/download/ProtoNova_ID.chm

    Discussion on Security

    [snip]

    Before I conclude, I have one other thing I wish to mention that defines security. This is the fact that ProtoNova is the only web server in existence guaranteed to be free from Buffer Overflow attacks on the stack at the application level. Let's see you try to get a guarantee like that from Apache or Microsoft. While I can't control problems with the underlying OS or libraries, I can control how I write my own code. Here's my secret to how I can make such a guarantee: Dynamically allocate all memory I use on the heap. 90% of all bug fixes for exploits (potential or otherwise) coming out of various organizations (ahem, Microsoft) are for Buffer Overflow attacks on the stack. A buffer overflow on the heap is far less dangerous than a stack-based overflow. If you don't know the difference, let me show you that I really do know what I'm talking about (whereas most journalists generally have no clue) using some C code - that is, the language most web servers are written in:

    // Include necessary headers to compile
    #include <stdio.h>
    #include <stdlib.h>

    // Start of the "main" function - used to tell the OS where
    // to start processing source code.
    int main(int argc, char **argv)
    {
    // Tells the computer to create 256 places in memory _on the stack_ for storage.
    char str[256];

    // This just tells the user how to use the program.
    // Not really important, but useful.
    if (argc < 2)
    {
    printf("Syntax: BadProgram TypeInAReallyLongString");
    exit(1);
    }

    // This copies the data the _user_ specified into str.
    strcpy(str, argv[1]);

    // This prints the contents of str.
    printf("%s\n", str);

    return 0;
    }

    (For you programmers out there, please ignore the comments. I realize they are "basic/newbie," but I'm attempting to explain source code to newbies).

    The example above is extremely dangerous. Why? It is because there is only room reserved for 256 places in the computer's memory. What happens if the user enters data for 1000 places? This is where the danger comes in. The stack is where function calls like "main" are stored. When 1000 memory locations are copied from the user to str, the stack beyond the 256 is overwritten with whatever the user has entered. Typically, this will result in a crash when the function "main" "return"s...however, if those 1000 places in memory are carefully crafted, they can execute arbitrary code when "main" "return"s. This could be anything from a virus to a complete system takeover.

    So, what is the solution to this? It should be obvious: Don't put anything the user enters, even remotely related, onto the stack...ever:

    // Include necessary headers to compile
    #include <stdio.h>
    #include <stdlib.h>

    // Start of the "main" function - used to tell the OS where
    // to start processing source code.
    int main(int argc, char **argv)
    {
    // Tells the computer to create a place _on the stack_ for
    // storage of a pointer to memory _on the heap_.
    char *str;

    // This just tells the user how to use the program.
    // Not really important, but useful.
    if (argc < 2)
    {
    printf("Syntax: BetterProgram TypeInAReallyLo