Slashdot Mirror


AOL IM 'Away' Message Security Hole Found

thedude13 writes " Infoworld is running a story about a major security hole in AOL ® Instant Messenger(TM) and how it handles away messages. AIM is vulnerable to a buffer overflow via the auto-response away message mechanism. Yet another reason to switch to, IMHO, a better client such as gaim."

31 of 284 comments (clear)

  1. Major erratum in article by Eponymous+Cowboy · · Score: 5, Informative
    Unfortunately, the article this story links to has a rather large mistake. It states:
    However, AIM users would have to click on the URL to trigger the vulnerability, which will make it harder for malicious hackers or virus writers to use it in automated attacks, Weinstein said.
    This is completely and totally wrong.

    Any web page can launch URLs of the form aim:goaway?message=Anything+goes+here by many different means without user intervention:
    • Redirect response codes
    • Meta redirect tags
    • Frames
    • iframes
    • Javascript popups
    Any one of those methods will change your away message automatically, without any confirmation on your part. And if the part in the message= section is more than 1024 characters, arbitrary code can be executed on your machine.

    The only sure way to protect yourself against this is to remove the HKEY_CLASSES_ROOT\aim registry key, which will disable the AIM protocol altogether, as explained here.
    --
    It's hard for thee to kick against the pricks.
    1. Re:Major erratum in article by shird · · Score: 3, Insightful

      And, ahem, how do you get to that launch page in the first place? magic?

      Its not as if anyone can just post a meta-refresh onto the front page of google. A page/server would have to host that javascript/iframe/redirect/etc and you would have to convince someone to visit that in the first place.

      Sure, you can use social engineering to get people to visit mysite.com/hack.htm or whatever, but thats exactly what the article is saying - you need to manually visit a malicious page in the first place.

      --
      I.O.U One Sig.
    2. Re:Major erratum in article by Ieshan · · Score: 3, Insightful

      Right, because no one who uses AOL Instant Messenger ever visits websites without trying.

      Seriously, a combo exploit that affected webservers and AIM would net not only thousands of servers but thousands upon thousands of PCs. Individual PCs with no services are difficult to infect by worm with even the most minimal security settings, this would tank thousands of PCs because people are so naive when it comes to the 'net. AIM has always been "safe", they don't want to listen to how it might be "dangerous".

      Of course, AOL can push out an update to the client tomorrow, and as long as the next version has more flashing lights, people will download it right away.

    3. Re:Major erratum in article by Causemos · · Score: 5, Informative

      Except it appears no one checked this fix out completely. So long as your account has privileges to that area the registry (which many do). AIM re-creates the key the next time you restart it. I've also tried breaking the key and AIM corrects this also.

      Basically unless you run as a regular "User" or other restricted account in Windows, the AIM fix is only good for one session of AIM.

      Victor

  2. A reason to sit at the computer? by asciono · · Score: 5, Funny

    Whatever you do, don't leave the computer. Oh, nice reason to sit more at the computer. :)

  3. more buffer over flows by RLW · · Score: 5, Insightful

    When are we going to learn to incorporate bounds checking in to everything ? We have the CPU cyclces.

    1. Re:more buffer over flows by bs_testability · · Score: 3, Insightful

      I'm not having any more luck getting developers to incorporate self test, bounds checking,
      and testability access points than I am trying to get my kids to eat vegetables.
      Even tying bonuses to it motivates few.

    2. Re:more buffer over flows by Bedouin+X · · Score: 3, Interesting

      I wonder if my newly acquired NX protection (just installed XP SP2) will protect me from this. I use Trillian Pro anyway but if anybody has a link, I'd like to see.

      --
      Dissolve... Resolve... Evolve...
    3. Re:more buffer over flows by pjt33 · · Score: 3, Insightful

      When everyone uses Java or OCAML rather than C(++).

    4. Re:more buffer over flows by Proaxiom · · Score: 4, Interesting
      I don't think it's too much to ask for people who actually get paid to write this stuff to validate input, no matter where it comes from.

      Validating input against assumptions is easy. The hard part is identifying all the assumptions we have to validate against. We often assume things about input without realizing we are assuming them.

      For instance: Not too long ago few programmers had any idea they should check input values for SQL control characters before passing it to a database script. They assumed input wouldn't contain any, without realizing they were so assuming.

      It's true that many bugs arise from unchecked string lengths, and those are usually pretty easy catch (and to fix), but resolving those problems will only take care of a subset -- though probably a large subset -- of the input-related security flaws out there.

  4. Obvious solution. by Masque · · Score: 5, Funny

    This vulnerability only affects those rare few that actually leave their computers and do things in the "real" world.

    Those rebels deserve whatever they get.

  5. But.... by lachlan76 · · Score: 3, Interesting

    Do many people put links in away messages anyway? Wouldn't people think it was strange that there is a link to something they've never heard about in an away message? I've never used AOL, so can someone tell me if you can use a text link, or is it only a URL?

  6. Needs user assistance by LostCluster · · Score: 3, Informative

    There is not going to be an auto-spreading worm based on this hole. From the article: "AIM users would have to click on the URL to trigger the vulnerability..."

    AIM-based worms that need user clicks to spread have already existed for a while. I've already seen one that tempts people to a page that offers a malware ActiveX download, and if the user accepts their AIM profile is changed to advertise the malware site without them realizing what they've done.

    So, in short, this one's bad, but there's a pretty easy workaround that'll keep you safe: Hover over the hyperlink before you click on it to see the URL. If it's a mile long, don't click on it.

  7. Jabber & Google by MarcoPon · · Score: 3, Insightful
    I just hope that Google launch a Jabber based IM system; it will be a major boost to the adoption of Jabber's servers as an open standard.
    It could also seamlessy integrated with GMail, using the same id both as the e-mail address and as JID.

    Bye!

    --

    SeqBox
  8. GAIM? Trillian? by Black.Shuck · · Score: 3, Informative

    Miranda. Choice is good. :)

  9. or... for win32bies... by doppleganger871 · · Score: 3, Informative
  10. My God! by Anonymous Coward · · Score: 4, Funny

    Fortunately, most of AOL users are known to be savvy enough to find some work-around until patches are available.

  11. Re:gaim Bug by gtaluvit · · Score: 4, Insightful

    October of 2003 wasn't "just found" not to mention you have to install a plugin that doesn't come with gaim by default. We're talking default configuration on windows compared to a nonstandard configuration on some OS. Apples and oranges.

    --
    - gtaluvit (prnc. GOT-tuh-LUV-it)
  12. Coincidental... by GillBates0 · · Score: 4, Interesting
    I've been assigned a task of choosing the best IM service/client for our group at work and will be recommending Gaim (correct capitalization) at a meeting today.

    The decision was mostly because of it's cross-platform, cross-service compatibility and "Buddy Pounce" features (and because it's my personal favorite too :)). This way folks can continue to use their personal MSN/AIM IDs without a problem. The Buddy Pounce feature allows a script/macro to be run in response to an event - this feature is particularly useful for us because we can kick of an SMS message for example in response to a message or another event.

    Though they don't release Solaris binaries, I did get it to build on Solaris/SPARC with a little effort. I know the Yahoo Messenger UNIX version is open source now, so I could probably try and build it for obscure platforms, but it is IMHO severely cripped compared to the Windows counterpart.

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
    1. Re:Coincidental... by accessdeniednsp · · Score: 3, Informative

      And don't forget about the gaim-encryption plugin!

      http://gaim-encryption.sf.net

      Cross-platform, and uses the mozilla NSS libraries which gaim already uses too!

  13. oh god by TechnologyX · · Score: 5, Funny

    "However, AIM users would have to click on the URL to trigger the vulnerability, which will make it harder for malicious hackers or virus writers to use it in automated attacks, Weinstein said."

    Yeah, this wouldn't be such a problem if the average IQ of an AIM user was above 2

    MizzIz283334: "LIke, OMG Iz just gots a linky from somewhere!!!11!!oneoneone"
    IzLikeBoizzz435435: "OMG u clic it?"
    MizzIZ 283334: "OMG WTF BBQ My computer died!!!"

    --
    Slashdot sucks
  14. gaim by minus_273 · · Score: 4, Interesting

    seriously is gaim really a better client? It alwasys seems to me like the unauthorized clients are a generation behind the real ones. Back when file sharing was big, gaim could not do it. Then buddy icons, gaim could not do it. No gaim can do those, but the big thing is voice and video, gaim cant do those.

    --
    The war with islam is a war on the beast
    The war on terror is a war for peace
  15. Gaim works by DrYak · · Score: 5, Insightful
    that they should use bug-ridden software is the wrong way to get them to like it. Gaim is only in version 0.81. Wait till it hits 1.0 before telling people to use it.


    {thongue in cheek mode:ON}
    Apparently you have no idea what Open Source Software is either
    {/thongue in cheek mode:OFF}

    More seriously : Unlike proprietary software, a opensource software whose version number is less than 1.x usually means more "warning: Not all cool function you would like to see are implemented yet" rather than "This software is an expreminental piece of crap, that will keep crashing your OS, please wait until we get out of beta stage before testing it, unless you backup your data often".

    Personnaly I've been using Gaim since version 0.5x both under linux at home and under windows at work, and I can say : It's pretty stable. I've been telling my brother and my friends about it and they are happy too.
    The only reason it hasn't reached the 1.x milestone isn't because of the bugs, but because there are some features it's still missing (Mainly : some kind of file upload are missing, although things are a lot better since 0.80 ; Support for Webcams, etc ...)

    This is a common misconception, and a lot of newbie users can be heard complaining "Linux distro sucks, It' only full of bug ridden software : everything is version 0.xy"

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  16. Bugfree OSS by brianerst · · Score: 5, Informative
    Thank god there have never been any buffer overflow bugs in Gaim!

    We can all sleep better now.

    1. Re:Bugfree OSS by brianerst · · Score: 3, Informative
      Well, according to e-matters, a series of 8 different buffer overflow bugs were disclosed to gaim developers on January 4, 2004. A new gaim client (0.75) was released on January 10, but this only fixed one of the overflows and introduced four new ones.

      On January 15, gaim development was emailed patches for all 11 existing bugs. A patch was added to CVS that evening, but there was no 0.76 release and no public disclosure by gaim dev (at least on their Sourceforge page - there may have been something sent to the mailing list). On January 23, e-matters let gaim dev know that they would release the bug report on January 26. On January 25, gaim dev replies that there is no timeframe for a 0.76 or bug-fix release. On January 26, e-matters publishes the bug report.

      On January 28, gaim dev responds with a note saying they are far from a 0.76 release and provides a link to the FreeBSD source patch. Not much use to your average teenage Windows IMer. There may have been an executable patch, but I can't find any evidence of one.

      On April 1, gaim release 0.76, the first release with the bug fixes is released. This has taken so long because:

      Well, life has struck hard on the Gaim camp and we've been too busy with other things to provide with prompt Gaim releases.

      This is no slam on gaim - the devs have lives outside of gaim and I'm glad they're providing a great OSS client. But like anything, there are pros and cons to both OSS and commercially developed software. Assuming that OSS is always more responsive, more bugfree, and better in every other way is naive. There are tradeoffs involved in libre software - most are well worth it, but there can be downsides occassionally too.

  17. Gaim? by illuminatedwax · · Score: 3, Interesting

    I use gaim regularly, but I still haven't weened myself off the official AOL Linux AIM client because gaim still crashes every time I try to send or receive a file. Never have I seen a feature for an OSS program be so seemingly painful and difficult to implement.

    --Stephen

    --
    Did you ever notice that *nix doesn't even cover Linux?
  18. Gaim not a full-featured alternative by mccalli · · Score: 3, Insightful
    The smug "switch to Gaim" comment rather let the side down there, I think. Gaim is not a full-featured replacement. The particular deficiency I'm referring to is common to many alternative IM clients - yes, they all handle chat but very few go the whole hog and support video chats. Alternative MSN client supporting video? Not that I can find, though I'd be happy to be proved wrong here.

    A quick search reveals a fork of the Gaim project here, which, err, aims to add video functionality. Looks good from the shots, though I haven't tried it myself.

    The point of this is that people should think things through before just spouting off the top of their head. It doesn't help to have people say "yeah, use this free alternative!" and then have people turn round and say it doesn't work. I'd love to recommend a non-AOL AIM client to people, but until AV is handled I simply can't. Same for MSN -all very nice for text and file transfer, but not up to scratch for the advanced functions yet.

    Cheers,
    Ian

  19. Re:I use Gaim because it's the best in Linux by the_rev_matt · · Score: 5, Informative

    I've been using GAIM on XP at work for 4 months now. It has had a total of one problem, when Yahoo changed protocols to screw third party IM clients. Downloaded the new version of GAIM less than 24 hours later and it worked fine.

    I have encountered zero bugs with GAIM, which I consider very unusual for anything running on Windows.

    --
    this is getting old and so are you

    blog

  20. Re:worm/virus? by TeddyBare · · Score: 5, Funny

    Would't you have to be a "less knowledgeable" user to use AOL in the first place?

  21. a more secure approach by feepcreature · · Score: 4, Interesting
    I don't think it's too much to ask for people who actually get paid to write this stuff to validate input, no matter where it comes from.

    Validating input against assumptions is easy. The hard part is identifying all the assumptions we have to validate against. We often assume things about input without realizing we are assuming them.

    The more secure approach is not stripping out possibly dangerous input - it is only permitting the minimum necessary. It's not always possible, but it should be applied where possible.

    So if it's a phone number, just numbers (and brackets and a plus for international numbers, and maybe minuses for the transatlantic cousins).

    Naturally there is a tradeoff between security and usability - especially if you make a mistake in the permitted characters :-(

    Even if you're not going that far, anything that looks like an escape character of any sort should generally be banned. Of course, some names have apostrophes, which could look like 'close quotes' if your app is especially dim.

    Just as well there is no strict liability for software bugs!

    --
    Paul "Say no to feeping creaturism"
  22. Why all the AOL bashing? by huchida · · Score: 4, Funny

    I use AOL broadband and love it. Sure, I could have bought Earthlink and connected to the Internet... But with with AOL I can connect to both the Internet AND the World Wide Web!