Slashdot Mirror


There Is No Safe Web Browser

Michael writes "David Sheets has up an interesting article on browser security, and I have to agree with his conclusion: no web browser is safe. The article details the recent Netscape fiasco, and touches on the whole Firefox/Internet Explorer debate. From the article: 'So if it sounds as if we're all at the mercy of hackers just looking for some new challenge, that's partially true. As law enforcement officers will tell you, crime finds you if it wants you bad enough, no matter what preventative measures you take. But the vast majority of criminals have an Achilles' heel: They prefer convenience to challenge. For now, it's more convenient for them to pick on Internet Explorer.'"

35 of 444 comments (clear)

  1. Lynx is safe by Bodysurf · · Score: 4, Funny

    As is telnetting to port 80 and interpreting the HTML in your head.

    1. Re:Lynx is safe by sp0rk173 · · Score: 3, Insightful

      Well, if you're moderating posts based on the content within the story thread, it seems illogical. However, if you're moderating based on the attitudes prevalent in the community, then it's perfectly reasonable to mod redundant a comment that is so common-place and uninsightful that it is a predictable response, bound to turn up more than 10 times in the thread. I would classify "use lynx!!1!!1one!1" as such a comment. This place is full of parrots, so i'm down with the community-centric moderation model. Plus it's fun to watch people bitch about moderation.

    2. Re:Lynx is safe by Anonymous Coward · · Score: 3, Informative

      This "Lynx" you speak of intruiges me. Before I switch from current browser, could you post some screenshots of Lynx in action?

      Here you go!

      http://img184.echo.cx/img184/7750/lynx026bk.jpg
      http://img184.echo.cx/img184/3108/lynx013je.jpg

    3. Re:Lynx is safe by Profane+MuthaFucka · · Score: 5, Funny

      I don't even see the code. All I see is blonde, brunette, and redhead.

      --
      Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
  2. Dictionary Security Definition by Crimson+Dragon · · Score: 5, Interesting

    While I understand the point that Mr. Sheets is making, however, I disagree with his definition of safe.

    The implication of this article stems in the absolutes of security: can it ward off intruders or not. This is a flawed approach, and while seemingly a logical one, denounces another reality of this level of breach: the lion's share of these breaches are not of the most malicious sort (read: that stupid data miner which causes popups, search bars from hell, etc). These kind of easily hackable sections of Internet Explorer are less prevalent in Firefox. Market forces of the sheer user base would dictate that if this were not so, more spyware would have been ported to Firefox by now. 25 million downloads, right? That's a sizable chunk for any malware vendor, or aspiring intruder, to infiltrate.

    One must acknowledge the reality of security by statistics alongside security by absolutes.

    --
    The Crimson Dragon
    1. Re:Dictionary Security Definition by Winckle · · Score: 3, Informative

      59 million downloads actually :-)

    2. Re:Dictionary Security Definition by Tenebrious1 · · Score: 4, Insightful

      While I understand the point that Mr. Sheets is making, however, I disagree with his definition of safe.

      I have Firefox on a computer, and it's 100% safe. I have IE loaded on that machine, heck it's unpatched Win2K, and even that's 100% safe. The reason it's "safe" is because the power supply died a few months ago and I haven't been able to turn it on.

      So in this case, 100% safe = 0% usability. Which doesn't help me much, there has to be some acceptable level of "safe" that corresponds to a high level of usability, and that's where Firefox wins over IE.

      --
      -- If god wanted me to have a sig, he'd have given me a sense of humor.
  3. No browser is safe? by Rosco+P.+Coltrane · · Score: 3, Funny

    I'd say this one is fairly safe...

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:No browser is safe? by slavemowgli · · Score: 5, Informative

      Lynx has had vulnerabilities in the past, too - this one, for example. The only *really* safe way to browse is probably to use telnet, but I'm not sure you can even call that "browsing" anymore.

      --
      quidquid latine dictum sit altum videtur.
    2. Re:No browser is safe? by MrAnnoyanceToYou · · Score: 3, Funny

      I dunno about you guys, but I like to just stick one finger in an electrical socket and bite down on my 10bT.

      Anyone willing to browse like a real man is completely secure from hackers.

    3. Re:No browser is safe? by dougmc · · Score: 4, Interesting
      For TOTAL protection go [check out netcat]
      Even netcat isn't perfectly safe. It just dumps network traffic directly to the terminal, and with the right characters in this code, it could very well remap the keyboard or cause your terminal emulator to execute certain commands.

      This sort of thing may have already happened to you. Have you ever accidently just catted a binary file, and then discovered that your command history had all sorts of garbage commands in it? Same thing.

      This sort of vulnerability has been around for decades. People used to trigger it via `talk' requests or by using the `write' command, and while talk eventually learned to filter things better, as for write eventually everybody just did a `mesg n', because all write does is write text to your tty, so changing write won't help. Of course, fixing xterm and other terminal emulators is another fix, but these features can be useful too. Still, I'm surprised that they haven't been disabled by default, but even today, xterm seems to have this `problem'.

      Many vulnerabilities are caused by this sort of mixmash of different utilities -- in this case, netcat doesn't really have the vulnerability, but it would allow text to come in that could affect your terminal emulator.

      Yes, with the right filtering of the output this could be safe, but not with netcat by itself. Still wouldn't make it a non-crappy browser though.

  4. Doesn't go far enough. by El+Cubano · · Score: 4, Insightful

    David Sheets has up an interesting article on browser security, and I have to agree with his conclusion: no web browser is safe

    No program that accepts input is safe. Even some programs that don't accept input aren't safe either. It is the nature of how complex software really is and how little of it we understand.

    1. Re:Doesn't go far enough. by wfberg · · Score: 3, Funny

      No program that accepts input is safe. /dev/null is holding up fine.

      --
      SCO employee? Check out the bounty
  5. Nor is there a "safe" OS.... by Total_Wimp · · Score: 4, Insightful

    ...at least not one you'd want to use. Sorry people, Linux is not "safe." Mac OS/anything is not "safe." There are a very few OSs that are pretty safe, but the only reason Mac and Linux fans can brag right now is that they're ignoring all the patches, hacks, etc that already exist for their OS of choice.

    TW

    1. Re:Nor is there a "safe" OS.... by RatBastard · · Score: 4, Funny

      There is not "absolutely, 100% safe from everyone" not safe and then there is "dropped the soap in the prison shower" not safe. While even Linux and Mac OS X fall into the first, Windows falls into the second. Windows is unsafe due to the lack of planning or safety concerns of the programmers. Programmers told by the marketting department to spend their time on features above all other things.

      I can't speak for Linux users as I am not one, but I can speak for some Mac users. We don't ignore the bugs, hacks and patches out there. I keep my system fully patched at all times, just as I dio my Windows boxes. The difference here is that my Mac has never had a spyware infestation, nor a virus, nor any of the other intrusive attacks that my Windows machine has suffered through. And I'm careful with my Windows machine.

      Windows has gotten safer as MS has finally deigned to pay attention to safety concerns. But a fresh Windows install is as unsafe as a child molester in a maximum security prison. A significant number of patches and extra utilities need to be installed, many of them only practically available from the Internet, before it is reasonably safe to connect that computer to the Internet. This is not true for Linux and OS X bioxes.

      --
      Boobies never hurt anyone. - Sherry Glaser.
    2. Re:Nor is there a "safe" OS.... by NickFortune · · Score: 4, Insightful
      The flaw here lies in considering safe as an absolute. There is no safe method of travelling, but there are substanially more risks associated with skydiving than there are with walking.

      Even apologists for MS poor security record acknowledge that firefox is more secure, if only with the argument "when more malware starts targetting it, then it will be just as bad"

      And the same applies to OS security as well. Safe is a relative concept, and to try and confuse the issue by casting it as an absolute does no one any favours.

      --
      Don't let THEM immanentize the Eschaton!
  6. Hit the Nail on the Head by Anonymous Coward · · Score: 5, Insightful

    I think that this author has finally gotten it right. Note the increasing instances of popup ads that are tailored for firefox users etc.

    As firefox gains in popularity, expect that the number of exploits aimed towards it will continue to rise.

    That being said, the nice thing about firefox (and OSS), is that lots of eyeballs can look at, and fix, the code in a timely manner.

    1. Re:Hit the Nail on the Head by jedidiah · · Score: 4, Insightful

      No, the greatest thing about Firefox is that it exists for the benefit of it's end users. This means that it is far more likely that Firefox will be changed (and changed quickly) to suit end user requirements than IE.

      If it turns out that there is some feature or technique that really should never be in a browser, we have some hope that Firefox would expunge it and do so quickly.

      --
      A Pirate and a Puritan look the same on a balance sheet.
  7. Obvious -1 by Nom+du+Keyboard · · Score: 4, Insightful

    I'd give this article an Obvious -1 simply because it is axiomatic, and everybody should have realized by now that There is no 'safe' web browser. Especially how after it was demonstrated that a Firefox exploit allowed infection of IE when IE itself would have blocked the malware site. Cute!

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  8. Perhaps it needed to be said by IntricateEnigma · · Score: 3, Funny

    Perhaps it needed to be said, but it seems to me like this post is a statement of the obvious.

    I'm sure I'll be modded down for just posting my blunt thoughts in responst to the post.

  9. This just in! by Enigma_Man · · Score: 4, Interesting

    Newsflash! There's no such thing as perfect security, who would have thought it? Whether it be through a flaw in the code (which we all try to fix, when they are found), or stupid users running crap they oughtn't.

    I for one use Firefox, because it is MUCH more secure than IE. It may not be perfect, but it's by far good enough for regular use.

    That's like saying that houses aren't secure, even the new model homes with electronic alarm systems. No crap, but that doesn't mean sell the alarm systems and leave your front door unlocked (like IE).

    -Jesse, disliking alarmist poop articles.

    --
    Nothing says "unprofessional job" like wrinkles in your duct tape.
  10. Integration with the OS is B-A-D.. BAD by TheCeltic · · Score: 4, Insightful

    When a webbrowser is integrated with the OS, this greatly increases the ways a hacker can damage the system. Hence, while no browser is secure, one can is MORE secure simply because it is NOT woven into the OS. Of course, having updates frequently and being in more active development are good things as well.

    --
    =-=-=-=-=-=-=-= - The Celtic - =-=-=-=-=-=-=-=
  11. Always protect yourself... by logik3x · · Score: 4, Funny

    Don't forget to wear a condom for safe browsing...

  12. Re:I want you to meet my little friend by macaulay805 · · Score: 4, Informative

    Lynx had its fair share of vunerabilities also ....

  13. Come on by a_greer2005 · · Score: 5, Insightful
    The problem is ignorant users, the headline is like saying "THERE IS NO SAFE CAR" of cource no car is safe when you dont buckle up, drive 120MPH and swirve, but when proper precautions are taken, I dare say a Lexus is safer than a Pinto.
    Browsers can be totaly safe, as much as I hate to say it, IE can be pretty safe too. just follow these rules:
    1:USE A FIREWALL
    2: update your browser
    3:disable ActiveX, any site that uses it is a site you should learn to live without.
    4: (the one most often broken) DONT CLICK YES ALL THE TIME, warnings are there for a reason.
    5: Dont DL and run STUPID executables

    Most Browsers do a decent job of protecting you fron the bad stuff, but NOTHING can protect you from yourself, short of cutting the cable, and if you do that, dont run with scisors

  14. Re:I want you to meet my little friend by Mr2cents · · Score: 3, Interesting

    Nobody is perfect => there is no perfectly safe browser, or any other type of application. What app, besides maybe "hello world", has never ever needed a security patch?

    http://www.vrlteam.org/home.asp?vrl=advisories&adv =270

    --
    "It's too bad that stupidity isn't painful." - Anton LaVey
  15. Re:I want you to meet my little friend by Penguinshit · · Score: 3, Interesting


    if you don't do proper bounds-checking on your "hello world" array, then you need a security patch...

    [ducks and runs...]

  16. This is a tired subject (please read on) by betelgeuse68 · · Score: 3, Interesting

    All these "IE vs. Mozilla" or "IE vs. FireFox" or "Netscape vs. IE" or "Opera vs. IE" discussions (pick your poison) are irrelevant.

    First off, it amazes me that I have run across paranoid *NIX sys admin friends who are very mindful of what runs as "root" on servers they control but then turn around and operate day to day on Windows desktops as an administrator.

    Well, gee dip sh*ts, no wonder you're screwed if rogue code enters your system.

    If people used limited accounts and then used impersonation (ever hear of "runas") under Windows, all of these discussions would go the way of the dodo bird.

    More to the point they would be TRULY irrelevant. Sure send me to some baddie site, won't do much on my system. Whatever malware sent down the pipe to me can't do anything to change my system (C:\WINDOWS).

    This is how I operate, i.e. a limited account desktop. The admin account is just that, for ADMINISTRATION, e.g., setting up new apps.

    Amazingly, this approach is "novel" among even tech types since I keep hearig these discussions even on Slashdot.

    The principle of least privilege is ANCIENT. Impersonation is part of Windows. Just as it is with other OSes.

    The Windows NT kernel has had security since its inception. On the file system, registry as well as synchronization mechanisms such as mutexes, semaphores, etc.

    Do you want to know why MS doesn't leverage it? Cost. Plain and simple. If WinAmp (which doesn't work under a limited account) stops working for someone on account of MS automatically setting up limited accounts for people, guess who is likely to start receiving support calls? "But it always worked on Windows 9x!!!"

    Yes, it boils down to money. This is NOT a technical problem. MS alongside companies peddling its wares (Dell, Gateway et al) simply do not want to deal with the potential legacy costs of supporting misbehaved apps and/or apps whose designers were myopic and assumed the ability to write to any part of the file system and/or registry.

    The great thing is, even with a limited account desktop you can still readily run WinAmp. You just have to know how.

    All of this seems like "rocket science" to everyone. And I guess it is, since this discussion keeps rearing its head, namely browser security. The point is, a browser is another app that inherits default credentials from your login. Don't operate as administrator geniuses (sarcasm in case you didn't figure that out).

    In the case of WinAmp. I simply defined an admin account that I leverage to run that application on my limited desktop (use the command line "runas" facility or change the properties on the shortcut through the "Advanced" button). I might mention that Shoutcast servers are capable of sending URLs (think JavaScript) that WinAmp will readily execute via IE totally disrespecting your browser choice. So taking another page from what Windows has offered from the start, I changed the ACLs for the IE executable such that my "WinAmp User" has absolutely no rights to the IE executable. Not even the ability to read that file. In this manner I short circuit this potential threat vector. In addition I changed the ACLs on C:\WINDOWS and some other directories so that this "WinAmp User" could only read from these directories.

    Here's the moral of the story folks, use a limited account. Plain and simple. End of story. End of this not very worthwhile discussion (among tech people).

    Yes I use LINUX, I use Cygwin's X server and readily use LINUX Mozilla complements of the latter. Not just a little, a lot. This IN ADDITION to the fact that I use a limited account for day to day activities.

    I have never had spyware or a virus on my system. EVER.

    -M

  17. I don't think you understand economics by geekee · · Score: 4, Insightful

    "Market forces of the sheer user base would dictate that if this were not so, more spyware would have been ported to Firefox by now. 25 million downloads, right? That's a sizable chunk for any malware vendor, or aspiring intruder, to infiltrate."

    If 1 hack hits 90% of the market, spending more money to get a hack for the rest may not be worth the effort even if Firefox has as many holes as IE. Simple economics.

    --
    Vote for Pedro
  18. How to make a safe web browser... by Temporal · · Score: 3, Informative

    It's really rather sad that we've given in to the idea that writing secure large-scale software is essentially impossible. It's not. It's only impossible in the paradigm we use.

    Here is how security works on every major OS and in every major programming language today:

    1. Tell the program about all of the features of the OS by exposing them all through an API.
    2. Let the program make any request it wants.
    3. When a request is made, check it against various lists to see if the program is allowed to do it.

    Here's how it should work:

    1. Tell the program only about the features it is allowed to use, by giving the program references to objects implementing these features (i.e. file descriptors, handles, implementations of abstract interfaces, or the like).
    2. Let the program to whatever it wants with them, because you have not even given it the ability to express a dangerous operation.

    This is called Capability-Based Security. Hopefully it is easy to see why the latter would make security much easier to manage. If not, you can read this discussion of the concept.

    CBS allows you to execute code without trusting it. In Unix, you'd have to create a new user with no permissions to run your code, which is way too much work for most purposes. In CBS, you can set up every single program to have a different set of permissions based on that program's needs. Furthermore, the program can internally manage those capabilities to insure that only a small amount of the program's own code has access to them. Then, as long as that code is secure, the program is secure, but even if it isn't, the worst it can do is abuse the capabilities you explicitly gave it.

    How does this relate to web browsers? Well, a web browser really only needs the capability to render to its GUI window, read its install files, and read/write its config and cache. So don't give it any capabilities beyond that. Voila, now it does not matter what malicious program takes over your web browser, because it can't do a thing to your system.

  19. I use by Anonymous Coward · · Score: 3, Insightful

    Konqueror mostly, Mozilla on ocassion, Firefox on lesser occasions. I tend to like the swiss army knife abilities of konqueror (ftp, fish, far better tab control than Firefox without installing extensions, overall integration with kde, etc) over Mozilla and Firefox. I guess I pick Mozilla over Firefox because of composer and I'm just used to Mozilla a lot more than Firefox simply due to familiarity and length of use.

    What I can state is that since I've been using Konqueror (khtml, like Apple's browser) on Linux, I've never had an issue with spyware or adware. Never. I've never had a problem with security, even though there have been security alerts for konqueror as well as the other browsers. Konqueror makes it simple to surf without images turned on (one button click on top of window without going into drop down boxes to turn images on), makes it simple to surf without javascript turned on (simple and fast two step process to turn it on for a web site, can specify in settings which web sites to turn on javascript by default if needed regularly), and makes it a satisfying all-around experience in using the web.

    I help adjust/maintain/bugfix windows for another user and I just can't understand how windows users can possibly put up with the spyware/adware. Taking a look at server logs, I can't believe how many people's browsers are infected with FunWeb, something else "Fun", and other spyware.

    If you are a windows user, do yourself a favor and visit a friend's website (after alerting them) and ask them to send you a copy of the log entry from your visit. If your browser is infected with spyware, it just may show up as part of the browser identifier.

    The ability of spyware/adware to infect a windows computer is a serious security problem. If you've been infected, you are running a system that is insecure. Please re-read that last sentence. If you've been infected with spyware/adware, you are running a system that is insecure.

  20. Be careful!!! by 3770 · · Score: 5, Funny


    I telnetted to port 80 once, and interpreted the HTML in my head.

    Unfortunately there was a infinitely recursive Java script function on there.

    I'm still not quite myself.

    --
    The Internet is full. Go Away!!!
  21. Re:OS's in the same boat? by Durandal64 · · Score: 3, Insightful
    I would be willing to wager a very large bet that if Mac OS X was the industry leader there would be the same difficulties with viruses, and other criminal activities that are currently associated with Microsoft's products.
    I'd take that bet, and I'd win. Here's why. Windows happens to be in the precarious condition of being both the most popular operating system and being poorly-designed. Samba services are on by default, meaning that the user is automatically vulnerable to worms that propagate through the Samba service. This is why a machine with a fresh Windows install can be infected with a worm within minutes of connecting to the Internet. This was a huge problem on my campus a couple years back at the beginning of the semester. Blaster was hammering away at everything, and even the machines that were wiped got infected with it as soon as they were connected back to the Internet.

    Why would this not happen (or at least happen far less frequently) on OS X? Because none of the services are enabled by default. Samba, AFP, SSH, Apache, everything is off. In order to infect a Mac OS X machine, it would take more social engineering than to infect a Windows machine. A Mac OS X user, to really, really do harm to the entire system, has to be tricked into entering his administrator password, even if he is logged in as an administrator.

    Microsoft has acknowledged this flaw. They want to transition users to a model of the lowest possible privilege assignment. If a user doesn't need to be an administrator, he shouldn't be. Unfortunately, as Microsoft has also acknowledged, there is too much poorly-designed Windows software that won't run unless the user is an administrator (even though the software does nothing that requires administrative privileges ... it may just be storing its preferences in a weird way) to make such a transition in the short-term possible. This is a direct consequence of the design choices Microsoft made with Windows and their encouragement of developers to write easy software first, secure software second.

    In Mac OS X, software installers must acquire administrative rights by getting the user to authenticate as an admin if they want to write to anything that isn't in the current user's space. Apple encourages developers to avoid having the user authenticate authenticate at all costs and to only attempt to gain admin privileges if absolutely necessary. That is smart design, and since it's been that way since 10.0, there aren't very many applications that absolutely require an administrator for no reason.
  22. I'll go even further. by khasim · · Score: 3, Insightful

    The implication of this article stems in the absolutes of security: can it ward off intruders or not. This is a flawed approach, and while seemingly a logical one, denounces another reality of this level of breach: the lion's share of these breaches are not of the most malicious sort (read: that stupid data miner which causes popups, search bars from hell, etc).

    The FIRST aspect of "security" is limiting the avenues of attack. You sort of touched on that, but I'll say it explicitly.

    If FireFox doesn't run ActiveX, then that is one avenue that is NOT available for an attack.

    As others have pointed out, lynx is very secure and that is because it completely blocks so many avenues of attack.

    One must acknowledge the reality of security by statistics alongside security by absolutes.

    Exactly. Now, from TFA:

    As law enforcement officers will tell you, crime finds you if it wants you bad enough, no matter what preventative measures you take.

    If they say that, then they are wrong.

    Look at the typical junkie on the street. He's be happy to rob a bank. But the bank's security system is beyond his capabilities to SUCCESSFULLY attack.

    So he picks easier targets with LOWER payoffs (mugging pedestrians).

    Which brings me to the SECOND aspect of security: Build the defenses on the available avenues to defeat the attacks.

    Sure, there are criminals out there who can pick any lock and defeat any alarm system. But they are very few and very far between. The odds that you, specifically, will be targetted by one of them is less than the odds of you winning the lottery.

    So, contrary to what TFA says, crime will NOT find you if it wants you bad enough. It has to want you bad enough AND be intelligent enough AND be skilled enough.

    But the vast majority of criminals have an Achilles' heel: They prefer convenience to challenge.

    Sort of. More accurately, they're lazy. The "vast majority" will NOT spend time and effort to learn how to bypass alarm systems. If there's an easier target, they'll go for it.

    If your (and your neighbor's) defenses are more than they can bypass, they'll leave the area.

    For now, it's more convenient for them to pick on Internet Explorer.

    No. While it is more "convenient", that is NOT the reason that IE is subject to all the attacks.

    The reason is that the level of skill/intelligence required to successfully attack IE is SO VERY LOW. ANYONE with a bit of programming skill can write an exploit for IE.

    Sure, any junkie can get a knife, and a knife is good enough for a mugging. But that knife isn't going to get you very far in a bank robbery.

    Clearly, hackers wouldn't be so successful if they didn't have so many potential targets.

    Again, it isn't about the POTENTIAL targets.

    It's all about the AVAILABLE targets in your SKILL RANGE.

    Of course, it's up to software makers to hold up their end, too. But they're no less susceptible to market forces, deadlines and bureaucracy than anyone else.

    Which is why Open Source has such a great security rep. There aren't any market forces or deadlines to deal with. It's ready when it is ready.

    Mistakes happen. Hacking happens. To assume you won't fall prey to either fairly begs for trouble.

    This gets back to your statement on statistics and "the absolutes of security".

    Sure, my system is vulnerable.
    An attacker has to get to Seattle.
    And into the office building.
    And disable the cameras.
    And disable the alarm system.
    And break into the office.
    And blow the server room door.
    And then steal the server.

    I'm not losing any sleep.

    Of the thousands of computer viruses now available, most ar

  23. Safari? by 5n3ak3rp1mp · · Score: 3, Interesting

    Is anyone aware of any Safari (OS X web browser) vulnerabilities, especially exploited ones?

    I think the fact that OS X throws up an auth login whenever any app tries to access a directory that the current user doesn't own, pretty much makes casual takeover difficult, even by an insecure web browser...