Slashdot Mirror


New Vulnerability Affects All Browsers

Jimmy writes "Secunia is reported about a new vulnerability, which affects all browsers. It allows a malicious web site to "hi-jack" pop-up windows, which could have been opened by e.g. a your bank or an online shop. Here is a demonstration of the vulnerability"

126 of 945 comments (clear)

  1. Sniff, our little browser's all grown up... by coupland · · Score: 2, Insightful

    Thank goodness we've found our first vulnerability in Firefox. Now we can move from the myth that free software is impervious to exploits, and into the reality that vulnerabilities are acknowleged and patched faster in most free software projects. Gentlemen, synchronize your watches. Will the Firefox team have a fix out before Microsoft even admits it's a bug?

    1. Re:Sniff, our little browser's all grown up... by Indy+Media+Watch · · Score: 5, Insightful

      Now we can move from the myth that free software is impervious to exploits

      Uh, who was saying that?

      --

      Indy Media Watch-Proctologist of the Internet

    2. Re:Sniff, our little browser's all grown up... by Frogbert · · Score: 4, Insightful

      What are you talking about? Firefox has always had bugs, why do you think we get security updates? The difference, as we will soon see, is that the Firefox will have a patch weeks, or perhaps months before IE.

    3. Re:Sniff, our little browser's all grown up... by Anonymous Coward · · Score: 2, Interesting

      Firefox has already had several vulnerabilities, like the fake chrome site problem that let a misbehaved person fake an entire browser window (including all the security controls) using XUL. In that particular case, the reporter grew frustrated that his bug reports went unheeded for years in Bugzilla; he only got his way by making front-page news.

      Mozilla, being an organization that develops an application collectively, falls prey to committee thinking. If enough people can shout you down on Bugzilla, your opinions don't matter and you get disillusioned.

      The only worse part is that IE eliminates the middle man: bug reports to Microsoft are almost always met with silence instead of Mozilla's "Marked as DUPLICATE of a WONTFIX bug" responses.

    4. Re:Sniff, our little browser's all grown up... by kaiser423 · · Score: 4, Funny

      No, it's still impervious, the exploit didn't work on my system. Sorry, OSS still has a 100% perfect, virignal, like freshly-fallen snow track record. /sarcasm No one ever said any of those things, and I doubt that anyone believes them, so get off your high-horse.

    5. Re:Sniff, our little browser's all grown up... by deathazre · · Score: 2, Interesting

      I had a popup about a week ago.
      on firefox.
      in gentoo.
      going between pages on slashdot.

      wtf?

      --
      Karma: Negative (Mostly affected by dorm trolling)
    6. Re:Sniff, our little browser's all grown up... by Joseph_Daniel_Zukige · · Score: 2, Informative
      Is this a fault with the browsers, or the scripting language?

      User error.

      Shoot, Secunia's making a big deal about this, and I guess maybe people need to be reminded from time to time, but it's like Secunia says --

      Don't go to your bank with a hitchhiker. Shut your stupid browser down before you get out your passwords, account numbers, etc. Close every browser window. Then open a fresh, blank window and proceed.

      (Which is one reason there should be no default page setting for a browser.)

      Expecting your browser to sandbox every browser window separately is a little like expecting Superman to escort you through the projects every time you go for a walk over lunch. Browsers and OSses on desktops have not even begun to approach the paradigms necessary for that kind of protection, and it's questionable whether the average user could remember whatever protocol could be invented anyway.

      Just shut your browser completely down before you go to a secured site.

    7. Re:Sniff, our little browser's all grown up... by Anonymous Coward · · Score: 2, Funny

      You obviously typed emerge coolwebsearch at some point.

    8. Re:Sniff, our little browser's all grown up... by FireFury03 · · Score: 2, Insightful

      Thank goodness we've found our first vulnerability in Firefox

      First? There have been plenty of other FireFox vulnerabilities in the past, however they have all been fixed extremely quickly once discovered (i.e. within a day or 2).

      All software has security holes in it, get over it - the difference is that the Mozilla Foundation have a habit of fixing them as soon as they find out about them whereas Microsoft have a habit of waiting for many months before bothering to fix them even if they are being actively exploited.

    9. Re:Sniff, our little browser's all grown up... by lauwersw · · Score: 3, Insightful

      It is vulnerable, but not when you open the link in a new tab, only when you open a new window. So when you enable Single Window mode, you should be pretty safe.

    10. Re: Sniff, our little browser's all grown up... by Alwin+Henseler · · Score: 2, Insightful
      It is vulnerable, but not when you open the link in a new tab, only when you open a new window. So when you enable Single Window mode, you should be pretty safe.

      Using Firefox 0.8 on Win98SE here (/ducks to avoid rotten tomatoes... ;-), the only way I can get it to work is by left clicking on the upper of the 2 links (the one meant for "With Pop-up Blocker"). That is with popups blocked in Firefox settings, but without any popup-blocking extensions installed. I can't get it to show with either link, if I select "open in new tab" or "open in new window" from the context menu's (right click).

      As expected: disable JavaScript, and... popup window (on CitiBank site) doesn't work, exploit doesn't show.

    11. Re:Sniff, our little browser's all grown up... by mrogers · · Score: 4, Informative
      Yes, the bug is in Javascript rather than the browser, but that doesn't mean specific Javascript implementations can't be fixed. You could, for example, only allow scripts to modify windows originating from the same domain as the window running the script. Actually I thought this was already the case, but I guess there's a loophole where popup windows are concerned.

      BTW Javascript has nothing to do with Java except the name.

  2. All your typos... by Indy+Media+Watch · · Score: 4, Funny

    Jimmy writes "Secunia is reported about a new vulnerability"

    And in other news, Slashdot is reported all about a new grammatical error in the headlines.

    Reporting anyone?

    --

    Indy Media Watch-Proctologist of the Internet

    1. Re:All your typos... by NMerriam · · Score: 4, Funny

      Grammatical errors on Slashdot? That's unpossible!

      --
      Recursive: Adj. See Recursive.
  3. Not quite hijacking by fembots · · Score: 3, Interesting

    I opened Secunia, Then open another browser window to Citibank via Ctrl+N, and click on Citybank's Consumer Alert button, nothing happened.

    But if I used the link from Secunia to access Citybank, the Popup is then hijacked.

    So it seems like you need to access (click on a link to) your trusted site via an untrusted site to get hijacked?

  4. no problem here... by jxyama · · Score: 4, Informative

    mac os x 10.3.6... running safari 1.2.4 (the latest build.)

    1. Re:no problem here... by Otter · · Score: 3, Interesting
      Same here -- the popup was hijacked in Mozilla 1.6 but my rather ancient Safari 1.0.3 put up the correct Citibank window.

      We haven't heard from any Konqueror users yet (and the modem in my Linux box is broken so I can't check it myself). Is the immunity a khtml thing or was it Apple?

    2. Re:no problem here... by undertow3886 · · Score: 5, Informative

      No problem on Konqueror 3.3.1. On their site though, they said the Konqueror version they found the problem in was a 3.2 version.

      --
      Sick of people knocking on Gentoo's greatness in completely unrelated .sigs? Me too!
    3. Re:no problem here... by Che+Guevarra · · Score: 3, Funny

      Doesn't seem to work on Cyberdog, but the OpenDoc community isn't as large as it used to be, so we're probably safe.

    4. Re:no problem here... by Too+Much+Noise · · Score: 4, Informative

      Exactly - in particular unchecking the "allow scripts to change images" option 'fixes' the problem (firefox 1.0)

    5. Re:no problem here... by afidel · · Score: 2, Insightful

      Funny enough that was the lone script permission that I still had checked because mouseovers were the one script action that I thought would be rather benign, now scripts aren't allowed to do much of anything in my browser =)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    6. Re:no problem here... by Anonymous Coward · · Score: 2, Funny

      Are you the person at Microsoft who suggested manually typing in the URLs as a work-around for that IE exploit?

  5. Re:I don't get it by serps · · Score: 2, Informative

    The exploit worked for me (FF1.0 win2k). I clicked on the "with popup" link, FF blocked a popup, but a new window spawned with Citibank. I clicked on the link I was told to, and up came the 2nd hijacked popup.

    --
    "Einstein argued that [...] God is not capricious or arbitrary. No such faith comforts the software engineer." ~ Brooks
  6. Demo don't work by bigberk · · Score: 2, Funny

    the demo come up blank. all i see is a window called (Untitled) (and the globe spins then dies)

  7. Safari test by sg3000 · · Score: 4, Informative

    I tried the test in Safari 1.2.4 under Mac OS X 10.3.6. I had pop-ups blocked, the normal way I set my browser. Doing the test, I saw the Citibank site fine. When I clicked on the "Consumer Alert" button, it looked like the regular Citibank content. No problem there. I refreshed and clicked on the other "try this test" link, and there still was no problem.

    When I turned off the pop-up blocking feature, then when I tried the test, I did see a pop-up from the Secunia site instead of the Citibank text. Now that's a problem.

    Clearly, this is just another reason to block pop-up windows.

    --
    Insert simplistic political, ideological, or personal proselytization here.
    1. Re:Safari test by buckhead_buddy · · Score: 3, Insightful

      I was running Safari 1.2.3 (v125.9) which isn't quite the current version, but pretty close.

      I can confirm this works when the "Block Pop-up Windows" in the Safari menu is disabled, but not when the Blocking option is enabled. Rather than just a "me too", I went through the demonstration in reverse order of the previous poster (and was careful to refresh and follow the appropriate links) so I don't think this behavior is due to caching issues.

      While I do hope there will be a fix for this soon, IMHO, the more appropos fix is that secure sites should not EVER rely on popups.

  8. Re:I don't get it by Caine · · Score: 5, Informative

    Did you actually follow the instructions? That is: Did you click on the image on the citibank-page, thereby giving you a third window? It doesn't sound like it from your comment.

    And the exploit worked just 'fine' on my firefox 1.0.

  9. It's called "Slashdotted" by mark-t · · Score: 2, Funny

    You must be new here.

    1. Re:It's called "Slashdotted" by pugugly · · Score: 2, Funny

      The ultimate anti-phishing scheme - post every new phishing scheme and URL on Slashdot,

      wait for 10,304,345 hits in the next five minutes as people post "x" in vulnerable "!X" is clear . . .

      server goes down

      Profit!

      --
      An Invisible Entity of Vast Power whose existence must be taken on faith alone: Liberal Media
  10. Works for me by HFShadow · · Score: 3, Informative

    I reproduced this successfully on Firefox 1.0 under Linux.

    1. Re:Works for me by Porn+Whitelist · · Score: 3, Funny
      Not here - mind you, nothing's happening - it's slashdotted.

      Security through server meltdown?

  11. not irider by FrenZon · · Score: 2, Informative

    Well, it didn't affect irider, which is IE-based, presumably because it opens popups in its own (excellent) 'tree-tab' system.

  12. All browsers?!? by localman · · Score: 4, Funny

    I just don't believe it. Anything -- even an exploit -- working in all browsers would be unprecedented!

  13. Nyeh by c0dedude · · Score: 3, Informative

    It's a vulnerability, but it's the correct behaviour. Browsers should open the window in the target pop-up window, even if the page opening the page does not own that window, as I recall. As they say, that's no bug...

    --
    Since when has this country used intellectual elite as a pejorative term?
  14. Re:I don't get it by linguae · · Score: 3, Informative

    The exploit worked for me on Firefox 1.0 on Windows 98 SE with pop-up blocking turned off, but the exploit didn't work for me when pop-up blocking was turned on.

  15. Not so bad... by Bagels · · Score: 2

    This only worked for me when I left-clicked, like they said. I'm so used to FireFox now that it was second nature for me to open the Citibank site in a new tab, and the exploit failed to work then.

    --
    --- Bwah?
  16. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  17. jack pot by loid_void · · Score: 4, Funny

    i did it using safari, got citibank, i have no account but was able to transfer $100 million into an offshore account. That was some test

    --
    Anyone seen my jagged little pill?
    1. Re:jack pot by Corbin+Dallas · · Score: 2, Funny

      got citibank, i have no account but was able to transfer $100 million into an offshore account.

      Wow, did you get an email from Yassir Arafat's widow too? I'm still waiting for my cash transfer.

      --
      Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote.
  18. Re:I don't get it by Frizzle+Fry · · Score: 4, Informative

    The fact that everyone is confused is an indication that their instructions suck. "Step one" is click on a link in the citibank site that you haven't visited yet. "Step two" is actually visiting the citibank site. And then "step three" is a no-op; the space for that step is instead used to discuss whether you are vulnerable. (Presumably, step five is "profit!!!"). Who came up with this and what planet are they from where this is a logical sequence of instructions?

    --
    I'd rather be lucky than good.
  19. Not the first Firefox vulnerability by Chuck+Chunder · · Score: 4, Informative

    The first since 1.0 maybe, but certainly not the first outright.

    As far as I can tell the problem is fixed in the latest Opera beta so they might be able to get it into a proper release pretty soon too.

    --
    Boffoonery - downloadable Comedy Benefit for Bletchley Park
  20. Re:It doesn't affect Safari by narratorDan · · Score: 5, Informative

    Actually it does effect Safari, but you have to jump through hoops to get it to work.
    After you have clicked on the link, you have to refresh the Secunia page, then it will work. It's kinda strange, but I guess it is a vulnerability. Kinda like walking back and forth through a bad neighborhood while counting your cash.

    NarratorDan

    --
    "If you're not confused by quantum mechanics, you really don't understand it." - Niels Bohr
  21. Re:Doesn't work for me by TheViciousOverWind · · Score: 4, Informative

    Funny, I've tried this in Internet Explorer 6.0 and Mozilla 1.7, but I could only get it to "work" in Mozilla.

    In Internet Explorer I pressed "With popup-blocker" (Google Toolbar) and up came Citibank, then I pressed the Fraudulent E-Mail button, and up came CitiBanks popupwindow, first when I closed the popupwindow the "This was hijacked" window appeared (as if triggered by the window.onclose function) but that does not strike me as a gigantic security-hole.

    Of course the issue in itself is scary, but I'm confident the Mozilla team will have a patch out in no time.

    This should probably serve as a reminder to webmasters out there, that if you want users to trust content you provide in popup-windows eg. for creditcard payments, you should provide the address-bar, and if the creditcard processing takes place on another server, explain to the customer before he clicks "pay by creditcard" why the window will load from another server.

    --
    My <1000 UID is with a hot chick
  22. Here's how it works by sbszine · · Score: 5, Insightful

    The links to Citibank from the Secunia site are actually handled by JavaScript. The script sets a timer, then opens citibank. Every second or so, Secunia's script then checks whether you've opened Citibank's pop-up. If you have, it opens a window with the same name (i.e. variable name) as Citibank's window, thus overwriting their content.

    So the attacker doesn't need you to click on anything, they just need you to have their site open -- with the timer going -- in another window. Also, the attacker needs to know in advance what name the victim site's pop-up is referenced by. A dynamically generated name could possibly defeat this attack, though the attacker could always crawl the DOM for a handle to the pop-up.

    --

    Vino, gyno, and techno -Bruce Sterling

    1. Re:Here's how it works by drew · · Score: 2, Insightful

      A dynamically generated name could possibly defeat this attack, though the attacker could always crawl the DOM for a handle to the pop-up.

      I doubt it. If any browser allows you to look at the DOM of a page from a different site, that is a far greater security hole than what they are demonstrating.

      --
      If I don't put anything here, will anyone recognize me anymore?
    2. Re:Here's how it works by crazyphilman · · Score: 2, Insightful

      Is this even a vulnerability?

      Evil site A helpfully offers a link that opens Good site B. If a user clicks the link and opens Good site B, Evil site A waits for the user to open a predictably named popup from Good site B, then reaches down through the DOM (using code on Evil site A) and alters the URL of the popup, bouncing you to their Evil popup.

      Big whoop -- this is permitted by Javascript's security model, you know -- the parent window "owns" the child window, thus it can access it and do weird things. Theoretically, it could change the source of images, and do other arty things too.

      I don't understand why any of this is considered a big deal. Who's going to go to some hacking site and open a link to their bank? Any scenario in which this sequence of events could happen seems pretty farfetched to me.

      I dunno... I guess they could try and send you a phishing mail or something, and a really dopey user could click on a link to the phishing site and get screwed, but then, wouldn't it be easier to just phish from the crooked site linked from the email? Why would you need to worry about popups at all?

      Nah... I don't see this as an issue. Nothing much here.

      --
      Farewell! It's been a fine buncha years!
  23. I think I've solved it. by khasim · · Score: 4, Informative

    FF 1.0 on Win2K.

    Middle-click to open citibank page in new tab YOU WILL NOT BE VULNERABLE.

    Left click and allow citibank page to open in new window YOU WILL BE VULNERABLE.

    At least, that's the behaviour I see on this box.

    1. Re:I think I've solved it. by hobo2k · · Score: 2, Informative
      That may just be a (fixable?) bug in the implementation of the exploit. Try this: Middle click to open Citibank, click the alert (not vulnerable yet). Go back and left click to open another Citibank. The switch tabs to the alert popup. The alert page now refreshes with the secunia payload.

      Personally, I wouldn't mind it if firefox completely removed the ability for separate pages to script each other. This would break a bunch of sites. But I hate pop-ups anyway.

      Also their advice is sound: "Do not browse untrusted sites while browsing trusted sites". Or put another way: restart your browser before and after going to a bank's website.

    2. Re:I think I've solved it. by brunogirin · · Score: 2, Insightful

      I tried this on Firefox 1.0 on Win XP and you are correct. If you open the Citibank page in a new window, you are vulnerable; if you open it in a new tab, you are not. This is potentially important info to provide the FF team so that they can fix the bug quickly.

    3. Re:I think I've solved it. by mrogers · · Score: 2, Interesting

      Probably because if you open the window in a new tab it's a child of the main window, while the exploit is looking for a top-level window. BUT THAT DOESN'T MEAN YOU'RE SAFE! A better-written version of the exploit could search all open windows and their children until it found a window or tab with the right name.

  24. Once again, why needless use of Javascript is BAD! by wowbagger · · Score: 4, Insightful

    This all boils down to a Javascript vulnerability.

    If web masters would stop NEEDLESSLY using Javascript to do things like open new windows, and would use it ONLY when there is no way using HTML to accomplish the same goal, then people would not need to have Javascript active all the time, and the impact of exploits like this would be greatly reduced.

    If, instead of using <a href="#" onclick="foo"> or <a href="javascript(foo)"> type constructs, web designers would use <a target="_blank" href="something.html" onclick="javascript(stuff)"> type constructs, then if the user HAS Javascript active, then the web master can micromanage the newly created window. If not, then the user STILL gets a new window, just not one that the web master can remove all the chrome from.

    Seriously - when was the last time you heard of an exploit that used straight HTML? All of the recent exploits in ALL browsers, IE included, have been in either Javascript or Active-X, not in the core HTML rendering.

    There is a REASON for that.

  25. Re:It doesn't affect Safari by WIAKywbfatw · · Score: 2, Insightful

    What if the page refreshes itself? Doesn't that put you in the same hole?

    If so, then it's not "jumping through hoops", which makes Safari as vulnerable as any other browser.

    --

    "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
  26. It's the cookies by oddman · · Score: 2, Interesting

    Using Firefox 1.0.

    I followed the appropriate links allowing cookies to be placed by citibank. The window was indeed hijacked.

    I then followed the same links but this time not allowing citibank to place any cookies. The window was not hi-jacked.

    Be aware of what/who is placing cookies on your machine!

  27. Re:All browsers?!? by El+Cubano · · Score: 5, Funny

    I just don't believe it. Anything -- even an exploit -- working in all browsers would be unprecedented!

    Lynx appears to be unaffected.

  28. Comment removed by account_deleted · · Score: 3, Insightful

    Comment removed based on user account deletion

  29. Re:Doesn't work for me by Thaidog · · Score: 2, Insightful

    I don't see how this could be that big an issue either... for a site to be able to be hijacked, the pop-up it would have to be a site already sponsored by Citibank or whoever to start with.

    --

    ||| I still can't believe Parkay's not butter.

  30. Of course it's a bug by Chuck+Chunder · · Score: 5, Insightful

    Target names should only exist within the namespace of the site that created them.

    Site A should be able to create and interact with a window named "popup".
    Site B should be able to create and interact with a window named "popup".
    This should happen without either site interfering, blocking or overwriting the other. They should simply be invisible to each other, existing in completely seperate little worlds.

    --
    Boffoonery - downloadable Comedy Benefit for Bletchley Park
    1. Re:Of course it's a bug by Anonymous Coward · · Score: 5, Insightful

      OF course that seems sensible. But when you say "should" do you mean "should" because you think so, or because some W3C or other standard says so?

    2. Re:Of course it's a bug by NutscrapeSucks · · Score: 2, Informative

      AFAICT, the 'window' object is defacto (Netscape) standard and was never standardized by the W3C.

      Traditionally, windows weren't private to sites, but this is just a variation of the "cross-frame scripting" bugs that have been patched over time.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    3. Re:Of course it's a bug by Tough+Love · · Score: 2, Insightful

      AFAICT, the 'window' object is defacto (Netscape) standard and was never standardized by the W3C.

      Traditionally, windows weren't private to sites, but this is just a variation of the "cross-frame scripting" bugs that have been patched over time.


      A stupifyingly dumb design decision in the first place. The above poster's namespace comment is dead on, and there is obviously no choice but to implement per-site namespace properly.

      This design bug, however, is the fault of _all_ of us, for not reviewing the design of Javascript and making corrections years ago.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    4. Re:Of course it's a bug by JamieF · · Score: 2, Informative

      I looked at the DOM spec (levels 1 and 2) and there's no Window object; ECMAScript mentions that the Window object may exist but not what it does (since it's part of the runtime environment rather than the base language).

      I did find this:
      Referring to windows and frames from the Netscape JavaScript handbook. It says nothing about window names being private.

      So, pin this one on Netscape, and the lack of any formal open standard for what happens in a browser outside of the document.

  31. Re:I don't get it by nolife · · Score: 3, Informative

    The spoof worked for me on FF 1.0 on W2K. One more reason to use the Spoofstick browser plugin for FF or IE. It clearly showed the popup originated from secunia.com and not Citibank.

    --
    Bad boys rape our young girls but Violet gives willingly.
  32. Comment removed by account_deleted · · Score: 4, Informative

    Comment removed based on user account deletion

  33. Re:I don't get it by Jehlon · · Score: 5, Informative
    No kidding their instructions sucked. Here's a step-by-step:
    0. If you have not tried the test already, skip steps 1-3.
    1. Copy these instructions to Notepad.
    2. Close all browser windows.
    3. Open a new browser window to
    http://secunia.com/multiple_browsers_window_injec tion_vulnerability_test/
    4. Skip down to "Step 2" and click the link appropriate for your system. The vast majority of users will click on the link "Test Now - With Pop-up Blocker - Left Click On This Link".
    5. Click on the "Consumer Alert" image on the right of Citibank's page.
    If the exploit was successful, the pop-up window from Citibank will attempt to open a site from secunia.com. I don't know what that page looks like, only that their webserver didn't respond when I tried going there.

    I hope this helps the vast masses of smart /.'ers who don't care to take 10 minutes to decompile secunia's instructions.
  34. Bugzilla #273699 by Trillan · · Score: 2, Informative

    Seems to be in bugzilla.mozilla.org as defect 273699. (Direct link wouldn't work anyway.)

  35. Comment removed by account_deleted · · Score: 3, Informative

    Comment removed based on user account deletion

  36. Re:Using Opera 7.54 by Lisandro · · Score: 2

    Opera 7.11 on WIN2000 (older version, it's what i have at work) opens the CTI site and the spoof in separate windows, with or without popup disabler. I have to check it with newer versions though, i will when i get home.

  37. Lynx Totally Unaffected by Slavinski · · Score: 2, Funny


    My lynx browsing is totally unaffected. ;)

  38. Mozilla/Firefox Workaround by loconet · · Score: 5, Informative

    According to MozillaNews the following work around can be applied to Mozilla/Firefox:

    1. Enter about:config in the Location Bar.
    2. Enter dom.disable_window_open_feature.location in the filter field.
    3. Right-click (Ctrl+click on Mac OS) the preference option and choose Toggle (the value should change to true).

    This issue is already being worked on bug 273699 (copy link location, paste) filed a few hours ago.

    As a side note, being able to see the bug fixing progress unfold is one of the many reasons why i love open source. I am able to learn so much from just seeing the process take place from start to finish, how it is reported, test cases created, problems that arise, insights into other parts of the system, who the people involved are, reviews, patches, etc.

    --
    [alk]
    1. Re:Mozilla/Firefox Workaround by thomkt · · Score: 5, Informative

      This doesn't prevent the pop-up hijacking from happening; it forces the address bar to display, so you can see the location of the pop-up.

      From the page:

      "Note that, although the attack site can inject its own content, it cannot change the URL appearing in the Location Bar. Firefox and Mozilla have the ability to deny access to the Location Bar so all pop-up windows always have it."

    2. Re:Mozilla/Firefox Workaround by Student_Tech · · Score: 2

      I have always wanted a way to force an address bar on those dang popups.

      So as another poster already said, it doesn't stop the redirection, but it does let you see the address you have been redirected to.

    3. Re:Mozilla/Firefox Workaround by Fnkmaster · · Score: 4, Insightful

      All these damned Secunia bugs are basically human error bugs anyway. If you know what's in the popup, it's impossible to be spoofed - if the URL bar shows a site that's not what you expect, close it.

      In general, it's always going to be possible if you are browsing sketchy and secure sites at the same time that the sketchy site might pop up some deceptive window, and if you are confused, and can't see the URL bar, you might think it came from the secure site, with or without this specific injection issue. Which is why this workaround out to be default behavior anyway (I HATE sites that try to hide my location bar and navigation toolbar, those bastards).

      Anyway, the point is, yes the issue should be fixed, but if you applied the workaround, it makes the exploit essentially worthless to an adversary.

  39. Re:Once again, why needless use of Javascript is B by dghcasp · · Score: 4, Insightful
    And this is part of a larger user interface principle, "Don't try to control your user's behaviour if you don't need to."

    Example: Sites that pop up their "main" window from their "entry tunnel." Exactly what justification do you have for thinking I still need to view your entry tunnel?

    Example: (as mentioned,) sites that use Javascript to open windows. Granted, this practice came around before Opera/Mozilla introduced us to the wonders of tabbed browsing, but what's the point of pulling up a "diversionary" window and forcing the user to close it? Afraid they might not understand the concept of the "back" button?

    Example: using flash/java/shockwave/etc to perform functions that could be handled in HTML, especially now that we have DHTML. I have trouble with understanding the argument "we will be more successful if we deny access to some percentage of the population."

    etc etc etc.IMHO, this is a symptom of the problem where people assume "everyone else thinks / acts / behaves in the same way I do."

  40. Re:I don't get it by holysin · · Score: 2, Funny

    Ahhhhh, so if you follow the instructions perfectly it might work. If you have multiple windows open, it won't work. Does this mean their vulnerability has a vulnerability?

  41. Re:Once again, why needless use of Javascript is B by fuw · · Score: 3, Informative

    Well since the target attribute of the anchor link is not part of the XHTML 1.1 Strict standard, web developers who *are* actually concerned about standards are required to use Javascript to perform the pop-up behavior. By using standards-based design and manipulating the DOM via Javascript, we can accomplish anything. No need for clunky the "onclick" or even the outdated "target" attributes.

  42. Re:Doesn't work for me by Atrax · · Score: 4, Insightful

    ... useless as blink tags.

    I disagree. I think they have their moments. Such as displaying incidental information without interrupting the flow of something you're already doing (say, a help link in a wizard-style sequence of pages)

    like everything else, popups are a tool which can be used or misused. Unfortunately they're mostly misused.

    --
    Screw you all! I'm off to the pub
  43. Re:I call bullshit!! by corbettw · · Score: 4, Informative

    Except that it would be easy to exploit this. Here's an example:

    1) Send out a phishing expedition, asking people to log into their BofA account to update their account information. Make it look real official, and include a link that goes to "https://www.bankofamerica.com". The new window takes them to the real site, encrypted and everything.
    2) Customers login and check their mailing address, or whatever.
    3) Some percentage of them will leave their windows open for more than 10 minutes, at which point BofA sends their standard pop-up window warning about account inactivity and logout.
    4) Hijack the pop-up window and do Something Nefarious, like initiate a funds transfer.

    Now, this isn't a perfect example. But there are an untold number of different sites out there who use pop-ups for perfectly reasonable applications, and it would be trivial for some phisher to get people to go to those sites using his link.

    The best thing to do is, for those sites who use pop-ups to communicate with their visitors, use some nonstandard form for naming those windows. Use the person's username, a random string, a DES hash with the first two characters of the day of the week as the salt and the time the page is first loaded as the string, whatever (no, don't use "whatever", that's just a figure of speech)'

    --
    God invented whiskey so the Irish would not rule the world.
  44. Re:Once again, why needless use of Javascript is B by djoham · · Score: 2, Informative


    If, instead of using <a href="#" onclick="foo"> or <a href="javascript(foo)"> type constructs, web designers would use <a target="_blank" href="something.html" onclick="javascript(stuff)"> type constructs, then if the user HAS Javascript active, then the web master can micromanage the newly created window. If not, then the user STILL gets a new window, just not one that the web master can remove all the chrome from.

    Sorry, this is incorrect. For better or worse, according to the W3C, opening windows via JavaScript is the only proper way to create new windows. In fact, the target attribute has been removed from standard HTML since at least HTML 4.01 strict.

    If you remove the target="_blank" from your second example, you'd actually be doing it right. In this case -as you said- the user would get to the new link regardless. If they had JavaScript turned on, they would get whatever niceness the web developer wanted. If not, they would just get the raw page.

    David

  45. Practice what I preach? by Joseph_Daniel_Zukige · · Score: 2, Funny

    LOL! I suppose I should change my /. password now, just in case Secunia's proof of concept had a more-than-friendly bit of code in it.

  46. Re:Once again, why needless use of Javascript is B by shirai · · Score: 3, Informative

    That's why I use iFrame popup instead of window popups. With popup blockers already appearing built into browsers, I'm assuming that they will be standard everywhere soon.

    With scripting, you can make iFrames draggable, closeable and behave and look just like regular windows but they are, in essence, windows within a window and are tied closely to the current browser.

    There are reasons to have popups like, for example, color or date pickers (with a calendar). It is actually much easier to build a draggable DIV than a draggable iFrame but the draggable DIV doesn't show up on top of certain HTML elements and hence becomes useless (even with an infinitely high z-index).

    By the way, you can get draggable iFrames to work in both MSIE and Mozilla. I just bought my iMac for testing but I'm pretty sure I can get it to work in the mac versions too as they all have the necessary language and DHTML components. All I can say though is that JavaScript and DHTML are definitely vendor dependant, and I don't care if you are mozilla or Apple or Microsoft, they ALL have quirks and bugs that go outside of the specifications. In many ways, my high speed photoshop-style image scripting program (for use on web servers) was easier to write in C# than trying to figure out how to make things work across every browser out there!

    Anyways, programmer alert. I wouldn't depend on popups working in the future if your app depends on it. Make sure to use iFrames or have a non popup dependant way of doing the same thing!

    --
    Sunny

    Be my Friend

  47. Another clue for webmasters by Chuck+Chunder · · Score: 2, Insightful

    If you really want to open a pop up window, don't turn off the bloody URL bar and other assorted bits that help a user understand where they are.

    It's incredibly sad that pretty much every bank I've ever used doesn't think I might like to know that I'm really talking to their server when I use their web interface.

    --
    Boffoonery - downloadable Comedy Benefit for Bletchley Park
  48. Results for Slackware 10, Konqueror, Mozilla by crazyphilman · · Score: 2, Informative

    My system:

    Slackware 10, Konqueror, and Mozilla 1.7.3.

    Results with Konqueror: the popup did NOT point back at Secunia, it pointed at Citibank. Perhaps this is because I have Konqueror configured to open new windows in tabs and have "smart" popup blocking enabled. Would someone try and confirm this? If it is the issue, then we can block the vulnerability in Konqueror, at least.

    In Mozilla, the popup trick worked. Bad Mozilla!

    FYI

    --
    Farewell! It's been a fine buncha years!
  49. You know you've found a good exploit... by Dipster · · Score: 4, Funny

    when it takes Slashdotters 5 minutes and other people's help to activate it...

  50. Firefox 1.0 by pugugly · · Score: 3, Interesting

    Just an interesting note - if I left click on secunia's test page, and secunia opens citibank in a new tab, the exploit works.

    If I middleclick on the test page and *force* firefox to open the site in a new tab, the exploit fails.

    I don't know enough to now if this is a limitation in the exploit or in how they've written the exploit, but it's odd and interesting

    --
    An Invisible Entity of Vast Power whose existence must be taken on faith alone: Liberal Media
  51. Re:I don't get it by megaversal · · Score: 4, Informative

    My fix is a little easier (in my opinion, only because I hate having another toolbar taking up desktop real estate)...

    under about:config, I have dom.disable_window_open_feature.location set to true. So every window must show the location (and because of it, I immediately could see the webpage I was at was not citibank.com).

    --
    Sig!
  52. Looks like Safari might be fixed already by nizmogtr · · Score: 2

    http://docs.info.apple.com/article.html?artnum=617 98/ "Safari Available for: Mac OS X v10.3.6, Mac OS X Server v10.3.6, Mac OS X v10.2.8, Mac OS X Server v10.2.8 CVE-ID: CAN-2004-1122 Impact: With multiple browser windows active Safari users could be mislead about which window activated a pop-up window. Description: When multiple Safari windows are open, a carefully timed pop-up could mislead a user into thinking it was activated by a different site. In this update Safari now places a window that activates a pop-up in front of all other browser windows. Credit to Secunia Research for reporting this issue."

  53. Re:Firefox 1.0 seems fine by Trillan · · Score: 2, Interesting

    I think it affects everyone who has javascript on and follows the instructions *exactly.* It's a very fragile one.

  54. Re:Once again, why needless use of Javascript is B by fuw · · Score: 3, Informative

    You've got to think about accessability when making links, imagine Javascript turned off. Does it still work? Imagine using a screen reader, can it follow the link? The HREF should be a valid URL to the page you are trying to display, if Javascript is turned on, you override the behavior by attaching an event to the anchor in question.

    This excellent article on ALA should answer any pending questions on the issue.

    BTW, the target attribute of anchors was dropped between XHTML 1.1 Transitional and XHTML 1.1 Strict.

  55. Re:I don't get it by pugugly · · Score: 2, Informative

    Or just set firefox to always show the URL // Always display the Navigation Toolbar in pop-up windows:
    user_pref("dom.disable_window_open_featu re.locatio n", true);

    as per the tips and tricks pageg

    --
    An Invisible Entity of Vast Power whose existence must be taken on faith alone: Liberal Media
  56. Re:All browsers?!? by toomin · · Score: 2, Funny

    Yeah, this is the first thing that came into my mind as I read slashdot in lynx, however, I wasn't able to log in to post. So, the tradeoff is there: being immune to some silly vulenerability, or having a completely functional browser. Take your pick..

  57. Re:UPDATE: Slackware 10, Konqueror, Mozilla 1.7.3 by crazyphilman · · Score: 2, Interesting

    OK, I've read through a bunch of Slashdot posts, and I've considered my experience with this thing, and here's my web developer's opinion of this "vulnerability":

    In Javascript, if (and only if) your web page opens a new window, it "owns" that window. In other words, you have access to the whole DOM in that window. You can step through the document object, alter things, and so forth. This is how things are supposed to work; it's what enables us to open new windows and interact with the user. For example, maybe you want to pop up a window, ask a couple of questions, get the results, and close the window. Something I did recently at work was code an informational popup this way, because we had to kind of shock the user a little, to prevent them from just clicking "OK" to close all the alerts we were sending them. We made the popup very pretty and noticeable. OK?

    So, the guys at Secunia decided that was a vulnerability and they set up this little test to scare everybody. So...

    IF you went to a crooked website, and IF you clicked a link to pop up a site like Citibanks FROM THE CROOKED WEBSITE, and IF you went about your business on Citibank's site and clicked their crooked CSS overlay or popup (or whatever, you can probably do it in a couple of ways) THEN and ONLY THEN would you be sent to a crooked popup window with which they could phish you.

    In other words, in order to really make use of this, a phisher would have to:

    1. Get his code onto an actual commercial website so that people would find it and unsuspectingly click a banking link;

    2. Evade capture for long enough to collect a bunch of credit card numbers (or whatever), with the commercial site's security team coming after him with knives sharpened;

    3. Avoid having the crooked popup's web URL or IP address traced back to him by the FBI or Interpol within a day or so;

    4. Figure out a way around the bank (or whatever) putting a huge banner on their site saying in bright red flashing letters "DO NOT APPROACH THIS SITE VIA A WEB LINK! TYPE THE SITE ADDRESS IN YOU SCHMUCK!" (or just putting a parent.close(); line of code in their existing Javascript, plus some code to refresh the page from the bank's server, clearing out anything from the crooked site -- would this work? I haven't tested it yet -- but I'm sure there are other ways to do it and the bank's developers are smarter than phishers, generally).

    BUT, even if the phisher DOES figure all this out, it won't do him any good, because

    WHEN PEOPLE GO TO THEIR BANK'S WEBSITE, THEY USUALLY JUST TYPE IN THE URL OR USE A BOOKMARK!

    So, in short, I think this is nothing much to worry about.

    Discuss! ;)

    --
    Farewell! It's been a fine buncha years!
  58. Re:All browsers?!? by TheUser0x58 · · Score: 2, Funny

    Mosaic v1.0 users are also reportedly not affected. Nevertheless, experts strongly encourage Mosaic users to upgrade anyways.

    --
    -- listen to interesting music, support independent radio... WPRB
  59. in my opinion there is a simple fix for this by Pr0xY · · Score: 3, Interesting

    I think there is an easy fix for this. Basically the exploit is based on the fact that you can use javascript to open a window with the target the same as another window and overwrite the other ones content.

    Well, why not make a new rule in javascript that would disallow any javascript code to access any popups that aren't a direct child of the current instance of the browser.

    Basically what i mean is to have each window in it's own namespace and have the child window share said namespace. (I think one would have to not allow grandparents to access it either though).

    so basically if two seperate windows open a window with target="name" then 2 windows are opened one for each instance and they have nothing to do with each other.

    proxy

  60. As of right now... by Reteo+Varala · · Score: 3, Funny

    "Firefox has prevented this site from opening 1632 pop-up windows. Click here for options..."

    And this is a version of Firefox I installed approximately two weeks ago. ...And now 2000... persistent little bugger...

  61. Re:Once again, why needless use of Javascript is B by http · · Score: 5, Informative
    Nice try.

    1. 'target' is certainly part of standard html.
    http://www.w3.org/TR/html4/present/frames.html#ade f-target
    Just because it isn't defined initially by the A tag doesn't mean the A tag can't use it.

    2. From http://www.w3.org/TR/html4/types.html#type-frame-t arget:
    The following target names are reserved and have special meanings.
    _blank
    The user agent should load the designated document in a new, unnamed window.
    PS. Hey mods, if you don't know about a subject, don't mark a post 'informative' just because there's a link in it.
    --
    If opportunity came disguised as temptation, one knock would be enough.
    3^2 * 67^1 * 977^1
  62. Re:This is why the latest web standards are broken by fuw · · Score: 2, Informative

    I don't know about broken, I've never looked at it in that way. For me, the standards are perfectly clear and separate content (XHTML) from presentation (CSS) from user-interactive (DOM). If you take a webpage that's written to the Strict spec, and render the HTML at the simplest level (text-based) you have a perfectly legible webpage by any browser/user. I don't see how that could have been possible without the work of the W3C and the current XHTML 1.1 Strict specification.

    Javascript is here to stay, I don't agree that using Javascript in itself is a problem or a vulnerability. Allowing Javascript to alter the DOM of a website at a different domain name than the site the Javascript is running on *is* a problem.

  63. This sounds scary by einhverfr · · Score: 4, Funny

    All browsers? Can someone tell me how to get this to work on Lynx?

    --

    LedgerSMB: Open source Accounting/ERP
    1. Re:This sounds scary by Curtman · · Score: 2, Interesting

      It didn't even work in Firefox here. It says "You are vulnerable, if a pop-up window opened and showed text from Secunia and not from CitiBank.". All I got was a bar at the top of the Secunia page that said:

      "Firefox prevented this site from openning 619 popup windows. Click here for options"

      Is this Windows only or something?

    2. Re:This sounds scary by Curtman · · Score: 4, Funny

      Gentoo here as well. Looks like IE in Wine is vulnerable though. Way to go Wine team, great compatibility. :)

    3. Re:This sounds scary by ratpack91 · · Score: 2, Informative

      Are you sure you actually clicked on the 'Consumer Alert' image on the citibank site? The popup blocker isn't meant to stop it. A popup comes up when you click on the image and 'You are vulnerable, if [it] showed text from Secunia and not from CitiBank.'

    4. Re:This sounds scary by Sarastrobert · · Score: 2, Informative

      You probably clicked the wrong link, you should click the one that says.

      With Pop-up Blocker:
      Test Now - With Pop-up Blocker - Left Click On This Link


      Either that or you have a very aggressive popup-blocker.

    5. Re:This sounds scary by A+Naughty+Moose · · Score: 2, Informative

      Or you're running through a proxy. I don't get the error in in Konqueror, Safari, or Firefox when I connect via my squid proxy. I do get the hijacked screen when I do not.

  64. Vulnerability? For dyslexic octopii, maybe by Cervantes · · Score: 2, Interesting

    Seriously, a 'vulnerability' in the 'oh shit!' sense of the phrase is "an opening by which an innocent user could get fscked by no fault of their own".

    This strikes me as about as dangerous as the post-SP2 "Warning! If you copy and paste shit files from the net and click a few boxes, YOU COULD GET SPYWARE!".

    For the record, I just nuked and reinstalled XP-Sp2 + hotfixes a few days ago (for once, not because it was fucked up, but my new raid0 array), so I have cherry IE6 and unextensioned-FireFox 1.

    I tried several variations of the convoluted instructions, and could get no explicitly dangerous behavior. Mozilla didn't bat an eye, and IE once popped up a box saying "The script is trying to close this window, do you want to let it?" If I let it, then it opened the Citibank site in the window again.

    Oooh, scary.

    I'm sure there may be some actual, dangerous vulnerability here somewhere. But I've gotten better instructions from the japanese ASUS site, translated through google.

    --
    If I knew the wedgies I gave you back in 6th grade would have resulted in this . . . I might have taken a moments pause.
  65. just say no to javascript by 0111+1110 · · Score: 2, Interesting

    Javascript is the work of the devil. Leave it off unless you have a damn good reason to turn it on. Why give anyone that much control over your computer just to surf the web?

    For firefox or opera just turn it on when you absolutely need it and never forget to turn it off right away when you are done. For IE make use of the security zones to implement javascript whitelisting. That's what I do because with firefox and opera I often don't remember to turn it off again until I start getting annoying popups or worse.

    Seems like more than half of these vulnerabilities that keep popping up make use of javascript. That last one with the online banking passwords was pretty scary and made me very glad that I browse with javascript off.

    --
    Quite an experience to live in fear, isn't it? That's what it is to be a slave.
  66. Does anyone else here... by theblacksun · · Score: 2, Funny

    feel sorry for citybank's webserver?

    --
    Ignorance kills, complacency kills, hatred kills, but usually not the ones guilty of them.
  67. Lynx support by nuntius · · Score: 4, Funny

    Rumor has it, patches to support this exploit in Lynx will be available by the end of the week. ;)

  68. Not all browsers affected by ctour · · Score: 2, Funny

    It didn't seem to work under Lynx... I don't really use that browser, but I'm just saying it doesn't affect ALL browsers.

  69. Smile (online bank) doesnt trust popups by cliffski · · Score: 2, Interesting

    A month or two ago smile.co.uk swapepd their system from using a popup to using the current browser window. Thbey have won numerous awards for security (not to mention customer service) in the UK. They told customers this change was to ensure greater security. Looks like they are one step ahead of such vulnerabilities again, unlike citibank or many others.
    just another reason to switch to http://www.smile.co.uk/
    I dont work there, just a very happy customer.

    --
    DRM-free indie games for the PC and Mac: Positech Games
  70. Re:Once again, why needless use of Javascript is B by ubernostrum · · Score: 4, Informative

    Are you trying to imply that the thousands of XHTML Strict websites out there produced by web/graphic designers, web developers, bloggers, and those who are supporting the standards are doing something wrong?

    Yup. Check out Ian Hickson's "Sending XHTML as text/html Considered Harmful" for a quick primer on what most sites that do XHTML are doing wrong. Check out Evan Goer's list of "X-Philes" for a list of the very few sites which get it right, and his purge of sites from that list for an indication of how easy it is to go wrong even after you've initially gotten it right.

    As for HTML generally not producing good markup and being "too loose", I hate to break it to you but XHTML 1.0 and HTML 4.01 are element-for-element identical; the only difference between the two is that one is an SGML application and one is an XML application. And when you serve XHTML 1.0 as "text/html" (e.g., when you do XHTML the way ESPN and others do) you don't gain any of the strictness benefits of XML. And the only thing XHTML 1.1 does on top of that is deprecate a couple more things and add modularization and ruby support, so I'm really not sure where all the "good markup" would come from in a transition to XHTML. Plus there's no reason to believe that serving XHTML 1.1 as "text/html" is conformant, so if you use 1.1 you either break the spec or you shut out IE. Likewise, switching to an XHTML DOCTYPE and using XML syntax doesn't magically confer accessibility on a page; it's just as easy to write a horrid, bloated, table-based images-for-everything page in XHTML as it is in HTML 4.01.

    I suspect that you're making a common mistake among people who've just discovered web standards: you're confusing XHTML with good markup and best practices (check out Molly Holzschlag on what standards are and aren't). Anyway, it's quite possible to write beautiful, clean, accessible, semantically rich HTML 4.01 with separation of content from presentation; after all, it's got the same set of tags and attributes as XHTML 1.0, so if you can do it in one you can do it in the other just as easily. And when you consider that serving valid, well-formed XHTML according to the spec can be a nightmare at times, it's no surprise that even "gurus" of the standards world (e.g., Mark Pilgrim, Anne van Kesteren) have gone back to or recommended sticking with HTML 4.01 unless you really need one of the features gained by an XML-based HTML.

    And lest you continue to think I'm some sort of skeptic or enemey of web standards, well, every site I've built in the past three years (basically, since I discovered there was such a thing as a "web standard") has been valid, accessible, and CSS-based. I just know from experience that valid markup and stylesheets are one part of the equation, and there are an awful lot of those "best practices" that aren't ever published in a spec from the W3C or anyone else.

  71. Re:Once again, why needless use of Javascript is B by SJS · · Score: 2, Insightful
    This all boils down to a Javascript vulnerability.
    Yup. It further demonstrates why any financial institution that requires you to enable javascript in order to use their website should be deemed incompetent.
    If web masters would stop NEEDLESSLY using Javascript to do things like open new windows, and would use it ONLY when there is no way using HTML to accomplish the same goal, then people would not need to have Javascript active all the time, and the impact of exploits like this would be greatly reduced.
    I assert that no essential behavior on a web-page requires Javascript -- it's ALL needless. Want to take the window to a new page? Standard anchor tags do that. Want to open up a new page/tab/browser instead? Surely that's the user's choice, and all of the modern GUI browsers I'm aware of give the user that ability.

    "Features" provided by Javascript fall into a very few categories, so far as I can tell:

    • Client-side verification
      This includes validating that all the fields in a form are filled in, as well as checking that the user entered the correct password. Naturally, this is the silliest reason to require Javascript, as the validation step still has to be done on the server side anyway, making the client-side validation a redundant convenience at best, and an addle-brained sign of utter incompetence at worst.

    • Eye-Candy
      This includes dynamic "feedback", drop-down menus, etc. None of this is what you can call "essential", even if it's very nice and garners rave reviews from the average user.

    • Replacing standard HTML functionality
      This includes opening new windows/tabs, following links, submitting forms, and suchlike. This is perhaps the most aggravating reason to require javascript, as it artifically narrows the potential user community of the website.
    Essentially, the categories are "Don't Do", "Don't need", and "Redundant".

    However, I think it's almost a lost cause.

    I think the only way we're going to convince webmasters to think twice about Javascript is to build a runtime debugger/replacement tool into the Javascript VMs in our browsers. Let the user specify wholesale replacement of javascript fragments (e.g. remove the open-window-in-a-popup portion of a tag and replace it with a good old-fashioned anchor tag) and changing of values in the running script (e.g. let's just change that discount from 5% to 95%).

    It's my computer after all, and I should get a say in what programs run on my computer, no?

    --
    Pick One: http://www-rohan.sdsu.edu/~stremler/sigs/sigs.html (Note - disable Javascript first!)
  72. Re:Once again, why needless use of Javascript is B by ubernostrum · · Score: 2, Informative

    target is gone in xhtml 1.0 strict

    The "target" attribute still exists in the Transitional and Frameset versions of HTML 4.01 and XHTML 1.0. XHTML 1.1 does not have a Transitional or a Frameset version; however, it is a modularization of XHTML which means that the same functionality can be easily re-introduced. For example, Jacques Distler has produced a page using the "target" attribute which is valid against an extended XHTML 1.1 DTD. This is one of the major selling points of XML-based markup and having true XML parsers as clients.

  73. Re:A quick workaround for FF 1.0 by next_permutation · · Score: 3, Informative

    The exploit did work on my FireFox 1.0, and I have always had all those checkboxes except "Change Images" disabled.

    I would like to disable JavaScript entirely, but unfortunately that breaks too many pages.

  74. Re:Vulnerability? by TheLink · · Score: 3, Insightful

    Malicious site? All you need is to compromise or hijack (DNS etc) the relevant banner ad site or partner site.

    Has happened before.

    Users may still have to click something, but they could easily be tricked into doing that. Most users aren't constantly vigilant and observant. If the compromised banner ad opened another window that looked like Citibank's site whilst you were using Citibank's site, you could fall for it - especially since Citibank does use pop-ups.

    --
  75. An HTML issue website developpers should deal with by boule75 · · Score: 2, Insightful

    As far as I understand the issue, this same exploit is more a blind spot in the HTML / Javascript model that a browser issue. The same kind of trick could be used with frames which bear a "name" too: has it been alreday dealt with? Is a website allowed to load a page in a frame that has been provided by another site, provided it guess the correct name of that frame?
    - if "yes", then there is a vulnerability with frames and iframes too, using the same trick, and popup blocking will not solve it.
    - if "no" -for instance if frames and iframes that are already dispayed can only be javascript-relaoaded by the same server or domain that had generated them in the first place- then lets proceed in the same way with popup windows. This has been suggested elsewhere in this discussion.

    But the real solution lies with the sites developpers: if one wants to develop a truly secure site with popup or frames, one has to produce unpredictable names for any "target" and urls by dynamically generating random frame names and maintaining them throughout the user's session, and use SSL to transmit the whole thing.

    Quite a pain for web developpers isn't it? The other way to do it is to avoid complicated things like frames and popups so that there can be no doubts about the page origin. A least not in Firefox...

    --
    I am not Remy Mouton, unfortunately: http://remy.mouton.free.fr/art/
  76. Re:Doesn't work for me by geordie_loz · · Score: 3, Informative

    I tried this, and it didn't work. Then I realised what they were actually wanting. Open the citbank window, then click on the genuine link in the citibank window (pictured in the site) and if the window opens and shows citibank stuff you're ok, if it opens and then immediatly written over with their data, you're vunerable.

    I did this, and Firefox 1.0 (linux) was vunerable. The site wasn't clear that the first site wasn't the vunerability, but links from a genuine site can be made vunerable.

    Of course, you have to visit one of thse sites, and then go to the other.. so you have to be fooled by the malware site into it first.

  77. Re:Once again, why needless use of Javascript is B by DeadSea · · Score: 2, Insightful
    I hate to feed trolls, but as a JavaScript developer, I have to take issue with somebody that wants to beat me sensless.

    Some little JavaScript projects I have done:

    • Tic-Tac-Toe - Responsive, looks good, has AI, works in a web browser. The alternatives would be CGI or Flash. I've played CGI tic-tac-toe and it is too slow. Flash seems like overkill
    • Scientific Calculator - The bread and butter of Javascript, perform calculations in a web page. I tend to like this calculator better than the Windows calculator because of the free form text entry
    • Currency Exchange Rate Conversion Calculator - Again the alternative is CGI but again it is slow. Plus, do you want to send your financial data (amounts you are converting) to some random website? This keeps all your data on the client side.
    • At work we are working on page that shows new data as it is available. Sure you can refresh the page and see the latest, but a bit of javscript to pull new data off the server is both easier for most users and saves bandwidth because it can get just the stuff that is changed and put it into the page in the appropriate place.
    I grant that javascript is often misused and I fully support your desire for a whitelist. Thankfully, there is a noscript tag so I can tell people like you exactly what you are missing and you will consider adding my page to your whitelist. But please don't beat me!
  78. Re:Once again, why needless use of Javascript is B by Darren+Winsper · · Score: 2, Informative

    Let's see you build something as responsive, usable and practical as GMail without using Javascript.

    OK, let's try something easier. I've got a table with many rows where each row contains two sets of radio buttons. When one of the radio buttons in the first set is selected, you shouldn't select an answer in the second set. Thus, I use Javascript to disable the second set of radio buttons when that particular option is chosen. Care to tell me how to do that using regular HTML?

  79. Safari vulnerable if 'pop-up-blocking' is off by Angostura · · Score: 3, Informative

    Safari appears to be OK, as long as 'block pop-up Windows' is selected in preferences. ... So it is vulnerable by default, sadly.

  80. Re:Doesn't work for me by Daytona955i · · Score: 2, Informative

    Also this doesn't work if you use tabbed browsing. If you open the link in a new tab and then click the button you get the citibank popup, not the infected one. It only seemed to work if you opened their link in a new window.

    I'm also confident that this will be fixed soon but it's also not really a big issue for me because I do mostly tabbed browsing. It is very rarely that I open a new site in a seperate window anymore.

  81. Re:Once again, why needless use of Javascript is B by JohnnyCannuk · · Score: 2

    "I assert that no essential behavior on a web-page requires Javascript -- it's ALL needless."

    There you go. You've just shown your ignorance. For simple web pages I would agree, but this vulnerablility is for, and demonstrated in, a web application.

    As other posters have pointed out, you cannot get some features of an application without using Javascript.

    So, until the world starts using something like Webstart and downloadable, secure thick clients via the web, the browser is all that we have. Perhaps this vulnerability will be fixed at the browser level so that the needed use of Javascript can be made safer.

    Can you provide an alternative that will allow these rich client features in a UI available over the web?

    Come on, we're waiting...

    'Insightful' my ass....

    --
    Never by hatred has hatred been appeased, only by kindness - the Buddha
  82. Re:Once again, why needless use of Javascript is B by CProgrammer98 · · Score: 2, Informative

    He specifically said html 4.01 strict, not html 4 transitional....

    In strict, frames and target= are depricated

    --
    And the people shall be oppressed, every one by another, and every one by his neighbour Isaiah 3:5
  83. backwards on Firefox 1.0? by Wolfger · · Score: 2, Insightful

    The link for browsers with pop-up blockers does not affect my pop-up blocking Firefox (and a window pops open saying that I have no pop-up blocking), but the other link does indeed spoof the window. I'm not worried about the problem though, because I don't engage in such unsecure behaviour. An easy fix would be for Firefox to allow us to selectively allow java/javascript on a per-site basis (just like pop-ups and ads (with adblock)).

  84. Re:Once again, why needless use of Javascript is B by Politburo · · Score: 3, Insightful

    Client-side verification This includes validating that all the fields in a form are filled in, as well as checking that the user entered the correct password. Naturally, this is the silliest reason to require Javascript, as the validation step still has to be done on the server side anyway, making the client-side validation a redundant convenience at best, and an addle-brained sign of utter incompetence at worst.

    Just what I want.. a user posting 300 times before realizing that, yes, they must fill out the form. Think about something like Yahoo mail. I can go into a new message and if I forget to put in a To:, it will still post to the server and come back and say that I'm a moron. With JS verification, I would know instantly.

    Obviously client-side verification shouldn't be used for passwords, but checking that a form is at least completely filled out is very helpful, both as a designer and a web user. Client side verification is practically instant and does not burden the server with incomplete requests. Of course, client side verification does not exempt you from having to perform server side verification.

  85. Mixed risk by valkraider · · Score: 2, Informative

    It looks like some people are at risk and some are not. Reading through the comments people swear their browsers are not affected...

    But I ran the tests, and here are my results:

    Mac OSX 10.3.6

    Safari 1.2.4 (v125.12) - Not affected according to test.
    FireFox 1.0 (G4 optimized build) - Affected according to test
    Camino 0.8.2+ - Affected according to test

    All browsers have pop-up blocking enabled, and some sort of ad filtering (Pith Helmet, Ad Block, etc).

    Your mileage WILL vary.

  86. So... by dfj225 · · Score: 2, Funny

    That email I got about having extra security by making sure 1337hax0rz.ru was loaded in a separate window while using my bank's website was a lie? Maybe that is why my bank keeps asking me to give them my information again. How many times can they loose my account number and SSN?

    --
    SIGFAULT
  87. Very Limited Usage by JoshDev · · Score: 2, Insightful
    The only way this works is if you used a specific link created on a webpage. How many people are going to goto there own banks website, or other secure site, by clicking a link on some other page? From what I can tell from the code it just creates a window with the same target name as used on the citibank page then constantly checks to see if the "spoofing" window is open. As soon as you open it manually, it reloads into the same window name their url.

    In FireFox if you open the window in a new tab, create a new window manually and goto the url, type in the url manually, or go via a bookmark, your safe. In other words, very very unlikely this we'll see any wide scale usage of this bug.