Slashdot Mirror


Spoofing Flaw Resurfaces in Mozilla Browsers

GregThePaladin writes "A 7-year-old flaw that could let an attacker place malicious content on trusted Web sites has resurfaced in the most recent Firefox browser, Secunia has warned. The flaw, which also affects some other Mozilla Foundation programs, lies in the way the software handles frames. The applications don't check whether the frames displayed in a single window all originate from the same Web site." Commentary on this at whitedust as well.

23 of 258 comments (clear)

  1. Exploits? by /ASCII · · Score: 4, Insightful

    The number of Firefox vulnerabilities that have been exposed is frightening. But I wonder when the first actual exploit will be found...

    --
    Try out fish, the friendly interactive shell.
    1. Re:Exploits? by /ASCII · · Score: 3, Insightful

      Got any links to sites describing real, live firefox exploits and the problems they've caused?

      --
      Try out fish, the friendly interactive shell.
    2. Re:Exploits? by ZephyrXero · · Score: 4, Insightful

      frightening??? I'm a big fan of open source, and i'm actually pretty amazed the number has been so small. It's just about the first open source program to really become popular and I think Mozilla's doing a damn find job of keeping up with the hax0rz...

      --
      "A truly wise man realizes he knows nothing."
    3. Re:Exploits? by rubycodez · · Score: 2, Insightful

      really? I'd say the number is very tiny given the size of the code. On the other hand, given the age and size of a certain other browser, the number of vulnerabilities and the number of known exploits is HUGE, as is the estimated cost of damage done to business.

  2. Good the flaws are being found so quickly but... by It+doesn't+come+easy · · Score: 2, Insightful

    Recycling old bugs...I have to say that the Mozilla code base is losing some credibility with mistakes like this. Seems like a code audit is called for guys...

    --
    The NSA: The only part of the US government that actually listens.
  3. Re:Old news. by MankyD · · Score: 3, Insightful
    Frames suck, and you deserve to cause problems if you use them.
    It's not about bad design inadvertently causing problems - it's about malicious code intentionally causing problems.
    --
    -dave
    http://millionnumbers.com/ - own the number of your dreams
  4. Re:Good the flaws are being found so quickly but.. by /ASCII · · Score: 4, Insightful

    Saying the bug resurfaced is not completely true. This bug was removed from the old Netscape rendering engine, and reintroduced when replacing it with the new and fancy Gecko rendering engine. Apache also reintroduced a number of bugs when switching from 1.3 to 2.0, I belive. That is one of the many prices you pay when rewriting old code from scratch.

    --
    Try out fish, the friendly interactive shell.
  5. Re:what about tabs? by farker+haiku · · Score: 2, Insightful

    I use the tabbed browsing extension that disables all of that bullcrap. Find it. Love it. /too lazy to google it for you.

    --
    Your sig(k) has been stolen. There is a puff of smoke!
  6. Re:Old news. by ZephyrXero · · Score: 4, Insightful

    it's actually nothing to do with malicious code...it's just that someone could make an easy fake site with frames... I'm sure there are some sites that legitimately use this feature with differnt parts of their site hosted on different servers...What's next? Ban sites that use offsite graphics?

    --
    "A truly wise man realizes he knows nothing."
  7. Disappointed in QA for browsers by null+etc. · · Score: 4, Insightful
    I must say that there should be a clean, concise list of security flaws that should never appear within a web browser, and each browser should be forced to undergo testing against that list before being released.

    To have such fundamental flaws appear, whether by accident or negligence, is unacceptable.

    Furthermore, the browser "industry" and the commercial sector NEED to come up with some guidelines as to how to promote and ensure online security for financial transactions and personal data.

    For example, it's almost impossible for the casual or sophisticated user to easily determine whether a frame that appears within a website actually belongs to that website, or another. For example, if you have an online account with MBNA credit card, and make an online purchase, some vendors will display an MBNA authentication page which asks you to login to your online account to verify the purchase.

    The problem is that this authentication page appears as a frame within the online vendor. How can you tell whether that frame is a legitimate MBNA page, or just a clever phishing attack? The browser gives no indication as to whether the frame belongs to MBNA or the vendor.

    PayPal suffers from the same thing. I hate clicking on the "Make a Donation" button of some sites, and then seeing the PayPal login appear within a frame of the original site. That prevents me from making a donation - with today's complicated scripting invocations and what not, I don't feel trusting enough to type my account info and password into some frame which happens to appear in the middle of some other organization's website.

    I can't BELIEVE that MBNA and PayPal would promote such idiotic practices, much less allow them to happen.

    1. Re:Disappointed in QA for browsers by fbartho · · Score: 3, Insightful

      I think the way that paypal expects sites to use their automated pages is to redirect the whole window, because at the end of the process paypal usually sends you back to a page on the original site, usually a thankyou/confirmation page. When people use the frames, they are probably doing it against paypal's directions, because otherwise, why would paypal redirect back to the original site?...

      --
      Gravity Sucks
  8. Re:So secure by ZephyrXero · · Score: 3, Insightful

    " Oh, damn IE for being so insecure. Wait, this is about an Open Source browser---damn IE for being so insecure!"

    There will never be such a thing as a 100% secure browser. It's all about which one is "more" secure... Even with the holes found in Firefox it's still many times safer than IE. Not only that, but these holes are usually patched in a matter of days, while with MS your lucky if it gets fixed in a few months.

    --
    "A truly wise man realizes he knows nothing."
  9. Re:So secure by camcorder · · Score: 2, Insightful

    You can dump FireFox if you want not to use it because of security problems. But what's your chance with IE?

  10. +5 Troll by 3770 · · Score: 1, Insightful

    I wish I had mod points.

    I'd help you on the way to be a +5 Troll (I'd just vote underrated).

    While the language is harsh, you are right. Frames do cause problems.

    They sound good, but they bring problems with them.

    --
    The Internet is full. Go Away!!!
  11. Trusted and untrusted sites? by Gary+W.+Longsine · · Score: 2, Insightful
    From TFA:
    "For a spoofing attempt to work, a surfer would need to have both the attacker's Web site and a trusted Web site open in different windows. A click on a link on the malicious site would then display the attacker's content in a frame on the trusted Web site, Secunia said. The company advised people not to visit trusted and untrusted Web sites at the same time."
    The whole notion of a trusted web site is bogus. Many large and popular web sites are not maintained well enough to prevent them from getting defaced now and then.

    The whole terminology used for web sites belies the myth of a trusted web site.

    Web sites are placed on "sacrificial hosts" in a "DMZ". Web sites are not trusted by the people who build them and never have been. If the owner of a web site doesn't trust it, why should you?

    A victim would never need to visit an "untrusted" web site, because this defect could be coupled with others (exploit chaining). It's even been done before with other defects, notably Download.ject.
    --
    If you mod me down, I shall become more powerful than you could possibly imagine.
  12. Before (and after) you start yelling at Firefox.. by ilyanep · · Score: 2, Insightful

    Now...take how many bugs have been exposed in Firfox and how many have been exploited.

    How many bugs have been exposed in IE and exploited? (Especially because for IE it's almost a 1:1 ratio)

    --
    ~Ilyanep
    To get message, take amount of carrier pigeons at each stage mod 2. Then decode binary.
  13. problem not described quite correctly by cahiha · · Score: 3, Insightful

    The applications don't check whether the frames displayed in a single window all originate from the same Web site.

    And they shouldn't check that because often frames do not originate on the same web site (e.g., Google, Hotmail). The problem is if you try to frame something low security inside something high security; the other direction is OK.

    What they should check (according to Secunia) is something different: when code attempts to put content into a target, the browser should check whether that code actually created that frame and otherwise refuse.

    A simple way of fixing this problem might be to prefix the name of any frame with the host that created it, so that "target=foobar" actually means "target=www.host-of-this-page.com::foobar"; that also helps avoid confusing name conflicts between web sites. But that suffers from the same problem as anything else that relies on host names: you can't tell which ones are supposed to "belong together".

    Alternatively, you might require that if any frame in a window uses https, then all of them must, and they all must use the same certificate.

    The best solution is probably just to abolish frames altogether; they cause many other problems as well.

    A slightly less drastic solution would be to prohibit the display of any https content in a frame.

  14. Re:Old news. by MankyD · · Score: 4, Insightful

    The problem is not offsite graphics. The problem is controlling one webpage with an offsite webpage. This should never ever ever ever be allowed for obvious reasons. From TFA: "As a result, an attacker could insert content into a frame on a trusted Web site." (read that: "a website can modify the contents of a trusted website".)

    There is absolutley no reason anyone should ever use this exploit for legitimate reasons. Yes, I can think of a few times it would be great if one website could help someone fill out another websites forms - but its not neccessary. If someone really wants to do that, they should attain permission and do it via GET or POST vars, or some serverside communication.

    A website should still have control over what page is being shown in its frames, but not over the content of those pages directly.

    --
    -dave
    http://millionnumbers.com/ - own the number of your dreams
  15. you misunderstand the problem by cahiha · · Score: 3, Insightful

    The problem is not that different frames can come from different sites. The problem is that one site can change the existing content of a frame that is already being displayed.

    So, if you do banking in one window and you then open up a malicious site in another, the malicious site can change the content of a frame in your banking window. That's not "faking", it's something worse.

    I can't think of a legitimate use for that "feature" in a real application, and the fact that it didn't use to work suggests that sites aren't relying on it.

  16. Re:Old news. by Heisenbug · · Score: 2, Insightful

    Sorry if I'm misunderstanding you, but I think you have it backward. They're not saying that hack.ru could have a frameset that pointed to a frame with a real ebay page. They're saying that if ebay had a frameset, hack.ru could use javascript to insert itself as one of the frames. That is indeed a security hole -- unless you want to claim that it's one of those extra features that differentiates Firefox from Safari and IE ...

  17. Re:So secure by Mant · · Score: 3, Insightful

    IE has this issue, want to bet which browser will fix it first? (hint, Mozilla fixed it before)

  18. Alas, Frames aren't going anywhere. by PHP+Addict · · Score: 3, Insightful

    "...perhaps Mozilla should just take the lead on this and remove frame support entirely."

    As much as I hate frames (oh GOD do I hate frames!), this would be a step back for FireFox and its proponents. One of the largest arguments for using non-IE browsers is compatibility with standards. Frames are in the HTML 4.01 standard, and therefore, removing support would be incredibly hypocritical.

    --
    Laziness, check. Impatience, check. Hubris, double check!
  19. Re:Old news. by VitaminB52 · · Score: 3, Insightful
    WHO CARES, no one uses frames on their websites anymore, frames are obsolete

    Gimme 1.00 $ for each website using frames, and 'll never have to work again ...