Slashdot Mirror


Worm Wriggles Through Yahoo! Mail Flaw

Jasen Bell writes to mention a ZDNet article about a clever new worm affecting users of Yahoo!'s email service. The virus uses a flaw in JavaScript to infect a computer when an email is opened from the user's web-based mail. From the article: "The worm, which was spotted in the wild early this morning, has hit the remote server more than 100,000 times, forwarding Yahoo e-mail addresses harvested from unsuspecting users, Turner said. Although the worm is spreading quickly, and no patch has been issued, Symantec is rating the threat a '2.' The security vendor uses a 1-to-5 rating system, with '5' as its most severe category."

39 of 186 comments (clear)

  1. Fell for this yestereday by neonprimetime · · Score: 2, Informative

    Yamanner arrives in a Yahoo mailbox bearing the subject header "New Graphic Site."

    Damn ... I opened an email like this yesterday ... the reason being was because it was "from" one of my friends (they were marked as the sender). As soon as it opened I knew I f!cked up ... per a Javascript popup window shooting up ... grrr ...

  2. Fixed. by Se7enLC · · Score: 3, Insightful

    Fixed: At the time of the advisory, there was no patch for the vulnerability. But by later on Monday, Yahoo said it had come up with a fix for the flaw, which it said had affected very few of its customers.

    I have to say I agree with the low threat level. All the virus does is propogate and collect email addresses, and only on yahoo. If you have a yahoo email address, you're getting spam anyway, so how will you even know the difference?

    1. Re:Fixed. by tehwebguy · · Score: 2, Funny
      yes, actually i was the one who came up with the fix for it.
      it went something like this:
      $body = strip_tags($body);
      --
      -- lol pwned
  3. First reported by Billosaur · · Score: 4, Insightful

    Yesterday by The Register

    My question is: who thought it was a good idea to enable JavaScript in emails? Someone at Yahoo! wasn't paying attention to basic security.

    --
    GetOuttaMySpace - The Anti-Social Network
    1. Re:First reported by Sloppy · · Score: 2, Funny
      My question is: who thought it was a good idea to enable JavaScript in emails?

      My question is: who thought it was a good idea to enable Javascript in web browsers?

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    2. Re:First reported by ch-chuck · · Score: 2, Funny

      Somewhere, there's an advertising executive with big bucks who thinks it would be a great idea to enable ring-0 kernel mode privilidged assembly code in email so they can not only install a new graphics driver, but also set the screen resolution and audio level to appropriate levels for optimum customer experience of their special purchasing opportunity announcements.

      --
      try { do() || do_not(); } catch (JediException err) { yoda(err); }
    3. Re:First reported by Bogtha · · Score: 3, Informative

      The article is wrong when it claims that it's "a flaw in JavaScript", it's a flaw in Yahoo's webmail. So the answer to your question is almost certainly: nobody thought it was a good idea to enable JavaScript in emails, the developers working on Yahoo's webmail didn't escape things properly and nobody was doing decent QA to catch the mistake the developers made. So basically, it's a management error.

      There doesn't seem to be detailed technical information available anywhere, but it sounds very much like it's just a specialised form of an XSS attack, where you sneak code into the application in such a way that the application doesn't encode it properly for output to another user.

      --
      Bogtha Bogtha Bogtha
  4. Re:Very interesting by o'reor · · Score: 2, Insightful

    The article only mentions the systems affected (only Windows systems apparently) but not the browsers. However, it is the browser that executes the Javascript code, which steals the e-mail addresses from the Yahoo! address book. So, are they sure that a Linux-based system with Mozilla (such as mine) would not be affected by the worm ?

    --
    In Soviet Russia, our new overlords are belong to all your base.
  5. Medireview virus attacks yahoo. by leuk_he · · Score: 4, Interesting

    I thought the security of yahoo would have captured a old javascript virus by now. Bu i do not understand: how can this javascript break out the browsers? isn't yahoo just a webmail website? then how would the local pc be affected? why would you have to scan your pc as symantic tells you?

    Ok, the virus can send a lot of e-mails and break the yahoo mail system. or si there something about yahoo mail i do not understand?

    1. Re:Medireview virus attacks yahoo. by larkost · · Score: 4, Informative

      The poster's question is valid. He/she is asking if the JavaScript worm can actually do anything other that work within the browser, as in how can the worm "infect" the computer. The answer is that it can't. It only harvests the email addresses that are on your Yahoo addressbook, and emails itself to them, once again though Yahoo. So everything is done within the browser, and there is no compromise outside the browser's sandbox.

      With a little creativity, this could be extended to grab a file off the HD, and send the data to any site it chose, but it does not sound like that is the case here.

  6. Re:Not everyone affected... by neonprimetime · · Score: 3, Informative

    you could also not open werid emails from people you don't know

    Yeah, but this spreads via your Yahoo! contact list ... and thus I received this worm email "from" one of my friends ... so it's not just coming from random accounts, it's coming from people who have you in their contact list.

  7. Symantec by omeomi · · Score: 3, Insightful

    Symantec is rating the threat a '2.'

    The lowball number is interesting, especially given the fact that Symantec is the company charged with the task of keeping an outbreak like this from happening:

    Symantec to scan Yahoo Mail for viruses

    1. Re:Symantec by Justin+Shreve · · Score: 2, Insightful

      The article you linked to mentions that it is Symantec's job to scan Yahoo attachments for viruses.

      This Worm that we are talking about though is not even passed via attachments so there is no way (with the agreement mentioned in that article) that Symantec can actually clean it for Yahoo.

      "Unlike its predecessors, which would require the user to open an attachment in order to launch and propagate, JS-Yamanner makes use of a security hole in the Yahoo! web mail program in order to spread to other Yahoo! users."

      This bug will have to be fixed server side by cleaning out the Javascript that is still being allowed in email messages. This is something I doubt Yahoo gave Symantec access to do.

  8. Exploits a javascript bug? by NynexNinja · · Score: 2, Insightful

    The article is lacking many details, like specifically which browsers seem to be vulnerable to this problem, or even if this is a browser bug that it is exploiting.... It could be a server side problem they are exploiting, or a client side browser bug. It says the vulnerable systems are every Windows OS, so it appears to be a client side problem with Internet Exploder, although from the article it is impossible to determine this.

    1. Re:Exploits a javascript bug? by 99BottlesOfBeerInMyF · · Score: 2, Funny

      The article is lacking many details, like specifically which browsers seem to be vulnerable to this problem, or even if this is a browser bug that it is exploiting.... It could be a server side problem they are exploiting, or a client side browser bug.

      It is a server side bug. They allow javascript to run in mail messages.

      It says the vulnerable systems are every Windows OS, so it appears to be a client side problem with Internet Exploder

      I saw it work under OS X 10.4 and Safari in my GF's account. For slightly more info check out this link.

  9. Re:"This worm is a 2." by BobVH · · Score: 3, Informative

    Just copy-pasted this off symantec:

    Category 5 - Very Severe
    Highly dangerous threat type, very difficult to contain. All machines should download the latest virus definitions immediately and execute a scan. Email servers may need to come down. All three threat metrics must be High.

            * Wild: High
            * Damage: High
            * Distribution: High

    Category 4 - Severe
    Dangerous threat type, difficult to contain. The latest virus definitions should be downloaded immediately and deployed.

            * Wild: High
            * Damage or Distribution: High

    Category 3 - Moderate
    Threat type characterized either as highly wild (but reasonably harmless and containable) or potentially dangerous (and uncontainable) if released into the wild.

            * Wild: High
                or
            * Damage: High and Distribution: High

    Category 2 - Low
    Threat type characterized either as low or moderate wild threat (but reasonably harmless and containable) or non-wild threat characterized by an unusual damage or spread routine, or perhaps by some feature of the virus that makes headlines in the news.

            * Damage: High
                or
            * Distribution: High
                or
            * Wild: Low or Moderate

    Category 1 - Very Low
    Poses little threat to users. Rarely even makes headlines. No reports in the wild.

            * Wild: Low
            * Damage or Distribution: Low

  10. Can't we all just leave each other alone? by NotQuiteReal · · Score: 3, Funny

    Ironically, those of us with no contacts in our yahoo mail make for the best of friends!

    --
    This issue is a bit more complicated than you think.
  11. Spread? by argStyopa · · Score: 2, Interesting

    I just got a wave of mails in my gmail box that are from random senders, with multiple small 1-4k attachements.

    Anyone have any idea if this works on/through gmail too?

    --
    -Styopa
  12. Re:JavaScript and CSS by fputs(shit,+slashdot · · Score: 2, Funny
    Redesign CSS now so it does not depend on enabling JavaScript.
    Try:
    crack-cocaine { smoke: false; }
    --
    I am the bastard of base minus 12! Turing was the ejaculate of my complete machine!
  13. Here ya go by hal9000(jr) · · Score: 2, Informative

    from Learn about threat levels.
    ThreatCon Level 1
    Low : Basic network posture This condition applies when there is no discernible network incident activity and no malicious code activity with a moderate or severe risk rating. Under these conditions, only a routine security posture, designed to defeat normal network threats, is warranted. Automated systems and alerting mechanisms should be used.
    Threatcon Level 2
    Medium : Increased alertness
    This condition applies when knowledge or the expectation of attack activity is present, without specific events occurring or when malicious code reaches a moderate risk rating. Under this condition, a careful examination of vulnerable and exposed systems is appropriate, security applications should be updated with new signatures and/or rules as soon as they become available and careful monitoring of logs is recommended. Changes to the security infrastructure are not required.
    Threatcon Level 3
    High : Known threat
    This condition applies when an isolated threat to the computing infrastructure is currently underway or when malicious code reaches a severe risk rating. Under this condition, increased monitoring is necessary, security applications should be updated with new signatures and/or rules as soon as they become available and redeployment and reconfiguration of security systems is recommended. People should be able to maintain this posture for a few weeks at a time, as threats come and go.
    Threatcon Level 4
    Extreme : Full alert
    This condition applies when extreme global network incident activity is in progress. Implementation of measures in this Threat Condition for more than a short period probably will create hardship and affect the normal operations of network infrastructure.

  14. Behavior by kevin_conaway · · Score: 2, Informative

    The article doesn't really mention the behavior of the worm and is actually slightly misleading. It doesn't "infect" your computer per se, it harvests your address book contacts and then spams them. From a different article:

    Once executed, the worm forwards itself to an infected users' contacts on Yahoo! Mail. It also harvests these address and sends them to a remote internet server. Only contacts with an email address of either @yahoo.com or @yahoogroups.com are hit by this behaviour.

  15. Here is the Source, Luke. by fatboy · · Score: 3, Informative

    Lameness filter got me. Here is a link.

    --
    --fatboy
  16. Crime and punishment by erroneus · · Score: 3, Interesting

    In short, I believe there should be some very stiff penalties to pay if it is proven that someone has written and deployed malware of this sort. There should be prison time and forfeiture of any money and assets acquired as a result of gains from this activity.

    People often complain that punishment is too severe for this otherwise 'harmless' activity (and often compared to more heinous crimes such as assault, robbery, murder sex/child related crimes) and that damages are quite often exaggerated beyond reason. I can't say much about exaggerated damages, but I can say that in addition to other classifications of crimes, I also consider the following:

    Planned/premeditated or not. Many aspects of the more heinous crimes where punishment is often less than these "white collar" crimes are not planned or premeditated. They are driven by little more than emotional or other motives. There is something more cold, more dark and indeed more arrogant when it comes to crimes such as the act of creating and deploying an internet worm. There is no question that what they are doing is immoral and illegal. They perform the act believing they will not be caught, that they will profit from the act and seemingly that it is somehow their right to take advantages of weaknesses in security simply because they are 'superior' in some way.

    I see a noticable decline in the amount of spam in my inboxes of late. People claimed that the current federal legislation regarding spam wasn't enough and yet I see stories of people being prosecuted under these law successfully and when these people are put out of business, most all see a difference -- an improvement. It's working.

    We don't need more legislation, but we do need to up the level of aggression in persuing these people and up the amount of punishment they are given when they are caught. While they are thinking about their planned attacks, they need to have cause to consider the potential cost to their lives as well.

  17. The subject field is important by trifish · · Score: 2, Informative

    If you did not open a mail whose subject was "New Graphic Site", you are not infected.

    Reference: Symantec advisory at http://securityresponse.symantec.com/avcenter/venc /data/js.yamanner@m.html

  18. "a flaw in JavaScript"? by bcmm · · Score: 2, Insightful

    A flaw in whose JS implementation then?

    --
    # cat /dev/mem | strings | grep -i llama
    Damn, my RAM is full of llamas.
  19. Re:"This worm is a 2." by format1337 · · Score: 2, Funny

    we're at terror alert orange! Which means something might go down somewhere in some way at some point in time. So look sharp!

  20. Re:Javascript == web security problem number 1 by GabboFlabbo · · Score: 2, Funny
    Users: disable javascript Devs: Make sure your site is functional without javascript What's so difficult to grasp here?
    I agree 99%. I'd also recommend turning off your computer and hiding under your desk.
  21. The warm may not be as "innocent" by trifish · · Score: 4, Informative

    Some people tend to think that this worm is harmless (just "spreading itself"). But the worm actually sends the harvested email adresses to an external site - www.av3.net [which I wouldn't dare to browse to].

    Here are the technical details of the worm:

    1) Arrives on the compromised computer as an HTML email containing Javascript. The email may have the following characteristics:

    From: Varies
    Subject: New Graphic Site
    Message body: Note: forwarded message attached.

    2) Once the email is opened the worm exploits a vulnerability in the Yahoo email service to run a script.

    3) Sends a copy of itself to certain email addresses gathered from the Yahoo email folders.

    4) Targets email addresses from the @yahoo.com and @yahoogroups.com domains.

    5) Contacts the following URL:

    [http://]www.av3.net/index.htm

    6) Sends a list of email addresses gathered to the above URL.

    1. Re:The warm may not be as "innocent" by mamer-retrogamer · · Score: 2, Informative

      If not a full-fledged email harvester, it may well be a simple proof of concept. I went to the above site from a sandboxed browser on an obscure platform and other than an innocent enough looking graphics site, I found it was hosting a webstats4u counter. If not after the (relatively spam-laden) Yahoo email addresses, this may well be what the originator of the virus was targeting--just a test to see what kind of traffic this virus could achieve. Looking at the following graph: Page views per day, it appears the site had virtually no traffic on or before June 10th. All of a sudden (when the virus was released, I assume), it got 34,925 hits on June 11th and then an incredible 149,438 hits on June 12th. Not surprisingly, the majority of this traffic originated from the United States (that is where Yahoo's servers are, right?). Interestingly, 5% of the total hits came from Iran.

      --
      Schrödinger's cat is not amused—maybe.
    2. Re:The warm may not be as "innocent" by houghi · · Score: 2, Informative
      www.av3.net [which I wouldn't dare to browse


      I did.
      1) whois info:
      Domain name: av3.net
      Registrant Contact:
            Whois Privacy Protection Service, Inc.
            Whois Agent (skxbmllxtv@whoisprivacyprotect.com)
            +1.4252740657
            Fax: +1.4256960234
            PMB 368, 14150 NE 20th St - F1
            C/O av3.net
            Bellevue, WA 98007
            US

      2) houghi@penne : curl -I www.av3.net
      HTTP/1.1 302 Object moved
      Cache-Control: private
      Date: Tue, 13 Jun 2006 15:59:04 GMT
      Content-Length: 130
      Content-Type: text/html
      Location: index.htm
      Server: Microsoft-IIS/6.0
      X-Powered-By: ASP.NET
      Set-Cookie: ASPSESSIONIDSAQBADAB=KMGNFCDDPDDGAMKAALGJLHNP; path=/

      3) MX record for av3.net:
      av3.net. 3600 IN MX 10 mail.av3.net.
      4) houghi@penne : geoiplookup 66.226.21.250
      GeoIP Country Edition: US, United States

      5) The page itself is about graphics and animations.
      Google cache

      6) From the frontpage:

      So perhaps that site is hacked in itself to forward the emails.
      --
      Don't fight for your country, if your country does not fight for you.
  22. Your "JavaScript"? by Elixon · · Score: 3, Insightful

    "flaw in JavaScript" - you really mean "flaw in JavaScript" or flaw in the implementation of the so-called "JavaScript"? I mean - all browsers with "JavaScript" are affected? Including mobile devices, linuxes, unixes...?

    --
    Well, I've got to get back to work. When I stop rowing, the slave ship just goes in circles.
  23. Re:This is an example of webmail's suckiness by oni · · Score: 2, Insightful

    Using cryptographic signatures to verify that an email is really from your friend, before you trust its contents, simply isn't an option.

    well, the email *was* from his friend. His friend was infected. If his friend was using a standalone email client and using cryptographic signatures, then most likely, his friend would have entered his password for PGP or whatever, and that password would be stored in memory, and then when the virus took over his account and started sending mail, the virus would sign the mail.

    So in this particular instance, I don't see how a standalone client would help things.

  24. Why isn't Yahoo saying anything about this? by shotgunefx · · Score: 2, Insightful

    Don't see anything on the home page, my.yahoo, or even the login page of yahoo mail.

    That's pretty shitty. How hard would it be to add a warning and some helpful directions to the template of the login page?

    --

    -William Shatner can be neither created nor destroyed.
  25. Re:This is an example of webmail's suckiness by bobcat7677 · · Score: 2, Insightful

    I agree with the parent on the bullet points, but I think the conclusion "death to webmail" is barking up the wrong tree. The real issue goes back to point number two: rendered in too powerful an environment. If e-mail was ALWAYS treated as text, instead of trying to support HTML and mime types blah blah then having a safe webmail interface would simply mean a control that shows the text as text only with no possible execution. Simple and what e-mail was always meant to be. If you need to send "pretty" stuff then send it as an attachment and let that be what it is.

  26. Re:Makes you wonder. by hesiod · · Score: 2, Interesting

    > The worm itself (at least from the description here) sounds relatively serious

    Huh? All the descriptions I've seen say it just forwards itself to people in your Yahoo! contact list. I've seen nothing about it doing any damage to your PC, browser, or even your Yahoo! mail account. How is that worthy of a rating more than two? Unless I'm missing something, 2 sounds too high. Is there some other evil effect that was discovered and not posted in the messages I've seen so far?

  27. Re:This is an example of webmail's suckiness by Anonymous Coward · · Score: 2, Insightful

    I don't have a problem with rendering HTML in webmail or any other mail. Javascript is not HTML, however, and should NEVER be activated with webmail. A proper webmail client needs to filter out all script tags before display. They are not needed.

  28. You should try Yahoo! POPS by Friar_MJK · · Score: 2, Informative

    Do a search on Sourceforge for it. Let's you download all your Yahoo mail with any POP3 compatable client. There are others for hotmail and other services, but of course Yahoo POPS is the relevant one to this issue. As you can see, there is already an incentive to start using it instead - keeps away those nasty web-based worms. You can always still disable images/javascript in your e-mail client just the same as your browser. Think how many times do you need javascript on to read an e-mail versus make a website work? Problem solved.

  29. Yay for NoScript! by gardyloo · · Score: 2, Interesting

    Bless Firefox and the NoScript (https://addons.mozilla.org/firefox/722/) extension.

  30. Here's the flaw that's exploited by fizbin · · Score: 3, Informative

    It's fixed on yahoo's servers now, but according to the source link posted earlier, the flaw that's being exploited seems to be a bug in how yahoo parses html attributes. The bug sends itself as:

    <img src='http://us.i1.yimg.com/us.yimg.com/i/us/nt/ma/ ma_mail_1.gif'
    target=""onload="whole bunch of crappy javascript here that uses only
    single quotes and just goes on and on">

    Note the lack of a space between the 'target' bit and the 'onload' bit. Now, apparently "target" is one of the HTML attributes that yahoo allows through on an IMG tag (why?). Anyway, it appears that yahoo's servers see both the target and the onload bit as one big long target attribute and let it through, whereas most browsers see that as a separate "target" and "onload" attribute and execute the javascript as soon as the image (one of the standard yahoo mail images, so it'll likely already be in the browser cache) is loaded.

    The lesson here? I'm not really sure, beyond "double- and triple-check your parsing routines, since they will be used in security-sensitive code".