Slashdot Mirror


Microsoft Security Patch Fixes URL Security Flaw

loteck writes "Microsoft has just released Security Update 832894. According to their official information, it affects all NT kernel versions of Windows and most versions of Internet Explorer. Here's a rundown of the important fixes, notably 'A vulnerability that involves the incorrect parsing of URLs that contain special characters' in Internet Explorer, as previously discussed on Slashdot."

49 of 545 comments (clear)

  1. Does this mean by AuMatar · · Score: 5, Funny

    I can stop typing in all my links by hand?

    Oh wait- I use Mozilla. I didn't need to do that anyway.

    --
    I still have more fans than freaks. WTF is wrong with you people?
    1. Re:Does this mean by SultanCemil · · Score: 5, Informative
      Wait mozilla supports HYPERLINKS? wow. I do need to upgrade my browser.

      Seriously, though - I think one of the bigger changes in this release is that IE no longer support username/password in the URL (http://me:you@whatever.com). No more easy pr0n surfing.

      --
      Cemil.
    2. Re:Does this mean by interiot · · Score: 4, Informative
      Huh. I had kind of assumed that the username/password was part of the official URI spec, but apparently not:
      • httpaddress
        • h t t p : / / hostport [ / path ] [ ? search ]

        ftpaddress
        • f t p : / / login / path [ ftptype ]

        login
        • [ user [ : password ] @ ] hostport

        hostport
        • host [ : port ]
    3. Re:Does this mean by mickwd · · Score: 5, Insightful

      Yes, I'm a little surprised there hasn't been more of a fuss over this.

      Is this really the best Microsoft can do ?

      Whenever a URL with an "xxx[:yyy]@" prefix is clicked or entered, why couldn't they pop up a login dialog box, specifying the name of the site (WITHOUT the xxx[:yyy]@ prefix), filling in the user name and password (i.e. the "xxx" and "yyy" in the appropriate fields), and asking for confirmation of the site to be visited ?

      Or at least allow a configurable option such as "Disallow username/password in URLs / Prompt with Dialog Box / Allow" (with the default set to Disallow). That way, advanced users would still be able to use the username:password@ syntax if they enable the option. It's actually pretty useful as a quick way to transfer files by FTP, so I hope it's still supported over FTP.

    4. Re:Does this mean by the_mad_poster · · Score: 4, Interesting

      Not sure what you were looking for specifically, but the user:pass@host scheme is defined in RFC 1738.

      And, no, they're not breaking the spec. It's optional:

      Some or all of the parts ":@", ":", ":", and "/" may be excluded.

      They're just being dumb. As usual.

      --
      Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
    5. Re:Does this mean by pen · · Score: 4, Informative
    6. Re:Does this mean by Holi · · Score: 5, Informative

      No for http requests the username and password are NOT allowed.

      RFC 1738 - Page 8
      3.3. HTTP

      The HTTP URL scheme is used to designate Internet resources accessible using HTTP (HyperText Transfer Protocol).

      The HTTP protocol is specified elsewhere. This specification only describes the syntax of HTTP URLs. An HTTP URL takes the form:

      http://(host>):(port)/(path)?(searchpart)

      where and are as described in Section 3.1. If : is omitted, the port defaults to 80. No user name or password is allowed.

      --
      Sorry, teleporters just kill you and then make a copy. A perfect, soul-less copy.
    7. Re:Does this mean by gunpowder · · Score: 5, Interesting

      I love people referencing to some RFC, but then not reading it themselves :-P

      You said "the user:pass@host" scheme is optional. This is right and wrong. This is described in Section 3.1 of RFC 1738, which describes the Common Internet Scheme Syntax, or the general form that URL can take.

      The user:pass@host scheme is described as "optional" in the meaning that specific URL schemes can make use of them or not. A URL scheme can decide not to adopt/allow the 'user:pass@host' scheme at all.
      Specific URL schemes for FTP, HTTP, MAILTO etc. are defined in Sections 3.2 - 3.11. These Sections describe what is allowed for each URL scheme (protocol ) and not.

      Let's look at HTTP (excerpt from the RFC):


      An HTTP URL takes the form:

      http://<host>:<port>/<path>?<searchpart>

      where and are as described in Section 3.1. If :<port>
      is omitted, the port defaults to 80. No user name or password is
      allowed.



      Also your remark "They're just being dumb. As usual." is wrong.
      Actually they finally conform to a open specification!

    8. Re:Does this mean by spitzak · · Score: 5, Insightful

      No, because anybody that stupid can be fooled by simply having the URL go directly to the evil site.

      The basic problem is that IE displays the URL "http://www.good.com/foo%00@www.evil.com/bar" as "http://www.good.com/foo" and thus completely hides the fact that it actually goes to "www.evil.com", even for an expert user. This is the bug in IE that needs to be fixed.

      Even if fixed, the above URL would certainly fool a lot of people that it goes to "good.com". All browsers today seem vulnerable to this. So some solution is necessary.

      My recommended solution is to preview starting with the '@' sign so the user sees "@www.evil.com/bar". This also has the nice effect of hiding the username & password for (obviously extremely weak) security.

      I do think Microsoft's solution is about the stupidest thing they can do after the "do nothing" solution. I find it hard to believe they cannot fix their status bar preview, this would indicate the innards are such a horrible mess of spagetti that they cannot make even simple changes and they had to attack the only single point of entry which is where the http get command is processed.

      Of course the '@' is not a standard, but neither is ActiveX and Microsoft does not seem to be removing that. Saying that it is ok because it is not an official standard is stupid. It will break plenty of sites.

  2. the needed patch by vargul · · Score: 4, Funny

    hm... they should patch IE up to be mozilla for example... that could be called a patch...

    --
    Aure entuluva!
    1. Re:the needed patch by jonfromspace · · Score: 4, Insightful

      No offense... but this is getting old.

      Yes, Mozilla is better than IE in alot of cases... but don't forget, the average user still uses the internet for email, online banking, and news sites.

      And guess where you are more than likely to run into an "I.E. reccomended" site? Online banking.

      Yes, "developers should...", but Developers should do a lot of stuff that they never will. Reality is, Mozilla is a far way from replacing I.E.

      --
      I am become Troll, destroyer of threads
    2. Re:the needed patch by roystgnr · · Score: 4, Funny

      Yes, Mozilla is better than IE in alot of cases... but don't forget, the average user still uses the internet for email, online banking, and news sites.

      So do I.

      And guess where you are more than likely to run into an "I.E. reccomended" site? Online banking.

      Not at my little bank.

      Reality is, Mozilla is a far way from replacing I.E.

      Well, if your bank sucks, I suppose so. I'd be curious about which bank it is, though; the only place I still see "You should have Internet Explorer!" pages is zone.msn.com.

    3. Re:the needed patch by Trogre · · Score: 4, Informative

      Reality is, Mozilla is a far way from replacing I.E.

      Perhaps so, but I use the web for business and recreation on average 6 hours a day, and have never in the last three years had to resort to IE.

      Except, that is, for ensuring that web pages I write render correctly on the lowest common denominator.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    4. Re:the needed patch by Anonymous Coward · · Score: 5, Insightful

      Considering IE is less secure than Mozilla it's alarming to me that any bank would "require" it.

    5. Re:the needed patch by ejdmoo · · Score: 4, Interesting

      Think Firebird. I hated Mozilla, loved Firebird. :)

    6. Re:the needed patch by tupps · · Score: 5, Interesting

      Grab Mozilla/Opera/Whatever and use Tabs for a little while. I cannot use any browser now without tabs. Having 10 pages open is no problem, and it is great when you come to a site and need to look at 10 different articles that might interest you (eg Slashdot front page). Also Mozilla has a pretty extensive scripting language behind it. I beleive that the Calendar module is written purely in that scripting language. Thanks Luke

      --
      Go out and get sailing!
    7. Re:the needed patch by the_mad_poster · · Score: 4, Interesting

      I just canceled a credit card with MBNA because they added a browser sniffer that kept telling me I had "an older version of Netscape" and I needed to upgrade. Wouldn't let me into the site on FB 0.7 on Linux, so I sent them a nice little "fuck you too" cancel request explaining that their site is broken and that's why I'm canceling.

      And yes, the site worked just fine in FB 0.7 once I sent an IE 6.0 UA.

      I make it a point to relentlessly hound businesses that pull that little stunt. I also post their links on Open Source boards so everyone can get a shot at them. And don't tell me it's childish or rude or anything else - if they hadn't intentionally broken the site in the first place I wouldn't be obligated to tell everyone that the site is crippled. If they can't even hire half-competent web designers (or, more likely, if their management weren't typically incompetent and it actually listened to the web designers) why should I assume that they're capable of handling something as complex as my banking? They're cutting corners there, where else might they be?

      --
      Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
  3. HA HA NICE TRY by Anonymous Coward · · Score: 5, Funny

    Nice try Microsoft. I'm not clicking links while running IE, as per your instructions!

  4. Wow Security update # 832894 by Anonymous Coward · · Score: 5, Funny

    I wonder what happened to the other 832893 security updates?

    1. Re:Wow Security update # 832894 by Oroborus · · Score: 5, Interesting

      Just fyi: the update number comes from the number identifying the knowledgebase article where the problem is first identified.

  5. I'm supprised we even post this stuff... by FuzzyFurB · · Score: 5, Insightful

    I'm supprised we still post this stuff. It's a never-ending saga. People find massive holes in IE. Microsoft ignores problems. People exploit problem. Microsoft, slowly, responds. Why does half of Slashdot's users still use Internet Exploiter? Get the monkey off your back, switch to Mozilla Firebird. :)

    --
    Will Stokes Album Shaper http://albumshaper.sf.net
    1. Re:I'm supprised we even post this stuff... by Kierthos · · Score: 5, Insightful

      Some of us are required to us IE at work because the bosses won't let us install anything else. Of course, having said that, I really wonder if the bosses would notice...

      Kierthos

      --
      Mr. Hu is not a ninja.
  6. Why is URL parsing code in the kernel? by Mr.+McGibby · · Score: 5, Interesting

    The files that this patch affects reveal a little tidbit of info about how Windows is put together and it makes one ask the question:

    Why the hell does this require a kernel patch?

    --
    Mad Software: Rantings on Developing So
    1. Re:Why is URL parsing code in the kernel? by Tuxedo+Jack · · Score: 5, Interesting

      Because they forced IE to integrate into the shell. Of course, there's IEliminate and similar programs which will shred IE from the system and strip any references to it from various places, and if you install IE6 off the NIS2003 disc, you can edit the install.ini file's ShellIntegration value (set it to 0), and you can use Firebird for everything else.

      --

      Striking fear in the authors of godawful fanfiction, I am here, appearing in darkness, Tuxedo Jack!
    2. Re:Why is URL parsing code in the kernel? by RussGarrett · · Score: 4, Insightful

      It doesn't. Nothing on the MS page says it's anything to do with the kernel - it's just the usual Slashdot Microsoft-bashing-without-even-reading-the-article sentiment.

      "This issue affects Internet Explorer, a component of Windows. You should apply this update if you have Internet Explorer 5.01 or later."

      So mod me down, you know it's the truth.

  7. Deprecating username/password in URLs by Coryoth · · Score: 5, Informative

    I was under the impression that their fix was simply make http(s)://user:password@www.address.net invalid. If so, that's not so much a fix, as just deciding to break some functionality. Can someone confirm that this is what the "fix" actually is?

    Jedidiah

    1. Re:Deprecating username/password in URLs by Squarewav · · Score: 4, Informative

      I was under the impression that their fix was simply make http(s)://user:password@www.address.net invalid. If so, that's not so much a fix, as just deciding to break some functionality. Can someone confirm that this is what the "fix" actually is?
      That method of user/password should have never been alowed in the first place. Sure its easy but come on, yah broadcasting your username and password to every node along the way is such a good idea, saves some trouble of pharseing the html. not to mention any spyware that sends back what you type into the adress bar

  8. finally a username:password@ fix by swimfastom · · Score: 4, Interesting

    Patches..."A vulnerability that involves the incorrect parsing of URLs that contain special characters. When combined with a misuse of the basic authentication feature that has "username:password@" at the beginning of a URL, this vulnerability could result in a misrepresentation of the URL in the address bar of an Internet Explorer window."

    I can't believe it takes Microsoft so long to fix major flaws like this. Honestly, why does it take 60,000 programmers 60 days to fix an IE URL error?

    --
    http://tomgould.com/
  9. Here are the patches: by HungWeiLo · · Score: 5, Funny

    So you don't have to match up the knowledge base numbers in WindowsUpdate:

    Here
    Here
    Here
    Here

    --
    There are a huge number of yeast infections in this county. Probably because we're downriver from the bread factory.
    1. Re:Here are the patches: by QEDog · · Score: 4, Funny

      Can I click those, or should I type the address instead?

      --
      "There is no teacher but the enemy."-Mazer Rackham
  10. Be sure to type in that link manually. by Anonymous Coward · · Score: 5, Funny

    I saw it on tv last night. I think it was

    http://microsoft.com/download/patch/win32/2004/f eb/en/?&mid=2304520392lHKJH09728037420987&dll=LKJ2 3L4SD09UVC9432J5JS-9UDFLKJN345U9SLKJ4L5U0SJCS4

  11. Ironic given an email my mom got by MemRaven · · Score: 5, Funny
    My mom got this email this morning which purported to be from someone at Microsoft referring to this exact patch as something she could download. The only problem (aside from the fact that even my mom wouldn't have been dumb enough to type sensitive information into a form like that, AND she uses Mozilla anyway) is that the link in the email USED the flaw that it was telling her to fix.

    In other words, some email/CC#/whatever harvester decided to pull a funny and use the correction for this flaw as a way to exploit the flaw. Now that I see that the described patch is legitimate, I'm actually laughing internally at the delicious irony.

    By the time my mom got the email, the target web site had already been taken down by the sysadmin of the host.

    None of this is to condone the action of the scum who blasted the email, but come on, that took some balls.

    1. Re:Ironic given an email my mom got by lildogie · · Score: 4, Interesting

      This just points out the fundamental flaw of Windows Update: a smart hacker would attack the update process that's used to harden the system.

      Just wait.

  12. special characters? by andman42 · · Score: 5, Funny

    'A vulnerability that involves the incorrect parsing of URLs that contain special characters' in Internet Explorer

    Yeah, the special characters www.google.com now correctly parse to search.msn.com

  13. Re:At least better than the KB article :) by narfbot · · Score: 5, Insightful

    Read the new knowledge base article for more goodies. They say URL's in username:password format are no longer supported -- I read that as they removed the support for the format to fix the bug! And then read how they suggest to switch scripting (ActiveX?) to prompt before running. So with IE, they no longer have the URL parameters other browsers safely support, and you have to wade through a bunch of "Scripts are normally safe? Run anyways?" popups. =/ Don't seem like a solution for me.

  14. This is exactly why MS products are so insecure... by GoMMiX · · Score: 4, Interesting

    Every product has security vulnerabilities that are exposed to the public from time to time.... However, Microsoft seems to be the King of insecure. This is yet another example. And old news at that. The problem with Microsoft is the length of time they take to fix such horrid flaws in their software. They've had many months to produce a patch for this, and countless Microsoft users have suffered as a result. Good job, Microsoft, for proving you are a proud supporter of capitalism. You've managed to make a select few extremely wealthy by ripping off your users, using a slew of vulnerabilities that are continually left unchecked for extended periods of time. It's sad, really, Microsoft doesn't even care about the bad press anymore. They're immune to it, everyone knows their products are insecure and feel they have no alternative choice. That's going to change someday, and Microsoft is going to have to actually earn their customers by providing good [secure] products and services then. Though, I doubt it will ever matter - really. Microsoft is simply too large and too wealthy - even if no one ever bought another Microsoft product again - the company could survive forever just on it's current assets. Talk about a load of smelly poo...

  15. Fixed Indeed by quantaman · · Score: 4, Interesting

    This Internet Explorer cumulative update also includes a change to the functionality of a Basic Authentication feature in Internet Explorer. The update removes support for handling user names and passwords in HTTP and HTTP with Secure Sockets Layer (SSL) or HTTPS URLs in Microsoft Internet Explorer. The following URL syntax is no longer supported in Internet Explorer or Windows Explorer after you install this software update:

    http(s)://username:password@server/resource.ext


    Unfortunatly this isn't fixed as it should be, ie you're shown the entire link in the address bar and maybe even given a warning when you go to the site. Instead they fixed this by not allowing the '@' character in addresses as was suggested they might here. Hadn't they been saying previously that problem this was unfixable presumably the reason for disallowing the '@' alltogether rather than a real fix. I have two questions, first what kind of codebase do they have that they can't make a real fix?!? Sure it might be a bit of a pain but it's obviously possible since no other browser is affected (heck I even tried IE for mac yesterday and it handled it perfectly!). They obviously handle the url properly at some point since you visit the proper site, they should be able to display the url properly!
    Next, what is the effect of them deprecating the '@' tag? I don't recall ever seeing this in the wild and can't really see a lot of use in microsoft.com@slashdot.org, of course the example they give is username:password but I can't see any real site displaying the password in plaintext in the url, does anyone have an example of where this is used and what the effects will be?

    --
    I stole this Sig
  16. click here by danZenie · · Score: 5, Funny

    i threw away my mouse when they suggested no clicking on URLs. now they fsck it and i have now mouse, what am i gonna do? hmmm, i should post this as an "ask slashdot".

    --
    You need people like me so you can point your fuckin fingers and say, "That's the bad guy." So what that make you? Good?
  17. RFC 1738 by BSDevil · · Score: 4, Informative

    Turns out this behaviour is specified in RFC 1738 (Uniform Reasource Locator), where it defines a URL as being of the form:

    //<user>:<password>@<host>:<port>/<url-pa th>

    Although the RFC does go on to stipulate that "[s]ome or all of the parts '<user>:<password>@', ':<password>', ':<port>', and '/<url-path>' may be excluded." Oddly enough, this form is broadly defined as being the general form of URLs, but is not the form of HTTP URLs (which lack the username and password). The RFC seems to indicate that this functionality was designed with FTP in mind - anyone know if MS disabled it for all URLs, or just http ones?

    --
    Cue The Sun...
    1. Re:RFC 1738 by dzym · · Score: 4, Informative

      Confirmed to still work for FTP.

  18. Also, this fixes the scroll bar issue... by antdude · · Score: 4, Informative

    You can read the details here and here (original thread). It was caused by an update released back in November 2003.

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  19. What standards are they breaking. by ad0gg · · Score: 4, Interesting
    URL RFC

    If : is omitted, the port defaults to 80. No user name or password is allowed. is an HTTP selector, and is a query string. The is optional, as is the and its preceding "?". If neither nor is present, the "/" may also be omitted.

    They are conforming to the RFC. Username/Password is a hack. First people complain that IE doesn't follow RFC, and when they do, you still fucking complain.

    --

    Have you ever been to a turkish prison?

  20. Something really scary.... by Joe5678 · · Score: 5, Informative

    ...is the text of the update on Microsoft's Software Update Services service...

    "...For example, an attacker could run programs on your computer while you view a Web page. This affects all computers with Internet Explorer installed (even if you don't run Internet Explorer as your Web browser)..."

    although there's no mention of that in the KB article.

  21. security coverage? by Anonymous Coward · · Score: 5, Funny

    This patch doesn't cover much, it's more like a Security pastie.

  22. Here is the behavior of IE after patching.... by WD · · Score: 5, Informative

    For starters, the MS page does not list Windows Me at all in the list of supported operating systems. But checking on my parents' machine (WinMe), that very cumulative IE update is listed on WindowsUpdate. I installed the update and here's how IE now behaves.

    When going to *any* URL with an "@" in it, IE will come up with an error page titled "Invalid Syntax Error" with the content:
    The page cannot be displayed
    The page you are looking for might have been removed or had its name changed.


    Once that error message is on the screen, any attempt to go to another URL with an "@" in the screen (by clicking on the URLBar and pressing enter, or typing in a different URL with an "@" in it) will cause IE to clear the page area to go blank and the throbber will continue spinning indefinately.

    This makes it appear that there is some sort of network connectivity problem, or that IE is somehow hung up. Typing in a normal URL will show that everything is fine.

    Also, this update doesn't fix the bug where IE displays an incorrect value in the status bar, such as this one: this one.
    (Though clicking the link on that page will fail with the above described error page)

  23. Its Good Thing by byron036 · · Score: 4, Insightful

    I think this fix is a great thing. Now when my friends say "The porn sites won't work anymore" I can say "Here Try this"

    Finally Microsoft gives me a perfect answer to "But why should I switch?" questions.

  24. You know by Sycraft-fu · · Score: 4, Insightful

    It's MUCH harder to change your bank than to patch your browser. While you might still be in the student phase of life where you've got nothing but some pizza and beer money in the account, and hence not much to transfer to another bank, it can be a real pain if you have something like, say, a mortgage on a house. If you do, you have two options:

    1) Refininance at a new bank. This can cost you money, and, if intrest rates go up, give you a wrose rate.

    2) Move your checking/savings, and leave your mortgage, which means you need to do bussiness with two banks.

    Idealism with browers is all well and good but there are real world concerns with simply telling a bank to stick it in many cases.

    Some banks just suffer from a case of being stupid with browsers. One of my coworkers had a bank like that. They actually supported netscape too, but thing was they did NOT support Mozilla. I've a feeling it would actually have worked fine, but their little script checked the browser ID and refused to let him try and log in.

  25. Re:It was updated by Zeinfeld · · Score: 4, Informative
    No usernames/passwords are allowed. It's funny in this situation MS is the only one following the RFC

    The security problem was spotted back in 1993 or 1994.

    The problem was that the URI group was way out in hyperspace by then and not doing what people needed. There was an inordinate amount of effort went in to gopher URLs, the gopher losers wanted to have / be a normal character because it could appear in a Mac filename. The point about escape characters was lost.

    Most browsers killed gopher because the protocol was so insecure, you could use a gopher URL to send any string you wanted to any port you wanted, ditto for finger.

    The URIs that got used in practice were mostly the ones defined in Netscape. They did not give a wetslap for standards from the IETF or W3C, as far as they were concerned they defined the standard. They did not care much about security either, well not until it started to go embarrasingly wrong.

    --
    Looking for an Information Security student project suggestion?
    Try http://dotcrimeManifesto.com/
  26. Re:From Microsoft Security Bulletin by lsdino · · Score: 4, Funny

    1. They are convinced the monitor is actually the computer. I don't know what they think that big tower does, but since they have it piled high with boxes, blankets, and it holds up their space heater, they've more than likely forgotten that its there.

    Oh, come on, everyone knows the big tower is the hard drive! :)