Slashdot Mirror


HTML Frames Considered Harmful

DLWormwood writes "Secunia has recently issued yet another advisory about web browser vulnerabilities, this time concerning the use of frames in web pages. Originally discovered to be in Internet Explorer, the security experts apparently worked overtime just to make sure the same "flaw" is found in just about every other browser out there. Doesn't this notice simply complain about a specified design feature of frames? (Note their official "advice": "Do not visit or follow links from untrusted websites.")"

104 comments

  1. Frames are evil, anyway by Anonymous Coward · · Score: 5, Insightful


    Since when was this news?!

    Frames are evil. Frames supposedly make the webdesigners job easier, but they cause an increased maintenance overhead. Frames supposedly creates a better interface to a website for the end-user, but they cause severe usability problems.

    Its common to see frames abused by newbies in implementing a left-hand menu and top banner layout with the mistaken belief its easier to maintain and makes downloading quicker. There are numerous problems this implementation raises typically related to the paradox it creates.

    To make-up for the usability deficiencies, many framed websites use some client-side techniques which cause further maintenance nightmares. There is a definite usability versus maintenance trade-off with frames, which make it a difficult technology to manage well. The alternatives available have none of these drawbacks, thus frames are a sub-optimal, and typically backward solution.

    Most of this "usability"-hacking of framed websites results in a complete dependancy on Javascript - another evil. Considering the on-going problems related to Windows lax security model (in the OS, Outlook and Internet Explorer) and the exponential growth of scripted worms and viruses (Melissa, Love Bug, Kornikova, SirCam, Code Red, Code Red II, Code Blue, Nimda), this convinces a greater number of surfers switching off Javascript entirely, which in turn causes a framed and scripted site to die a rather horrible death in the browser.

    1. Re:Frames are evil, anyway by ericspinder · · Score: 3, Insightful
      the mistaken belief its easier to maintain and makes downloading quicker.
      It does make downloading successive pages quicker, but I don't know anybody at 14.4K, so it doesn't make anywhere near the difference that it used to. It helps download speed, if you have rollover image based navigation (really a mistake, but sometimes you don't have a choice). Also, before the ubiquiness of the Application server it was either use JavaScript Objects kept in a hidden frame (or what was later called a 'pop-under') or roll you own CGI session mgmt.

      However, you are right bout the need for usuability hacks with frames, just getting the back button to work right is a real pain. But, I disagree about JavaScript being 'Evil', it's a tool which is particularly well suited for client side actions. I have used JavaScript recently to re-order a list rather than redoing the query, it's much faster than any of the alternatives. If you want to surf the net with JavaScipt turned off, that's your business. Now I avoid frames, unless I am told that is how it will be, but JavaScript is still very useful, especially combined with CSS (aka DHTML)

      The "lax" windows security model and the viruses you mention may be issues, but they have nothing to do with this issue. It's like saying: "Becuase of the war in Iraq, and the growth of fungus, You should only have salad at McDonalds', because it's better for you, QED."

      --
      The grass is only greener, if you don't take care of your own lawn.
    2. Re:Frames are evil, anyway by lphuberdeau · · Score: 4, Insightful

      I have to agree that in common websites, frames are quite useless and ugly. All they really do is make nagivation a hell, but there are situations where frames are useful. I work on internally-used applications which sometimes have a web interface, and the users actually asked to have frames available in some cases. Frames can fill the gap between the usability of a standalone application and flexibility of the web.

      It might seem useless, but the simple fact that frames can be resized does suit most needs. Users can decide which section of the content is most useful to them. A common usage is when the users actually need to compare documents. Having both side by side can be nice.

      Just imagine Java's documentation without the frameset, it would really be a pain to search in. The class list is very long to load, and I'm quite happy they didn't simply include it in all pages.

      Frames are not evil, neither is JavaScript, it just depends on how it's used. Using frames for a menu is not a good thing, and using frames for a banner is simply worst. Those kind of usage really gave frames a bad reputation because they simply reduce the amount of usable space on the monitor. JavaScript used for pop-ups or ugly 'eye-candy' stuff really also is an error, but JavaScript can enable some real dynamism in a form and actually allow to save a lot of time in the processing. Isn't filling country, state and city automatically nice when a user enters a zip code?

      There used to be problems with JavaScript and browser compatibility, but it's not that bad anymore. Of course, IE simply won't support everything, but there are always workarounds.

      Really, those things are only evil if you're a designer. When you need to build an application that people will actually use and need to be productive, you need to look over those things to see if they could make the entire application better. Just don't abuse.

      --
      Qui ne va pas à la chasse n'a pas de gibier
      PHP Queb
    3. Re:Frames are evil, anyway by DLWormwood · · Score: 1
      Since when was this news?!

      Frames are evil.

      Of course, but I think the notion that a "trusted" security site finds technology from the last millenium to be "newsworthy" to be newsworthy itself, if for no other reason than for /.'ers to ruthlessly mock them.

      Seriously, though, I posted this because I was starting to notice this meme drifting through the Mac websphere (of all places!) about the non-IE version of the flaw. I wanted to "out" the fact that this affected/effected/qffected IE as well before the Microsoft apologists started to gloat.

      Wow, my first news submission, and it passes. Just what has /. turned into lately? (-;

      --
      Those who complain about affect & effect on /. should be disemvoweled
    4. Re:Frames are evil, anyway by Anonymous Coward · · Score: 2, Interesting

      with the mistaken belief ...[it] makes downloading quicker

      Umm, that's not a mistaken belief. In fact, you'd have to try really REALLY hard to make it not true. I get sick of sites wiping the entire screen only to reload the exact same HTML for their "menu" every time you open a different option. Frames are not evil unless the user is an idiot, and a huge portion of internet users are still using 56k or slower modems.

      I get really sick of this, actually. One usability expert says frames are bad because they confuse a few people, and everyone just repeats it as if it were gospel, not bothering to think about the benefits that can apply. Frames are 100% non-evil when used well.

      What's evil is including 20k of "menu code" on every fucking page.

    5. Re:Frames are evil, anyway by AShocka · · Score: 1

      If you want a frame like interface use absolute positioning of the menu content in CSS.

    6. Re:Frames are evil, anyway by almightyjustin · · Score: 1
      Well, sure, you can do that, but then you have to include the menu on every page. Guess what happens when you want to change one of the links on the menu?

      And don't just say "use PHP"; there are lots of situations in which PHP is not a practical option.

      --

      Omnes arx vestrum sunt adiuncta nobis.

    7. Re:Frames are evil, anyway by AShocka · · Score: 1

      There are all sorts of ways to manage this in a practical fashion. I'm not saying there are no down sides to this approach, but using frames has far more downsides and maintenance issues.

    8. Re:Frames are evil, anyway by Romeozulu · · Score: 1

      >>Isn't filling country, state and city automatically nice when a user enters a zip code?

      Show me a site that does this via JavaScript? The Zipcode database is HUGE, and I doubt anyone is downloading the whole thing on pageload just to auto fill in City/State via Zip.

      Don't get me wrong, I love JavaScipt (used right), and I think it really gets a bad wrap because of the pop-up issue.

    9. Re:Frames are evil, anyway by lphuberdeau · · Score: 2, Informative

      Depends on what the scope is, and you don't need to load everything in the first place anyway.

      I'll just use an example from Frank Boumphrey (Source: http://conf.phpquebec.org/main.php/en/cdrom2004/se ssion#3), this system was used for an hospital, only the local/frequent zip codes were sent to the client in the first place. Once again, this was for an internal application, but it can really apply anywhere.

      If sending the entire list is not an option, it's still possible to get the page to go fetch the information directly using Mozilla's XMLHttpRequest class or IE's HTTPREQUEST ActiveX component. (Well explained here: http://www.phppatterns.com/index.php/article/artic leview/82/1/2/).

      Those features are quite obscur but have been around for quite a while now (years). Most browsers actually support it. And for the other ones, they can still type the entire thing.

      I hope these details answered your questions.

      --
      Qui ne va pas à la chasse n'a pas de gibier
      PHP Queb
    10. Re:Frames are evil, anyway by Anonymous Coward · · Score: 0

      Umm, that's not a mistaken belief.

      It is and it isn't. Downloading a framed page will be slower than downloading a non-framed page. You have to request the frameset, parse it, and then request each individual page. Compared with simply requesting a single page, it's slower.

      Having said that, once you get somebody surfing through a website, it's not so slow, as they don't have to reload some of the frames. However, if you are doing frames as best you can, you'll be creating a frameset for each individual set of pages and using target="_top", so you still have the overhead of requesting and parsing the frameset. In situations where persistent connections or 304 responses are not present, the additional requests needed can really slow things down.

      I get sick of sites wiping the entire screen only to reload the exact same HTML for their "menu" every time you open a different option.

      The exact same? Most websites alter the menu to highlight where a visitor is in the website - it helps them build up a mental map of the website. You can't do this reliably with framesets without throwing away the advantage you've just described.

      I get really sick of this, actually. One usability expert says frames are bad because they confuse a few people, and everyone just repeats it as if it were gospel, not bothering to think about the benefits that can apply. Frames are 100% non-evil when used well.

      Bullshit. There are loads of different reasons why framesets are a nasty hack that don't work well. These aren't new arguments, they've been around ages, and I have yet to find anybody that can address them all. As a starting point, try this document.

      What's evil is including 20k of "menu code" on every fucking page.

      20k of menu code is not the alternative, or even common. 2k is more like it.

    11. Re:Frames are evil, anyway by ozbon · · Score: 1

      Fair enough, you don't have to use PHP, but SSIs in general work nicely instead of using a frameset.

      Personally, I use either a PHP include file, or an ASP one, depending on the set-up of the webserver - but a simple SSI in a .shtml file will work just the same.

      --
      I say we take off and nuke it from orbit. It's the only way to be sure...
    12. Re:Frames are evil, anyway by metamatic · · Score: 1

      Well, if you really care about download speed, you skip the images and use CSS. That'll give you a much better improvement than frames.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    13. Re:Frames are evil, anyway by Anonymous Coward · · Score: 0

      every fucking page

      I know what kind of sites you're looking at.
    14. Re:Frames are evil, anyway by Anonymous Coward · · Score: 0

      Or you can still use both images and CSS at the same time...

      http://www.alistapart.com/articles/slidingdoors2 /

  2. no posts, already slashdotted by danguyf · · Score: 3, Funny

    I clicked "Vulnerabilities" in Secunia's menu frame and now the site won't come up... Which is the greater danger, frames or the slashdot effect?

  3. Parent-child window links by 0x0d0a · · Score: 5, Interesting

    Really, it sucks that there's no visual association between child and parent windows (like a string attaching them, or something). If a dialog comes up from a Javascript, how are you to know what frame it belongs to?

    The idea up throwing up dialogs really predates the need to provide a trusted interface to the user.

    1. Re:Parent-child window links by gl4ss · · Score: 1

      well, do you often get popup dialogs while browsing the web that aren't 'harmful'?

      --
      world was created 5 seconds before this post as it is.
    2. Re:Parent-child window links by 0x0d0a · · Score: 1

      Password dialogs.

      Well, not often, but I should be able to get trusted password dialogs.

    3. Re:Parent-child window links by ZigMonty · · Score: 2, Interesting

      This is exactly what Apple fixed with "Sheets": a child window slides down from the title bar of the parent and remains attached.

  4. Not a bug, a feature by Twirlip+of+the+Mists · · Score: 3, Interesting

    It seems to me that the whole premise behind this so-called vulnerability is wrong. Frames and windows don't have owners, so there's nothing for the browser to verify.

    So yeah, I think the "a specified design feature of frames" thing is pretty close to the truth.

    --

    I write in my journal
    1. Re:Not a bug, a feature by eddy+the+lip · · Score: 1

      Yeah, I'd hardly call this a vulnerability. Maybe a "feature that can be used to trick users." Of course a parent window can modify content in it's child windows. This isn't exactly news. News would be "a child window can modify content in it's parent window", something that's supposed to require a signed script.

      You could do something similar without even bothering with frames, by, say, registering 'microssoft.com' and then linking to "http://msdn.microssoft.com/library/default.asp." How many peole will notice the extra 's' in their addressbar? Is that a "vulnerability"?

      Sounds like someone wanted to publish a "six year old vulnerability" to hawk their product.

      --

      This is the voice of World Control. I bring you Peace.

    2. Re:Not a bug, a feature by WolfWithoutAClause · · Score: 1
      I think the problem might be if you have a window open- like a banking site up, or ebay, amazon etc. etc., and you open another website; or somebody sends you spam with html attachment or something.

      As soon as it gets executed javascript replaces the real page with a fake one. If you don't notice the switch then the 'fun' ensues as you try to 'log back in'.

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
    3. Re:Not a bug, a feature by happyfrogcow · · Score: 1

      Yeah, I'd hardly call this a vulnerability.

      wrong. the Subject line of the parent could be correct, but your statement is wrong. It very well could be a design issue, thus it's not a bug. A correctly implemented design issue is not a bug. However a properly (or improperly) implemented design decision can very well lead to a vulnerability. I see no difference between a vulnerability and "Maybe a 'feature that can be used to trick users.'"

    4. Re:Not a bug, a feature by bentcd · · Score: 3, Interesting

      It doesn't rely on Javascript; as far as I can tell it uses straight HTML tags to do its thing. This means that even the paranoid ones such as myself are vulnerable to this sort of attack. I tend to find that interesting in and of itself :-)

      --
      sigs are hazardous to your health
    5. Re:Not a bug, a feature by Matthew+Weigel · · Score: 2, Informative
      Parent window? Child window?

      Different windows. Open a new copy of your browser, doesn't matter how...

      This is a vulnerability because no matter how separate the user tries to keep two windows (for instance, using a bookmark to open ImportantBanking.com rather than clicking on a link to ImportantBanking.com from an untrusted external website), an untrusted external website can change the content in a frame of the ImportantBanking.com window.

      --
      --Matthew
    6. Re:Not a bug, a feature by eddy+the+lip · · Score: 1

      Ah, that explains the rabid "this is crazy serious" comments. I RTFA, just not TFC. I thought this was just doing the obvious thing, and using javascript to manipulate a browser window that had been opened by the parent. Thanks for the clarification.

      (Canada Day involves heat and beer. Mea culpa).

      --

      This is the voice of World Control. I bring you Peace.

    7. Re:Not a bug, a feature by Matthew+Weigel · · Score: 1

      Actually, the article is not entirely clear on this matter. I went ahead and verified (in IE, can't verify that that's the problem in every browser ;-) that it was more serious than that before I considered it serious, too.

      --
      --Matthew
    8. Re:Not a bug, a feature by Anonymous Coward · · Score: 0

      Even if you do consider it to be a bug, you can have an http proxy rewrite the link so it's just a normal link. I do this already with privoxy, and the test page fails to work for me. In other words, the links all just work like links, they don't open new windows or do funny stuff in some other window which may or may not be open. I always considered this to be annoying, hence why I turned it off. I don't think you could get away with doing this for a large number of users though, as some of them may actually enjoy being annoyed.

    9. Re:Not a bug, a feature by Anonymous Coward · · Score: 1, Insightful
      Top Ten Things Sucky Parts of the Web, using the Web-is-like-a-library analogy
      • Resize/maximize browser window from JS. When you're reading a book, does it latch on to your face with claws, preventing you from seeing anything else?
      • Pop-up ads and dialogue boxes. When you open a book, do other books fly off of the shelf and at you, flinging themselves open in the process?
      • Pop-under ads. When you finish reading a book and close it, does it fling itself back open to a different page?
      • target=_new. How about those books that hop from table to table, requiring you to chase them?
      • Bloat. Are books 30-40 lbs. each, having pages measuring several yards across?
      • Sites relying on nonstandard features. How about those books printed in a five-ink process (four-colors and black, and are only legible if you can distinguish all of those) for those women who have four types of cone cells? Or the books where letters are randomly either red or green, since the author was red/green color-blind?
      • Rapid-flashing animated images. Epileptics aren't permitted in libraries, after all.
      • Unexpected animation and interaction (read: abuse of Java and Flash). After all, we're all looking to go to the arcade when we visit the library, right?
      • Disabled right-click menus. What if some books pounced on you and bit you if you brought them anywhere near a Xerox machine?
      • Mis-use of the footer-space (where destination of URLs is shown while hovering). Suppose that a large reference book didn't have an index! (I know, this one's a stretch.)


      I mean, it's obvious that the Web is not identical to a physical library, but it's purported to (at times) be the digital equivalent of one. Additionally, books and libraries have gradually evolved to be fairly efficient (within the constraints of the world around them); it's usually better to try to build off of an existing known working solution than not to (and, yes, I realized the Web has evolved from it's hypertext document origins, but to some extent, page designers are ignoring existing wisdom).
    10. Re:Not a bug, a feature by DerWulf · · Score: 1

      the web is not only a library. Its a themepark, a post office, a news stand, a porno rental, a bookstore, a flee market, a bank and tons of other things. A web as library would be quite boring. Also regarding target=_new the correct analogy does translate perfectly into a library. When wanting to access a reference (link) found in the book, the new book doesn't replace the old one. Instead it is usualy open alongside the first.

      --

      ___
      No power in the 'verse can stop me
  5. CSS by Joe+the+Lesser · · Score: 3, Informative

    My IT professors beat into my brain that all formatting that even remotely resembles frames should be done with CSS(Cascading Style Sheets) positioning.

    --
    "I only speak the truth"
    Karma: null(Mostly affected by an unassigned variable)
    1. Re:CSS by NutscrapeSucks · · Score: 2, Insightful

      This is true for the most part. However sometimes you want content to stay on the page without doing a reload (perhaps there's a long database query or something). In that case frames/iframes are pretty much your only choice.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    2. Re:CSS by bofkentucky · · Score: 2, Informative

      or tags to include staticly generated content without aditional load on the server.

      --
      09f911029d74e35bd84156c5635688c0
    3. Re:CSS by NutscrapeSucks · · Score: 1

      How does that work exactly? I've never seen used with HTML content.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    4. Re:CSS by The+Mayor · · Score: 3, Informative

      In addition to using the tag, which is available only to IE users, you can also use tags and issuing requests to a hidden iframe that posts the results back to the parent window. Using the div tag approach, of course, still requires an iframe, but at least it's cross platform.

      --
      --Be human.
    5. Re:CSS by bofkentucky · · Score: 2, Informative

      Actually it is the reverse, NS7 and Moz1.8a1 render the object tag, which is valid HTML4.0 strict/XHTML1.0 strict perfectly

      NS4.80 does what it should when you can't render an object, render the content that the object surrounds

      IE6sp1 fails to render the object or the alternative, see for yourself here.

      --
      09f911029d74e35bd84156c5635688c0
    6. Re:CSS by bofkentucky · · Score: 1

      See here for an example of rendering one XHTML page inside of another.

      --
      09f911029d74e35bd84156c5635688c0
    7. Re:CSS by darkpurpleblob · · Score: 1

      Um, the object element is part of the HTML 4.01 specification.

  6. Didn't work on me by MachDelta · · Score: 3, Informative

    Meh, didn't work on me. I've got Firefox set up to open links in new tabs, so all that happened was the supposed "frame" from Secunia appeared in its own tab. The only way for a link to open within an existing tab is if A) I tell it so, and B) it originates from the same tab. So nyeh!

    1. Re:Didn't work on me by Ratbert42 · · Score: 1

      Me neither. Firefox 0.9 with nothing very special as far as configuration.

    2. Re:Didn't work on me by erykjj · · Score: 1

      I'll second that...

    3. Re:Didn't work on me by CableModemSniper · · Score: 1

      Worked on Firefox 0.8 for me

      --
      Why not fork?
    4. Re:Didn't work on me by nelsonal · · Score: 1

      I was a bit befuddeld by my lack of anything unusual until I realized I was clicking on my open page in new tab button.

      --
      Degaussing scares the bad magnetism out of the monitor and fills it with good karma.
    5. Re:Didn't work on me by Ianoo · · Score: 1

      Not sure whether it's the Slashdot effect or something genuine in FireFox 0.9, but the demo doesn't work for me.

    6. Re:Didn't work on me by Anonymous Coward · · Score: 0

      Mozilla 1.3b, same thing (tabs are good)

    7. Re:Didn't work on me by Anonymous Coward · · Score: 0

      If you RTFA, you'd see that Firefox 0.9 and above are specifically listed as not vulnerable to this, along with Mozilla 1.7.

    8. Re:Didn't work on me by TulioSerpio · · Score: 3, Informative

      The site says Firefox 0.9 is not affected.

      --

      I'm from Argentina: Tango, Asado, Mate, Gaucho, Maradona, YPF

    9. Re:Didn't work on me by Too+Much+Noise · · Score: 1

      Actually, on 0.8 it works for links opened in a new window and it doesn't for links opened in a new frame (the secunia injected frame gets its own window/tab).

  7. Fortunately, not every browser... by Anonymous Coward · · Score: 3, Funny

    Those of use using the Contiki web browser as our primary browser are still safe! Phew!

    1. Re:Fortunately, not every browser... by kwench · · Score: 1

      What about links? Is it affected? ;-)

      Lynx at least isn't - no frames -> no exploit!

  8. Re: MOD PARENT DOWN (FRAUD ALERT) by Anonymous Coward · · Score: 0

    See title.

  9. Wasted time. by BrookHarty · · Score: 3, Informative

    I'm sitting here trying to get this to work on IE, Mozilla and Firefox then I read the bottom of the page.


    The following browsers are not affected:
    * Mozilla Firefox 0.9 for Windows
    * Mozilla Firefox 0.9.1 for Windows
    * Mozilla 1.7 for Windows
    * Mozilla 1.7 for Linux


    All my browsers are allready patched! Even IE was patched.

    1. Re:Wasted time. by stienman · · Score: 2, Informative

      It worked on my Mozilla 1.7
      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514

      -Adam

  10. The report by k4_pacific · · Score: 5, Funny

    Type: Spoofing
    Exploit: Local
    Effects: All browsers

    Description:
    A 6 year old vulnerability has been discovered in multiple browsers, allowing malicious people to spoof the content of websites.

    The problem is that the browsers don't check if a piece of black electrical tape is on the screen covering the address bar, which prevents the user from identifying the source of content in the browser window.

    Successful exploitation allows a malicious website to load arbitrary content with its source masked by the black tape. The user cannot know if this is a trusted site.

    Solution:
    Remove the piece of electrical tape from the screen. Windex may be necessary to clean up afterwards.

    --
    Unknown host pong.
    1. Re:The report by new_confused_mind · · Score: 1

      Great post! LedMAO :)

  11. No Kidding! by blunte · · Score: 2, Funny

    Here I am feeling like a loser because I can't make the bug work.

    "Damnit! Even the stupid bugs and exploits don't work on this crappy machine!"

    --
    .sigs are for post^Hers.
    1. Re:No Kidding! by Mr.+Moose · · Score: 1

      Here's why: In the description it says that You should open a trusted website and opens MSDN as an example. If you don't trust Microsoft, then the site isn't trusted and the bug doesn't apply to you. Try with some Linux site instead.

  12. IE with proper security settings not affected. by bentfork · · Score: 3, Informative
    This is the same problem that is being exploited by banner ads setting cookies across domains.

    If you go to security settings in IE ( I've checked IE 6.x ) click custom level, and set "Navigate sub-frames across different domains" to prompt. You will get a nice little pop up warning.

    Now I can visit unsafe websites like microsoft.con

    1. Re:IE with proper security settings not affected. by new_confused_mind · · Score: 1

      > Now I can visit unsafe websites like microsoft.con

      Hmm, great idea for a new TLD. My nigerians friends will love it! :)

  13. Never heard of Secunia till today. by Anonymous Coward · · Score: 1, Interesting

    Frames-based cross-browser security vulnerability, or self-promotional alarmist press release by heretofore unknown consultancy?

    1. Re:Never heard of Secunia till today. by Crudely_Indecent · · Score: 1

      Frames have their purpose. I've built sites that utilize this 'security flaw' to achieve desired results. I agree with your opinion that this is a ploy to get a new consultancy in the public eye.

      lets see how accurate that is.....
      Record last updated 05-06-2004 01:07:26 AM
      Record expires on 08-16-2004
      Record created on 08-16-2002

      They've been around for almost 2 years...but if it's taken them this long to get in the news (even for such a trivial vulnerability as this), they're most likely trying to cash in on the attention that all of the other legitimate flaws have generated in recent weeks.

      --


      "Lame" - Galaxar
  14. Do not browse by Anonymous Coward · · Score: 0
    Note their official "advice": "Do not visit or follow links from untrusted websites."

    I can't find that anywhere on the story link (I think it's the story link). What I found says this, "Do not browse untrusted sites while browsing trusted sites." Which is very different.

  15. Untrusted sites? by jpsowin · · Score: 1

    Do not visit or follow links from untrusted websites.

    Is Slashdot considered "trusted" or "untrusted." You just never know what you are going to get when you click on some of these links.

    1. Re:Untrusted sites? by Anonymous Coward · · Score: 0


      > > Do not visit or follow links from untrusted websites.

      > Is Slashdot considered "trusted" or "untrusted."?

      Untrusted, I think.

      ;)

  16. "discovery" after fix!? by Xtifr · · Score: 1

    So, basically, they "discovered" this vulnerability after the major browser vendors had already fixed it!?! Wow, that is an amazing "discovery!" How do they do it? Y'know, next, maybe they can discover something really amazing and new, like, say, America! Or F=MA! :)

    1. Re:"discovery" after fix!? by gl4ss · · Score: 1

      basically they just wanted people to notice them by crying out wolf.

      well.. they got what they ordered all right.

      --
      world was created 5 seconds before this post as it is.
    2. Re:"discovery" after fix!? by EvanED · · Score: 1

      You know, not everyone upgrades to the latest browser version every time it's released. I'm running Mozilla 1.4 and it suits me fine. I'll probably go to Firefox when it hits 1.0. (Yes, I know it's quite nice now; I run it under FreeBSD. But psychologically I think I want to wait. :-p)

      So for people who don't feel like installing a new browser every month to stay on the bleeding edge, this is useful information so we can watch out for it.

    3. Re:"discovery" after fix!? by jesser · · Score: 2, Informative

      Several security holes have been fixed since Mozilla 1.4, including an arbitrary code execution hole. Please upgrade to Mozilla 1.7 or Firefox 0.9.

      Security holes are discovered and fixed in web browsers often. To be safe with any browser, you should upgrade when a new version is released, regardless of whether the release is accompanied by a security advisory regarding older versions.

      --
      The shareholder is always right.
    4. Re:"discovery" after fix!? by Anonymous Coward · · Score: 0

      I thought Mozilla 1.4x was the "supported" version that recieved security updates?

      Problem is that some Mozilla releases are buggy and/or change behavior. One shouldn't have to walk on the bleeding edge to avoid security holes. Bad news, especially for corporate installs.

    5. Re:"discovery" after fix!? by jesser · · Score: 2, Informative

      I thought Mozilla [1.4.x] was the "supported" version that recieved security updates?

      It was, until Mozilla 1.7 was released. Mozilla 1.7 is the new stable branch. Don't expect more 1.4.x releases.

      --
      The shareholder is always right.
  17. a null issue by TheSHAD0W · · Score: 2, Insightful

    There really isn't much difference between a transparent frame with a Java app intercepting access to a legitimate web page, and someone's creating a mock-up of the legitimate page; either way, the only real way to tell is the URL displayed in the address bar. Any real solution for one should work for the other.

  18. Fixed in Mozilla 1.7 and Firefox 0.9 by jesser · · Score: 5, Informative

    Lorenzo Colitti and I found the same hole several weeks ago, independently of Mark Laurence. I reported it to mozilla.org on June 11 and to Microsoft and Opera on June 16. I got different results from each browser maker:

    Mozilla (bugzilla.mozilla.org 246448) Fixed on June 14. Firefox 0.9 released with the fix June 14. Mozilla 1.7 released with the fix June 17. Opera (bugs.opera.com 145283) No response. Microsoft On June 21, I received an e-mail containing the following: "... is by design. To prevent this behavior, set the 'Navigate sub-frames across different domains' zone option to Prompt or disable in the Internet zone. We are trying to get this fixed in Longhorn ... on getting this blocking on by default in XP SP2 but blocking these types of navigations is an app compatibility issue on many sites." I usually don't get any response from Microsoft when I report security holes to them; I think I only got a response this time because I used my employer's premier support contract with Microsoft.

    Another cross-browser security hole I found (bugzilla.mozilla.org 162020) got similar responses from each browser maker: fixed in Mozilla 1.7 and Firefox 0.9; no response from Opera; confusing statement from Microsoft mentioning XP SP2. 162020 is an arbitrary code execution hole.

    --
    The shareholder is always right.
    1. Re:Fixed in Mozilla 1.7 and Firefox 0.9 by jrumney · · Score: 1
      I usually don't get any response from Microsoft when I report security holes to them

      You must be reporting them to the wrong place. Unlike other bugs I've tried to report to Microsoft and not even received an acknowledgement for, when I've reported security related bug, I've received a response the same day.

    2. Re:Fixed in Mozilla 1.7 and Firefox 0.9 by jesser · · Score: 2, Interesting

      When you report security bugs to Microsoft, how do you report them? My methods are in http://www.squarefree.com/archives/000374.html and a comment on the same page.

      --
      The shareholder is always right.
    3. Re:Fixed in Mozilla 1.7 and Firefox 0.9 by jrumney · · Score: 1

      The URL at the top is a wishlist, they probably never look at that, and if they do it is the wrong department. The last comment has the email address I used. They do respond quickly on that.

    4. Re:Fixed in Mozilla 1.7 and Firefox 0.9 by jesser · · Score: 1

      The URL at the top is a wishlist, they probably never look at that, and if they do it is the wrong department.

      I think you're right. But by including a "security" checkbox on the wish form, Microsoft makes it look like they might have received your message.

      The last comment has the email address I used. They do respond quickly on that.

      I wish it had been easier to find that address. http://www.microsoft.com/security/default.mspx doesn't have "report a vulnerability" anywhere. I found that address by reading a Microsoft blog!

      --
      The shareholder is always right.
    5. Re:Fixed in Mozilla 1.7 and Firefox 0.9 by TheLink · · Score: 1

      The best place to get a response when reporting a security bug is on Bugtraq. :).

      I've tried the "wait for vendor to fix it" method before, and the result was they fixed it in the next major release after a _long_ time, and customers who wanted the prob fixed had to pay to upgrade.

      --
  19. slashdot conspiracy by happyfrogcow · · Score: 0, Redundant

    This should be on the front page, not hidden back in developers, if only to make blind followers of $MY_ALTERNATIVE_BROWSER realize that they too are vulnerable, and not just MS.

    and now to complete the troll: Slashdot editors never argued that they were fair and just in reporting, so why should this be on the front page?


    The following browsers are not affected:
    * Mozilla Firefox 0.9 for Windows
    * Mozilla Firefox 0.9.1 for Windows
    * Mozilla 1.7 for Windows
    * Mozilla 1.7 for Linux


    interesting. what about 0.9x for Linux? it's not explicitly listed as confirmed.

    1. Re:slashdot conspiracy by mldl · · Score: 1

      Firefox on Linux is not affected, it won't be on Mac or any other platform. Why do they list Firefox 0.x as affected at the top and then list browsers not affected at the bottom where most people probably won't even get to? Shouldn't the affected browsers say something like 0.x before 0.9?

    2. Re:slashdot conspiracy by DLWormwood · · Score: 1
      This should be on the front page, not hidden back in developers, if only to make blind followers of $MY_ALTERNATIVE_BROWSER realize that they too are vulnerable, and not just MS.

      The sectioning was probably due to my choice of wording in the headline...

      --
      Those who complain about affect & effect on /. should be disemvoweled
  20. This may be exploited and is a real threat by aWalrus · · Score: 3, Informative

    Although it's true that this is "working as designed", it does present an interesting exploit scenario. Let's assume you visit evilguy's site, supposed to be a financial portal. From there, a list of links direct you to the (framed) pages of banks where you can run your operations.

    Now, evilguy's site has javascript code running that will detect when one of the interesting frames is available (frames that contain login info). It means that you're trying to log into your account at one of the bank sites. What it does is serve you a facsimile that looks exactly like the original login screen, except this one sends the info to evilguy's site.

    When your login info is in evilguy's database, he just sends it to the bank and replaces the frame again with the content the bank returned. Voila! Successfully executed framejacking to invisibly steal your login info.

    This might be serious.

    --
    Overcaffeinated. Angry geeks.
    1. Re:This may be exploited and is a real threat by Anonymous Coward · · Score: 1, Informative

      yay man in the middle attacks! good point, poster.

    2. Re:This may be exploited and is a real threat by LincolnQ · · Score: 1

      Well, people have always been using tricks to get you to go to pages like "http://www.paypal-secure-transfer.com" and type in your password by making the page look just like PayPal's. The whole point of SSL is that the pubkey you're encrypting with is supposed to be signed by a trusted CA so that you know there ISN'T a man-in-the-middle attack.

      There's no difference between the scenario the parent describes, and somebody simply mirroring PayPal's front-end while stealing your info on the backend. If the URL doesn't say https://www.paypal.com and you don't have SSL encryption (usually with the little lock icon in the corner) then you have no business entering any info.

      To me this is nothing at all.

    3. Re:This may be exploited and is a real threat by aWalrus · · Score: 2, Interesting

      Except where you can do this with real sites, without the need to spoof a whole site. If the *real* site uses frames in the design, you can just change that frame, not the whole site. The "link list" I suggested was just to increase the likelihood that the sites in question are opened.

      --
      Overcaffeinated. Angry geeks.
    4. Re:This may be exploited and is a real threat by Anonymous Coward · · Score: 0

      there are some real world demos for internet explorer constructed, switch off any popup blocking devices to see the effects

      http://www.malware.com/punk.html
      http://www.malware.com/targutted.html

    5. Re:This may be exploited and is a real threat by BitterOak · · Score: 1
      Ah, but the key difference is that if you spoof someone else's site, you can't spoof their certificate unless you can somehow get ahold of their private key. With this frames approach, even if the user checks the certificate, it still looks good, and he may think he has a secure, encrypted connection to his bank.

      True that many users don't check certificates, and to those, this will make little difference, but some people do.

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
    6. Re:This may be exploited and is a real threat by Anonymous Coward · · Score: 0

      That wouldn't work as described, because JavaScript from one site cannot access another site in another frame (at least, not in IE). It can't even get the URL.

      However, there are other ways to do that sort of thing that does not require JavaScript. Such as screen scraping into ASP pages, for example. But then, that doesn't require frames, or anything suspicious going on in the client (other than a wrong URL).

  21. Summary and fix... by stienman · · Score: 1

    The report simply says that a frame is global to all browser windows, so if I open a site with a frame named "fraRightWindow" and then click on a link in another window that tragets that frame name it'll change that frame even if the sites are completely unrelated.

    The obvious vulnerability is that the page exploiting this needs to know the frame name.

    If you use dynamic frame names (even just change them statically every day or every few hours) then you have little to worry about.

    Unless, of course, your particular browser's DOM allows any window to look at resources in another window. This is something I don't know about, but I suspect that's the only other way to exploit this if you don't already know the name of the frame.

    -Adam

  22. Tabbed Browsing by Anonymous Coward · · Score: 1, Informative

    I just checked - indeed - works in Netscape 7.1 and doesn't in Firefox 0.9.1. However, it doesn't work anymore in Netscape if you open the page as a tab instead of another window. Somehow tabs don't work very well with frame names, at least in Netscape.
    It's actually implementation issue - for most browsers - letting other pages swap frames in framesets that don't belong to them. Whoever said that frames don't have owners - it's not quite true - frames are hierarchical to some degree, so it's not so difficult to figure out - see Firefox if you need a proof.

  23. Re: MOD PARENT DOWN (FRAUD ALERT) by gcaseye6677 · · Score: 1

    Like the Tripod URL wouldn't be a dead giveaway. Anyone who falls for this deserves to lose all their money.

  24. Does not work with firefox .9.1 on SPARC Solaris 8 by crotherm · · Score: 1


    The test page did push data to the opened MS window.

    Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20040629 Firefox/0.9.1

    Nothing to see, move along...

    --
    "Those who make peaceful revolution impossible, make violent revolution inevitable" - JFK
  25. Re:Does not work with firefox .9.1 on SPARC Solari by crotherm · · Score: 1

    The test page did push data to the opened MS window.

    Did NOT push data..

    --
    "Those who make peaceful revolution impossible, make violent revolution inevitable" - JFK
  26. Of concern by oldstrat · · Score: 1


    I am curious how long this problem has been around.

    I checked and duplicated the problem on Netscape 7.1 and Firefox .8
    However the problem does not exist with Netscape Communicator 4.8 and probably never has since I recall the original Netscape documentation containing information on security that frames could only be changed by frames from the same domain.

    Anyone running IE with the current help file keylogger problem is asking for worse than spoofing.

    Somebody broke something, after the version 4 browsers and the fix is not to get rid of frames, but repair the dom model in the browsers.

  27. It Does not affect FireFox 0.9.1 by freakyfreak · · Score: 2, Interesting

    I just ran their test and it did not work on me. It loaded the page in a new tab instead of the MSN frame. I have Tabbed Browser Extensions installed with nearly everything set to open in a new tab.

    I'm not sure what setting it is. I've done everything but disable the extension and it still opens in a new tab instead of the frame. So looks like they did not do very extensive testing.

    I also tried it on a Windows 98 computer with a fresh install of FireFox 0.9.1 with no extensions installed and it doesn't work again. When I click on the link to open the test page it just does nothing. I tried it with the msn site opened in a new window, a new tab and a new tab in a seperate window. Still nada.

    It looks like FireFox 0.9.1 is not affected. Can anyone else reproduce my results?

  28. Frames, new fangled rubbish by DrSkwid · · Score: 1

    You insensitive clods, my web browser doesn't even have tables, let alone frames.

    It was something Tom Duff wrote at Bell Labs before moving on to Pixar.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  29. Nevermind by freakyfreak · · Score: 1

    I guess I should Read the Whole Fucking Article next time. I just read down far enough to test the link. I saw at the begining it listed FireFox 0.X....

  30. I just found another bug existing in all browsers by Stevyn · · Score: 1, Funny

    This affects all browsers I've tried it on. When you click in a "hyperlink" it brings you to a page without asking you specifically if you would like to switch pages. Things to watch out for is the mouse pointer changing to a finger. In fact, if you pointer does change to a finger, you're probably vulnerable. The most shocking aspect is even Lynx is vulnerable to this web bug.

  31. Ubiquiness? by Principal+Skinner · · Score: 1

    Gotta add that word to my dictionary!

    --
    one hundred twenty
    is just enough characters
    to write a haiku
  32. IE TROUBLES by script_scorpion · · Score: 1

    To me IE is the vulurability.

  33. it's not just for IE by WarMonkey · · Score: 0

    It's not just for IE. I tried the posted example page just now in Firefox 0.8 and the HTML object was displayed just fine.

    --
    -- I could tell right away that she was impressed with my HUGE Slashdot Karma.
  34. Re:Ubiquiness??? -- Perfectly Cromulent ! by ericspinder · · Score: 1

    You (Principal Skinner), of all people should know that Ubiquiness is a perfectly cromulent word. Of course it is very similar in meaning to another word: 'ubiquitousness'.

    --
    The grass is only greener, if you don't take care of your own lawn.
  35. Re:Ubiquiness??? -- Perfectly Cromulent ! by Principal+Skinner · · Score: 1

    "cromulent"... there's another word I never heard before I came to Springfield.

    --
    one hundred twenty
    is just enough characters
    to write a haiku