Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Security Internet Explorer Mozilla The Internet

Shmoo Group Finds Exploit For non-IE Browsers 621

shut_up_man writes "Saw this on Boing Boing: East coast hacker con Shmoocon ended today and they had a nasty browser exploit to show off... using International Domain Name (IDN) character support to display fake domain names in links and the address bar. Their examples use Paypal (with SSL too) and this looks very useful for phishing attacks. Interesting note that it works in every browser *except* IE (which makes this exploit a lot less dangerous in the end, I suppose)."v The reason IE isn't vulnerable is because it doesn't natively support IDN; with the right plug-in, it too is vulnerable.
This discussion has been archived. No new comments can be posted.

Shmoo Group Finds Exploit For non-IE Browsers

Comments Filter:
  • by The I Shing ( 700142 ) * on Monday February 07, 2005 @11:31AM (#11596602) Journal
    I'm surprised to hear that Microsoft's refusal to adopt international standards in their browser actually thwarts a potential phishing attack rather than aiding it. If the problem can't be fixed in the browsers, maybe email clients and websites can find some way of decoding, detecting, and disabling such links. Are phishers going to bother trying to use this exploit if it works on less than 10% of their potential victims?
  • Shmoocon IDN Demo (Score:1, Interesting)

    by Anonymous Coward on Monday February 07, 2005 @11:35AM (#11596646)
    I was personally there. The demonstration of the IDN spoofing at shmoocon was hands down very disturbing. This will open new possibilities for fraud and phishers unless something is done about it. I suggest browsers point out when mixed-language characters are used in URL's this may help mitigate this severe issue.

    -caes

  • Known for years.... (Score:5, Interesting)

    by Chris_Jefferson ( 581445 ) on Monday February 07, 2005 @11:35AM (#11596659) Homepage
    Seriously, it's been known for years that adding international character sets was going to cause the problem of multiple identical (or almost identical) characters.

    On the other hand, no-one really seems sure of the best way to fix it... One option is obviously to mark somehow when non-ASCII characters are used, but while this will help the people who only want ASCII URLs, it will still leave the problem for everyone who wants to use this extended system, making it effectively useless....

  • by Anonymous Coward on Monday February 07, 2005 @11:36AM (#11596663)
    Except when implemented in their own country code namespace of course.

    There are so many characters that look alike, that it is trivial to register a domain name that will look the same as another one. Typically the different character would only be recognised by a native that used that character, although using it alongside normal English characters would probably throw them off as well.

    Solution? Maybe an "IDN" icon in the URL bar, or a warning if an IDN uses a mixture of normal English characters with some foreign characters in an IDN.
  • Not Lynx (Score:4, Interesting)

    by OECD ( 639690 ) on Monday February 07, 2005 @11:37AM (#11596678) Journal

    It doesn't seem to work with Lynx, either. The URLs are obviously different from what they're supposed to be, and they don't point to any site at all.

    Lynx does try the URL, though, so it may be possible to set up another domain to catch it, but the URL would still be obviously wrong (something like p%a%y%p%a%l.com)

  • by Saven Marek ( 739395 ) on Monday February 07, 2005 @11:45AM (#11596774)
    > I wonder if there's a quick and easy fix for this for Safari users

    Look at the source, its obvious there
  • by FreeUser ( 11483 ) on Monday February 07, 2005 @11:53AM (#11596857)
    On the other hand, no-one really seems sure of the best way to fix it... One option is obviously to mark somehow when non-ASCII characters are used, but while this will help the people who only want ASCII URLs, it will still leave the problem for everyone who wants to use this extended system, making it effectively useless....

    I think you're on the right track here.

    Perhaps the best approach is to use a different font/different color for particular ranges of characters, or characters outside of one's locale setting, so e.g. if my local is Germany, and cyrillic or french accent-grave or what have you characters are loaded, then display that character in bold, or in red, or what have you. Also, tint the background of the URL pink or something, so if the offending character is scrolled off the end of the URL field, the user still gets a visual clue that something is wrong.

    I'm sure there are other possibilities, like putting a little warning at the top whenever characters are in the URL that are strikingly similiar to characters in the default local OR standard ASCII, specifying what the character is and perhaps stating something like "http://spo0furl.com IS NOT THE SAME as http://spoofurl.com".
  • by TheIndividual ( 812531 ) on Monday February 07, 2005 @11:53AM (#11596860) Homepage Journal
    The nice thing is that you don't need to break or change the standard. It just shows that you should think a little about something before you implement it, even if it a widely used standard.
    In this case, why not introduce a warning popup if the domain name contains a unicode letter that looks like a normal ASCII letter.
    Effort? One lookup table of "bad" unicode letters and a small if-statement before opening a link...
  • by G4from128k ( 686170 ) on Monday February 07, 2005 @11:55AM (#11596876)
    This brings up the amusing problem of character recognition by human and non-human intelligences. Douglas Hofstadter [indiana.edu] discusses this issue in on seeing A's and seeing As. [stanford.edu]

    In the case of this exploit, a deep flaw in IDN and computer fonts means that character #1072 is rendered typographically as an "a". The irony is that this is one of the few cases in which a computer can readily tell the difference between "a" and #1072 and a person cannot. The only solution would be rules that prohibit isomorphic characters in typefaces or a in-browser warning system that analyses the potential for ambiguity and alerts the user.
  • by oneiros27 ( 46144 ) on Monday February 07, 2005 @12:04PM (#11596978) Homepage
    It's intentional that there are multiple glyphs that look the same, but represent different characters in Unicode. (for sorting order, spell checking, etc.)

    So you just need to work off of that strength, and flag when someone's mixed any two groups of characters. (I'm not sure what the official Unicode name is for them ... the different sets assigned to each language [unicode.org] or function).

    Anyway, you start with the assumption that a domain name is going to contain only characters from one of those groups, and you report if it's otherwise. Now, there are still problems with people not looking closely, and confusing 'resume.com' with 'résumé.com' or something similar, but you'll fix the problems with identical glyphs.

    The important thing to do is to not assume that ASCII is the only 'good' form, as that would make it rather english-centric (I'm not sure what other languages can map all of their characters into ASCII)
  • Re:notepad (Score:3, Interesting)

    by stuntpope ( 19736 ) on Monday February 07, 2005 @12:05PM (#11596997)
    Interesting... I copied the link from Firefox (Copy Link Location), pasted it into scite editor, and got http://www.p?ypal.com/. Pasting it back into Firefox gets me http://www.paypal.com/
  • by Jane_Dozey ( 759010 ) on Monday February 07, 2005 @12:24PM (#11597240)
    Darn it! you're right :-(

    Then again...I have a nice little solution (quite by accident, in fact it's just due to me not bothering to sort my configuration out) anyway: any character sets not installed (all except the default) show up as a funny little square where the characters would normally be. I'd say that it's a pretty good give away when I've got http://www.p[]ypal.com (or there abouts) showing in the address bar...
  • Re:Spin again (Score:2, Interesting)

    by bersl2 ( 689221 ) on Monday February 07, 2005 @12:29PM (#11597291) Journal
    No, you see, you are missing the point. The IDN system is flawed, not any particular browser.

    By making browsers an issue in the headline, there could be an immense amount of spin generated from this, where there didn't need to be any. Anybody who reads only the headline will thing an entirely different thing from someone who actually reads the comments and gets a perspective.

    To give an example of this that swings the other way, do you remember that announcement of the SP2 vulnerability in the stack overflow checking or something like that, that happened a week-or-so ago? And then Microsoft later said that no exploits have been found for it? That's the kind of thing that this headline can induce, because there is no perspective.
  • by cbr2702 ( 750255 ) on Monday February 07, 2005 @12:54PM (#11597594) Homepage
    Yup, except that the clear workaround does not fix the problem at all. The setting stays set to false in about:config after retstarting the browser, but in reality it goes back to enabling IDNs, and the paypal spoof referenced in this story still works.

    That's strange; I just tried it (in FF/1.0) and it remembered the setting and still had the site fail. Now the site still does render as "http://www.paypal.com/" in the status bar, but when I click on it I get a message saying "http://www.paypal.com/ was not found".

    This is one case where I like Linux's font support is not perfect. On the Mac the 'a' and the 'a' are indestinguishable, while here the latter is short and squat.

  • by QuietLagoon ( 813062 ) on Monday February 07, 2005 @01:21PM (#11597882)
    The only way I was able to tell on Opera (8.00, build 7401) that the site was a fake was to look at the console log of my http://www.privoxy.org/ [privoxy.org] web proxy.

    It showed:

    Feb 07 12:14:59 Privoxy(03720) Request: www.xn--pypal-4ve.com/
  • by sn0wflake ( 592745 ) on Monday February 07, 2005 @01:29PM (#11597957)
    You mean most users will never, ever, notice it. Even I as a Slashdot reader don't look at the URL constantly.
    Recon spyware coders will implement this in their programs now so it'll work in MSIE.
  • Re:notepad (Score:2, Interesting)

    by AmberBlackCat ( 829689 ) on Monday February 07, 2005 @01:44PM (#11598153)
    blockquote>Trolls can have a couple of days fun on slashdot.

    I'd like to know your definition of 'troll'. In this case, it looks like Microsoft got something right and everybody else got it wrong. In fact, the fix for Firefox is to make it behave like IE (disable support for IDN). I'm guessing anybody who makes mention of this is a troll. I've only been modded down one time, and it was for saying something negative about Firefox [slashdot.org] even though it was completely true. I just recently got modded up for saying something negative about Microsoft [slashdot.org]. I would tell you what I think about that but I'd probably get modded down for that.

  • by AstroDrabb ( 534369 ) on Monday February 07, 2005 @01:55PM (#11598330)
    It was probably cached
    No, it wasn't cached. I cleared the cache in Firefox and also if you hold down shift and click Refresh, Firefox skips the cache and goes right to the server for the content. I think that the about:config interface correctly updated the enableIDN variable while the startup Firefox code doesn't look for the enableIDN settings in your user profile. To me that would explain why the settings take place immediately, yet fail to be set when you restart your browser.
  • by Have Blue ( 616 ) on Monday February 07, 2005 @02:21PM (#11598644) Homepage
    Wouldn't it be possible to enforce registrar standards compliance by having all DNS servers reject noncompliant records, not just the registrar's signup process? If a noncompliant record was not accessible to a large chunk of the net, that would be a strong incentive to make sure legitimate names are compliant and make this type of scam less effective.
  • Re:IE and Firefox (Score:2, Interesting)

    by iamacat ( 583406 ) on Monday February 07, 2005 @02:22PM (#11598667)
    Don't just talk, donate [yahoo.com] to Mozilla/Firefox security effort!
  • by pdc ( 19855 ) * on Monday February 07, 2005 @02:29PM (#11598761) Homepage
    I don't claim to be a Unicode expert, but I don't think that normalization form KC will convert U+0430 to 'a', because the Latin small letter A is not its compatability decomposition.

    On the other hand, it would prevent spoofing of Greek names using mu and capital omega, or capital A with ring above, or ff ligatures, since there are characters that have them as compatibility decompositions.
  • by microbrew_nj ( 764307 ) on Monday February 07, 2005 @02:56PM (#11599110) Homepage

    ... it's an authentication problem

    This problem is not a software bug. Sort of disabling the feature, I don't see a way of fixing the problem in the client software. I mean, I don't see a software patch (or even a standards modification) fixing the problem.

    What it is, is a problem exacerbated complexity. People speak different langauges around the world, often multiple langauges. That rules out an ASCII-centric solution. Even rewriting the standards wouldn't help; the problem boils down to protecting people from tmemselves, or at least human cognition flaws.

    Any solution would have to be a process solution. Specifically, the process determining that you are who you say you are. The current process for doing this is flawed for the average person. Your average person is just going to click through warnings which he or she doesn't understand.

  • Highlight, perhaps? (Score:2, Interesting)

    by zcat_NZ ( 267672 ) <zcat@wired.net.nz> on Monday February 07, 2005 @03:04PM (#11599214) Homepage
    When you go to a secure page Firefox highlights the URL yellow.

    When you go to a page with anything but ordinary ASCII characters perhaps it could highlight the URL blue, or red, or something...
  • LiveHeaders on FF (Score:3, Interesting)

    by MoFoQ ( 584566 ) on Monday February 07, 2005 @04:10PM (#11599963)
    LiveHeaders on FF correctly reports that the HOST is not paypal.com

    Looks like I'll have to use that to double check now. Still safer that IE.

All seems condemned in the long run to approximate a state akin to Gaussian noise. -- James Martin

Working...