Slashdot Mirror


Winamp Skin Exploit in the Wild

An anonymous reader writes "Secunia.com has announced an exploit (derived from xml escaping the Internet zone into IE's local zone) that exploits Winamp's habit of automatically installing skins. Currently all versions of Winamp are affected. Details on the Winamp forums - apparently an exploit is already in the wild, and spreading."

54 of 397 comments (clear)

  1. yet another way... by ryane67 · · Score: 5, Funny

    to compromise a system..

    Luckily the masses of windows users are content to use windows media player which should slow the spread of this.

    --
    ?SYNTAX ERROR IN LINE 42
    1. Re:yet another way... by BoldAC · · Score: 4, Insightful

      Yet another way?

      Seems like the same old crap to me...

      You convince some sucker to download and load something that isn't what it says it is. We've reported aim exploits that hide themselves as screensavers recently.

      It's a major security problem when a program blindly executes something. Period.

      It's a major security problem when people download untrusted winamp skins on IRC.

      What can you do?

    2. Re:yet another way... by black+mariah · · Score: 5, Funny
      What can you do?
      Well, when I'm dictator it will be legal to punch people in the face for doing stupid shit like that. Ought to help out a bit. Imagine a technician comes to your home, you tell them what's wrong and what you did... WHAM! A nice fist in the face. Hell of a deterrent, that.
      --
      'Standards' in computing only impress those who are impressed by things like 'standards'.
  2. Damn you Britney! by ZipR · · Score: 5, Funny

    I knew that your oh-so-sexy winamp skin would be my downfall.

    1. Re:Damn you Britney! by Anonymous Coward · · Score: 3, Funny

      I think this we can blame Frank Sinatra for this one though...

      I've got you under my skin
      I've got you deep in the heart of me
      So deep in my heart, that you're really a part of me
      I've got you under my skin

    2. Re:Damn you Britney! by argStyopa · · Score: 3, Funny

      I knew that your oh-so-sexy winamp skin would be my downfall.
      Well duh.

      Pretty Girl + Virus = trouble in just about any context.

      Throw "wife" into the equation and the result may be expressed both in terms of $$ and an unreal number.

      --
      -Styopa
  3. Mozilla by linuxci · · Score: 5, Insightful

    One of the winamp betas had the option to use the mozilla engine rather than the IE one. Shame they never spent more time on this feature then they could easily tell people they could fix this exploit by turning off the MS Engine.

    1. Re:Mozilla by JanusFury · · Score: 4, Informative

      Yeah, I remember that option. Funny, it never worked. I'm still not sure if it was Nullsoft's fault, or if moz embedding is just flaky. I can't really think of any apps I have that embed Gecko - it's all pretty much IE these days.

      --
      using namespace slashdot;
      troll::post();
    2. Re:Mozilla by linzeal · · Score: 3, Insightful
      Isn't nullsoft part of AOL, which funded netscape which created most of the mozilla engine?

      Using anything from Microsoft's API in this day and age of alternatives is lazy programing, imho.

    3. Re:Mozilla by Anonymous Coward · · Score: 5, Informative

      This isn't a IE exploit. It can affect Firefox too if your not carefull. It's entirly an Winamp exploit, cause even in firefox it will prompt you to download the file, and open it... if you open it, you're affected. :/

      The link is dead now, but I'm guessing the exe file just looks to see if mIRC is running, and gets the path, and extracts+runs some mIRC scripts. Classic trojan technique. Really not terribly difficult to make.

      ^^^
      taken from Winamp Forums.

      So does it matter?

    4. Re:Mozilla by unixbob · · Score: 4, Informative

      not quite. It's a cross browser problem because whatever browser you use will pass the .wsz or .wal straight to winamp. But the embedded browser in winamp (which is IE) executes an .exe that's included within the .wsz archive because it thinks it's being run from the local zone instead of the Internet Zone. Therefore it's a bug in IE and Windows (and winamp).

      The bug isn't that the browser passes the file to the correct handler app, but that the app itself executes code it shouldn't.

      --
      The Romans didn't find algebra very challenging, because X was always 10
  4. Can I name the worm?? by Lux · · Score: 4, Funny

    I propose "flensing."

  5. Further evidence that skinning is stupid by pestie · · Score: 5, Funny

    Seems to me I was just bitching about skinning and mentioned that security holes were one possible (but unlikely) down-side. I love when the universe makes my point for me.

  6. Am I the only one... by psoriac · · Score: 4, Interesting

    who unchecks every option in any program I install that begins with "Automatically [check for/download] and install ..."?

    --
    I browse Slashdot at +3, Funny
    1. Re:Am I the only one... by telstar · · Score: 5, Funny

      I dunno, but I like posts whose entire message changes if you neglect to read the subject.

  7. Simple solutions by JLSigman · · Score: 5, Informative

    Don't get your skins from anyone but WinAMP.

    OR

    Don't use skins at all.

    --
    -jls
    Techno-pagan
    1. Re:Simple solutions by fulana_lover · · Score: 3, Informative

      the article mentioned specifically the problem is that wsz skins are able to escape IE's security policies and run as local computers when sent as XML files, so a malicious website (or HTML email, message board posting, etc) could automatically run the exploit without even your knowledge... time to uninstall winamp...

    2. Re:Simple solutions by _Sprocket_ · · Score: 5, Informative


      Don't get your skins from anyone but WinAMP.


      That would be fine advise if the victims knew they were downloading a Winamp skin. The link, however, looks like it is an image file:
      http://socold.de/stuff/schnappi_death.jpg <----- LOOOOOOOOOOOOOOOOOOOOL
      Going clicky-clicky (or otherwise following the link) exacuted a PHP script which would serve up a winamp skin. Since many users have their browsers automagically handle Windamp skins, it would immediately get handed off to Winamp to execute. The skin linked to several files that eventually called an executable within the skin package which in turn loaded one's mIRC client with a script that spat out the above message.

      The victims probably didn't know what hit them.
  8. As long as... by Anonymous Coward · · Score: 3, Funny

    Just as long as the exploit isn't used to install SP2 were all safe.

  9. All versions are affected? by httpamphibio.us · · Score: 4, Informative

    The Securia.com link in the profile says that only Winamp 3.x and 5.x. But doesn't mention 2.x... the vast majority of Winamp users I know don't use 3.x or 5.x due to the massive feature bloat.

    Is 2.x actually susceptible or is the submitter incorrect?

    --
    sig.
    1. Re:All versions are affected? by Will+Fisher · · Score: 5, Informative

      Winamp 2 is NOT affected. Winamp 5 Lite is also NOT affected.

      If you unchecked "Modern Skin Support" in the installer you are also NOT affected.

      You can even remove Modern Skin Support just by renaming Program Files\Winamp\Plugins\gen_ff.dll to gen_ff.dll.old. This will remove the exploit.

      If you fix this way, you will only be able to use classic skins.

    2. Re:All versions are affected? by lotsofno · · Score: 5, Informative

      .
      What many people don't realize is that Winamp 5 IS Winamp 2 (Check out this this article.). It's the same code, but with extra plug-ins bundled in. The user can choose which plug-ins or features he wants to include or not include when installing. So I'm not sure how you could call the application bloated when the app installs only what the user feels he or she needs.

  10. All Versions? by (54)T-Dub · · Score: 4, Informative
    I know that a lot of us "old school" winamp users still use the classic winamp lite v2.81 [plug] I much lighter version of the software[/plug]. The article states that it affects:
    • WinAMP 3.x
    • Winamp 5.x
    --

    "I can not bring myself to believe that if knowledge presents danger, the solution is ignorance" - Isaac Asimov
  11. Redmond school of engineering by Rosco+P.+Coltrane · · Score: 4, Interesting

    Program skins with "browser tags" and "embedded xml"? sheesh, what next, word processor documents that have executable code inside?

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
  12. Fixes... by xdeadbeef · · Score: 5, Informative
    • Use Firefox as your default browser (which won't auto-launch skins), or...
    • don't install modern skin support in winamp (or delete plugins\gen_ff.dll if you already are installed), or...
    • get winamp 5.05 when it comes out in a day or two.
    1. Re:Fixes... by Thrymm · · Score: 5, Insightful

      Amen! I use it to play music, I dont look at the damn thing. I know some people love skins, for me I dont need it, just need to hear the music not see the colors!

    2. Re:Fixes... by Egekrusher2K · · Score: 3, Informative

      According to the Winamp forums, the default Firefox configuration is just as susceptible to this exploit as IE is. You can change your settings in either browser so that it is not affected by your exploit.

      Fortunately, I use Mozilla. :)

      --
      Listen to my experimental-industrial-techno!
  13. Winamp Unlimited Has The Full Report by lotsofno · · Score: 5, Informative

    .

    Winamp Unlimited has a friendly summary on how the worm infects the user, as well as steps one can take to avoid being infected.

    This is also worth noting: "The Nullsoft team have already implemented a patch for this exploit, which will be included in a very-near future release5.04a or 5.05. This next version is already in its third beta stage, and will include several other unrelated changes/fixes."

  14. Skinning is Worth It by Anonymous Coward · · Score: 5, Funny
    Having to periodically wipe your system and reinstall from backups is a small price to pay for the ability to have your apps look like real equipment.

    I mean, WinAmp can actually look like different kinds of real CD players! Can you believe that? It can look like all sorts of things; it doesn't have to look like a rectangular window at all. That just rocks! You can even change the way it looks at runtime! You can download whole new looks! Man, that is too cool.

    Kudos to those guys. This is the kind of thing that really makes computing fun.

  15. Re:Just another reason to use iTunes, I guess by Anonymous Coward · · Score: 3, Funny
    I used to be a big fan of Winamp...but then I switched to iTunes and never looked back. Guess that's a good thing.
    Good thing you never looked back. We're all pointing and laughing at you.
  16. things to say by XO · · Score: 3, Insightful

    Just to comment on all the first 11 posts I see here:

    (1) I've not used WinAmp in many years [like i've not used Windows in many years], but when secunia says the advised course of action is "use another product", i'm guessing that that probably means this feature can not be disabled, or at least not easily? or if it can be, then it's disabling can also be circumvented?

    (2) Absolutely right, having a component of the system that is active to ALL programs, wether it wants it or not, is inviting the most bizarre of security holes. Of course, the WinAmp people probably should come up with a better, more secure transport method for getting their skins around, but it's not really their fault that IE is a pile of crap security wise.

    (3) what kinda genius would figure out that you could embed an xml file, with instructions to run a specific executeable file, within a zipped skin file, and then manage to trigger a security hole in a web-browser module that really shouldn't have a damn thing to do involved with the program that you're sending this virus through? The people who are BREAKING the security I figure have got to be infinitely more intelligent than the people who are CREATING the security.. or at least a whole hell of a lot more creative..

    i really can't imagine that anyone could be thinking, when they write a program like this, "oh, what if someone tries to take advantage of such and such known security flaw in this way through our program, even though they don't have jack and shit to do with each other?" ..

    obviously, you're going to try to cover in advance for security things, but who could predict in attack in such a convoluted fashion?

    --
    "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    1. Re:things to say by gershbaz · · Score: 3, Insightful

      The whole point of good/secure coding is not anticipating attacks, but just making sure that the program can't do anything *except* what it's supposed to. "Integration" unless its done with secure clear protocols is the source of nearly every security hole for windows.

    2. Re:things to say by drinkypoo · · Score: 3, Informative

      It is possible to easily fix this problem.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  17. Expect these to grow more common... by hanssprudel · · Score: 5, Interesting


    Now that people have started to use firewalls, and the risk of worms and rootkits that infect through open, exploitable, holes grows smaller, it is time to expect more and more exploits to follow alternative vectors.

    Note how many buffer-overflow exploits there have been in server daemons. Well, there is no reason to believe that servers are any worse written with regards to input than client applications - quite the contrary actually.

    People think they are safe with a firewall. But I'm willing to bet there are undiscovered exploits in just about every application they run. WinZip? WinAMP? Acrobat Reader? Media player? Anything that handles files received over the Internet is potentially a vector for viruses and possibly worms.

    This time it was bad escaping, which made the exploit trivial, but there a buffer overflow would have served just as well. Neither firewalls nor anti-virus software will protect you.

  18. Re:Assistance for the clueless by gwernol · · Score: 5, Informative

    I'm an idiot--I don't get it. Can anybody help?

    Flensing means to remove the skin from something.

    --
    Sailing over the event horizon
  19. Dumb Question by ewhac · · Score: 5, Interesting

    For what possible purpose does a skin -- which is essentially nothing more than graphical elements -- need to invoke the browser?

    WTF? Seriously, help me out here. I've only been a programmer for 25 years, so I may not understand the deeply compelling reasons driving such a design decision.

    Schwab

    1. Re:Dumb Question by argent · · Score: 4, Informative

      A skin invokes the browser because Microsoft's got this tasty-looking rich-text, GUI, and graphics layout and rendering engine that they decided about seven years ago needed to be a core part of the OS. Which is all well and good, but it's not just a rich-text rendering engine, it's pretty much all of Internet Explorer but the window decorations and preferences utility.

      They did this not because it's a good idea for every application to have internet access and rich scripting with only a token sandbox about the potentially untrusted data they're displaying, but because they wanted to keep the DoJ from forcing them to compete with other companies that were producing web browsers.

      My response at the time was to ban the use of IE, Outlook, and any other application that I could think of or that I found out about that was using this component to view untrusted documents. Well, I didn't ban them directly, I talked our CEO into it. I figured that most IT administrators and managers would do the same, because this was obviously just asking for trouble (I didn't know what trouble it would cause, but I knew it was asking for it). Then, when Melissa hit a little while later, I figured THAT would finally be enough to get people to ban these "typhoid mary" applications. I mean, anyone could tell this was doomed.

      Boy, was I naive. I forgot that people who haven't worked on computer security aren't nearly paranoid enough. I expect that on the 10th anniversary of the integration of IE with the desktop people will still believe Microsoft when they say they're serious about security this time.

      And I never would have imagined that Apple would follow suit and use the same LaunchServices for local applications opening things like help files and for web browsers to run plugins, helper apps, and so on...

      For the love of god, people, get on the horn to Microsoft, and Apple, and the folks at Mozilla.org who are still using these inherently broken APIs themselves (yes, Firefox has been demonstrated to respond to a couple of the same exploits). Tell them that ENOUGH is ENOUGH. You can't fix this with better heuristics, you can only fix it by making the sandbox unconditional... seperate the display code and the access code and give each application a choice of bindings (at the VERY least, 'this is the binding for trusted documents, this is the binding for untrusted documents, and this is the binding for you specifically').

  20. Re:i hate skins by topher1kenobe · · Score: 3, Interesting

    I love skins. I pick one and use it for years before switching. Skins allow people to pick an interface they like, something that fits into their desktop style, and leave it there.

    I don't go with random skins, or frequently changing skins. I just browse the library, pick a good one, and stick with it.

    --

    yadda

  21. Re:School must've just gotten out. by machine+of+god · · Score: 4, Funny

    I notice the average vocabularical IQ drops about 50 points once 3pm EST hits.

    vocabularical.

    I believe you were saying something?

  22. revenge by bersl2 · · Score: 4, Funny

    I'm pretty sure the llama is tired of getting its ass whipped.

  23. How to fix IE, Safari, and everything else... by argent · · Score: 4, Insightful

    ANY library that works like the Microsoft HTML control (this is what Microsoft calls all the non-trivial bits of Internet Explorer... the IE application is just a thin wrapper around this) is at risk for exploitation. The only way to be sure that nobody's going to break out of your sandbox is to make sure that the application that creates the sandbox is the application that controls access from the sandbox, and that any helper applications it calls unconditionally implement their own sandboxes.

    If you use the *same* application, API, or application binding (eg, the file type bindings used by the desktop and the MS HTML control, or Apple's LaunchServices) for both sandboxed and trusted objects, then you open up the possibility that an untrusted object will look like a trusted object, or that an untrusted object will be passed to a handler that isn't inherently safe.

    Apple blew this with launchServices, and they still haven't really fixed the underlying problem. But they've only been in denial a few months, whereas Microsoft has been in denial about this for seven years, so let's look at Microsoft...

    Let's suppose the HTML control was split up, so it only did rendering. Whenever it wanted to open a file, open a URL, run a script, load a plug-in, it would ask the parent application "what do I do about a CHM file" or "what do I do about <script language=vbscript>". You'd have an "HTML-only control" and a "Web Access control" and IE would be a very slightly thicker wrapper around both.

    So then you register "Word Viewer"[1] with Outlook and IE as the helper application for Word documents, and "Word" with Windows Explorer as the helper application for trusted Word documents. If this was done, then Outlook (which would be a sandboxing application in this model) would open "Word Viewer" for untrusted documents.

    Viola, no more email-spread Word macro viruses.

    Similarly, Outlook would decline to run VBscript, and IE would decline to run the Windows Update plugin... you'd have a Windows Update program that was a thin shell around the HTML-only control... one that only opened windows update.

    Microsoft could have their cake and eat it too, and EVERYONE would have a more secure and less spammy environment.

  24. Re:Skinny Dipping by MrNemesis · · Score: 4, Informative

    Yes.

    http://http//www.crackbaby.com/article.php?sid=100 93

    Not tried it myself yet, but it replaces all calls to IE with calls to the browser of your choice.

    --
    Moderation Total: -1 Troll, +3 Goat
  25. Re:Winamp 2.xx..... by CritterNYC · · Score: 4, Informative

    Who the fuck uses the crappy bloated recourse hog that is 5.x anyway.... ah Internet Explorer users.

    5.x playing in the background using 0% CPU and under 6mb of RAM... about what 2.x uses... with a feature-set comparable to iTunes without the huge iTunes resource overhead, 3 installed services, etc, etc. A "lightweight" media player like foobar2000 is ~1% CPU and 11mb RAM.

  26. Winamp's or IE's fault? by CodeMaster · · Score: 3, Interesting

    Still trying to figure out - is it winamp's fault that an XML character escape sequence causes stupid IE to run as in a local zone.

    This isn't the first app that gets nailed just because it was using IE (for whatever extent of use - full rendering or peripheral stuff like SSL Certificate handling or XML processing).

    Just add this to the IE screwups tally :-)

    get a free iPod![This really works! - I have only 3 more referrals to go, my buddy already got his iPod (I should have gotten into this earlier :-(]

  27. i'm famous! by DaWolfey · · Score: 3, Interesting

    I've never been linked to (well, indirectly) on slashdot before - it's my 30 seconds of fame!

    Just to add to the original thread a little, I only saw the worm spreading on IRC and I only saw 2 people who were spamming the link - like all mirc worms the infected person doesn't know they are doing it until someone tells them.

    I guess it's not got very far - since I reported the exploit i've not seen another spammed link for it.

  28. The RIAA press release.... by endersdouble · · Score: 3, Funny

    Not only does evil P2P software break the law, it helps infect your computer! A program called Winamp, used by illegal copyright infringers to play their music files called MP3s, has a security hole allowing evil hackers to enter your system! We need to band together to ban this evil and dangerous Winamp program. Remember, no matter what, it is WRONG to use Winamp to play downloaded MP3s--and now, it is dangerous. Respect copyrights; uninstall Winamp.

  29. Is calculator safe? by rs79 · · Score: 5, Funny

    In related news, our editors today learned of the calc_virus; remote explotation of Windows Calculator utility is possible and attackers can gain access to your machine via this program. The announcment that MS recommends you use an abacus was heralded as a remarkable advance in system security

    --
    Need Mercedes parts ?
  30. I think I speak for a lot of people when I say... by rd_syringe · · Score: 3, Insightful

    ...pointless skins for media players can go to hell. Foobar 2000 forever!

  31. Re:Super-simple MP3 Player by Kurrurrin · · Score: 4, Informative

    Foobar does
    http://www.foobar2000.org/
    Handy, simple, small, and will go straight to the system tray.

    --
    -Doug
  32. Even more fun... by jejones · · Score: 3, Insightful

    The last time I tried it, WinAmp wouldn't work for me unless I had administrator privileges--so this exploit can do maximal damage. Maybe this will move a rewrite to work reasonably in a multi-user environment up on their priority list? (We can hope...)

  33. Foo! by ralphus · · Score: 4, Insightful

    Why are you geeks worried? Shouldn't you be using Foobar2000 anyway? It is about 2000 X better than winamp and packed with geek friendly features.

    --
    Revolutions are never about freedom or justice. They're about who's going to be top dog. -- Kilgore Trout
  34. say it out loud... by Anonymous Coward · · Score: 3, Insightful

    ...it's another WINDOWS problem. The OS and any apps for it are "run at your own peril". That includes mozilla stuff. It's because it's designed to run on WINDOWS.

    WINDOWS
    WINDOWS
    WINDOWS

    I don't care how leet folks think they are, as long as people run windows stuff, develop for windows, run windows apps, think about windows, they are gonna get hosed, sooner or later.

    You would think after 10 years of this stuff that it would be noticed, nope, folks still think just one more patch or one more version higher of their windows apps or OS is gonna magically fix windows.

    Charlie Brown

    Lucy

    Lucy holding football

    Charlie Brown on his butt looking lame

    Charlie Brown = windows

    Lucy = windows apps

    Lucy holding football = thinking just this one more time, that this is the time she will hold it correctly, that just this time it will work and be "secure"

    Charlie Brown on his butt for the 9,863rd time = windows users, never learn, always going to think if they hold out one more time it will be OK.

  35. It isn't just the skin... by poohsuntzu · · Score: 3, Informative

    It's how it is delivered. The simpilest way involves:

    iframe src="http://www.blah.com/winamphackedskin.wsz"

    That right there, in any browser, will initiate a download of the winamp skin file. In Opera/Firefox/Mozilla you are given a download confirmation prompt. However, if IE is your default browser then IE will auto download and install the winamp skin without your knowledge.. or at least until your winamp pops up suddenly with a new skin. We can't tell people to "don't download skins" merely because it's far more serious than that. Manual skin changing or not, that iframe trick is going to nail a lot of people.

    The best bet would be to ignore winamp completely until a patch can be provided, or have Firefox set as your default browser.

    --
    "We're breaking out the ramen noodles. . . "
    "Really? Is it someone's birthday?"
  36. Suggestion to Windows yet NON-IE users by Spuffin · · Score: 3, Interesting

    Use Work Offline mode in IE when you aren't using it. This setting will be saved even when you close IE thus keeping IE exploits such as this down. As a side note, it also kills the ads in AIM which is a nice plus. The only downside is when a program does try to access the internet using IE (such as AIM) it prompts you to Stay Offline or Connect. All you have to do is click stay offline and you'll be fine. If anyone knows how to suppress this prompt I would love to hear it.