Slashdot Mirror


WinXP and WinAmp Vulnerable to Malicious MP3s

mypenwry writes "Foundstone, a Mission Viejo, CA security services company, is reporting several vulnerabilities that would allow malicious code embedded in MP3 and WMA files to be executed via WinXP and WinAmp. WinAmp versions 2.81 and 3.0 are vulnerable to buffer overflows via certain long ID3v2 tags when MP3 files are loaded. More troubling is the WinXP vulnerability: A buffer overflow exists in Explorer's automatic reading of MP3 or WMA (Windows Media Audio) file attributes in Windows XP. An attacker could create a malicious MP3 or WMA file, that if placed in an accessed folder on a Windows XP system, would compromise the system and allow for remote code execution. The MP3 does not need to be played, it simply needs to be stored in a folder that is browsed to, such as an MP3 download folder, the desktop, or a NetBIOS share. This vulnerability is also exploitable via Internet Explorer by loading a malicious web site. Explorer automatically reads file attributes regardless of whether or not the user actually highlights, clicks on, reads, or opens the file. Windows XP's Explorer will overflow if corrupted attributes exist within the MP3 or WMA file. Microsoft has issued a fix for this vulnerability. Nullsoft has posted fixed version of WinAmp 2.81 and 3.0 on their web site."

498 comments

  1. Uh Oh by Jaysyn · · Score: 5, Insightful

    I hope no one tells the RIAA about this. They will be putting landmines in P2P soon.

    Jaysyn

    --
    There is a war going on for your mind.
    1. Re:Uh Oh by Nasheer · · Score: 1
      I hope no one tells the RIAA about this.


      Theory of Conspiracy: they do already know, and somehow they have something to do about that.
      --
      - Please, ignore everything written above.
    2. Re:Uh Oh by Jugalator · · Score: 5, Funny

      Uh oh. I think they already infected my computer when I d/l:ed some christmas mu*?DZMV*Z@@@@+++ KNEEL BEFORE HILLARY ROSEN +++""!##""!1!!1.

      NO CARRIER

      --
      Beware: In C++, your friends can see your privates!
    3. Re:Uh Oh by TheMidget · · Score: 0, Troll
      I hope no one tells the RIAA about this. They will be putting landmines in P2P soon.

      I hope someone does tell them. What better ally than the RIAA to fight that Redmond scum. Let the bad guys turn their guns on each other!

    4. Re:Uh Oh by tomstdenis · · Score: 1

      What redmond scum?

      Besides I figure this is a way for ISPs to save bandwidth cost... if all the users are rooted and can't go on P2P networks and such all the better.

      Tom

      --
      Someday, I'll have a real sig.
    5. Re:Uh Oh by Rahizial · · Score: 1

      Whats wrong with P2P? As long as it doesnt take up so much bandwidth that I cant load /. at the current extremely fast speed I'm fine with it. They pay for their bandwidth they should use it how they want. Its the ISPs fault for allowing them to use so much that it could interfere with other peoples networks.

    6. Re:Uh Oh by __aaklbk2114 · · Score: 1

      I hope no one tells the RIAA about this. They will be putting landmines in P2P soon.

      To late... They already thought of it...

    7. Re:Uh Oh by andrewski · · Score: 1

      I hope they landmine the crap out of p2p, and fuck everyone's XP up hard. Then I hope people sue the shit out of them.

    8. Re:Uh Oh by jez9999 · · Score: 1

      Why would your computer suddenly post and submit the words "NO CARRIER" before it was disconnected from the internet?

    9. Re:Uh Oh by Jugalator · · Score: 2

      Why would your computer suddenly post and submit the words "NO CARRIER" before it was disconnected from the internet?

      "NO CARRIER" jokes are a relatively common kind of jokes in nerd culture with a rather long history. ;-)

      --
      Beware: In C++, your friends can see your privates!
    10. Re:Uh Oh by jez9999 · · Score: 1

      I know, I'm just pointing out that they were a bit dumb when they first started, and even moreso now :-)

    11. Re:Uh Oh by iriki · · Score: 0
      i'm afraid to tell you that is no longer the theory.

      it's already the truth

    12. Re:Uh Oh by iriki · · Score: 0

      the problem is that when that happen, your ISP is going to be so flooded that you couldn't even browse Slashdot :(

    13. Re:Uh Oh by tomstdenis · · Score: 1

      Ok there is the "right" and "reality" of the situation.

      In essence, yeah, broadband users were scammed into thinking they have a high speed connection 24/7.

      That's not the reality of the situation.

      You have three options though.

      1. Sue your provider.

      2. Use all the bw you want and get charged more in return.

      3. Be reasonable with your bw usage as if you're sharing it with others [hint hint].

      We all know that #1 is the "right" action but #3 is more realistic and in the long run more likely to result in a "good" outcome than #1.

      Tom

      --
      Someday, I'll have a real sig.
    14. Re:Uh Oh by WNight · · Score: 2

      Modems used to print it when they lost carrier, so BBSes would watch for it and force a reset of that line, in case they had missed the hardware handshaking that was a little spotty in the old days. So, you'd convince someone to type NO CARRIER and they'd be kicked offline.

      Some systems had a bit of an accounting bug where they tallied billing every hour, or when you logged off. If you were kicked off, they forgot. So some people would NO CARRIER themselves just before the hour.

  2. The RIAA was right... by Hasie · · Score: 0, Troll

    ...MP3s are harmful to business!

  3. XMMS too. by Anonymous Coward · · Score: 0, Troll

    I just found a buffer with unchecked bounds in XMMS. This ain't no good. I should have a patch posted in a few minutes.

    1. Re:XMMS too. by Jaysyn · · Score: 1, Insightful

      Now that is the true difference between open source & the other guys.

      Jaysyn

      --
      There is a war going on for your mind.
    2. Re:XMMS too. by damiangerous · · Score: 2

      Well, Microsoft and Nullsoft have already posted fixes, so I wouldn't draw attention to that difference too much. :)

    3. Re:XMMS too. by tshak · · Score: 1

      What, that the patch get's quickly coded with no regression testing? Regression testing takes TIME, not EYES.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    4. Re:XMMS too. by dakoda · · Score: 1

      I don't think a bound check on an array will need a whole lot of regression testing, unless it involved some nasty stuff.. *shrugs*

      if(stuff_to_read > length_of_buffer)
      read_some();
      else
      read_all();

    5. Re:XMMS too. by Anonymous Coward · · Score: 0

      What if another part of the application stupidly relies on being able to write over the end of the array. Stupider things have been known to happen.

    6. Re:XMMS too. by Anonymous Coward · · Score: 0

      Stupider things have been known to happen.

      And I've done most of them

    7. Re:XMMS too. by Anonymous Coward · · Score: 0

      Yeah, open source zealots will believe stuff posted by an anonymous coward as long as it sounds reasonable and positive toward open source software.

    8. Re:XMMS too. by Oliver+Defacszio · · Score: 2, Interesting
      A brief synopsis of what just happened: an OSS user waited for the commercial vendors to do the legwork of finding a particular bug, then spent two minutes looking to see if he was affected too and then released a patch that was still later than that of the commercial vendor.

      Sounds to me like the XMMS bug would never have been found (or at least not for a long while) if not for Microsoft/Winamp. You must be proud.

      --

      -
      Inventor of the term 'pardon my French'.
    9. Re:XMMS too. by Ducky · · Score: 5, Insightful

      Really? Where's the bug report? I don't see anything on bugs.xmms.org.

      Sorry for sounding like an a-hole, but an AC exclaiming a bug in a product, no follow up on the product's web site, and no other info sounds very suspect to me.

      -Ducky

    10. Re:XMMS too. by Anonymous Coward · · Score: 0

      > What if another part of the application stupidly relies on being able to write over the end of the array

      In that case the best fix is to remove that application.

    11. Re:XMMS too. by Jaysyn · · Score: 1

      Very proud, they've indirectly made an open source program better. :)

      Jaysyn

      --
      There is a war going on for your mind.
  4. Don't worry by Psmylie · · Score: 4, Funny

    This is all part of the Berman Bill.

    --

    psmylie's dictionary: Godzillion (noun) Any number large enough to destroy Tokyo

  5. Subject : Name : AC by Anonymous Coward · · Score: 3, Funny

    So, now when the users are afraid because of having virii in their mp3s, they are not stupid anymore?

    1. Re:Subject : Name : AC by binner1 · · Score: 1

      I think that even though they've been worried about virus' disguised as mp3's (read: the .vbs files that plague file swapping networks) your point still stands.

      -Ben

    2. Re:Subject : Name : AC by Jucius+Maximus · · Score: 2
      "So, now when the users are afraid because of having virii in their mp3s, they are not stupid anymore?"

      It's a good argument to get your friends to finally switch to ogg vorbis. I haven't encoded an mp3 since vorbis beta 3 (which was well before RC3) anyway.

    3. Re:Subject : Name : AC by doofusclam · · Score: 4, Insightful

      Thats a feeble excuse for switching to Vorbis regardless of the merits of this format. It's like saying "They found vulnerabilities in Apache so i'm gonna change my webserver to something else"

      I'm sure there are exploitable buffer overflows in Vorbis too but as the format is so little used (relatively), hackers ain't looking for them. The day Vorbis is more popular than mp3 is the day the hackers change what they're targeting.

      seany

    4. Re:Subject : Name : AC by cetan · · Score: 1

      Having just purchased an iRiver mp3 cd player (due to the fact that I have a large number of mp3 cds for bringing to work) I don't think I'll be switching to OGG anytime soon. Now maybe, someday iRiver will have a firmware update to support OGG but until then, it's mp3 all the way.

      Hardware support seems to be a big issue for OGG.

      --
      In Soviet Russia...michael would be rotting in Siberia!
    5. Re:Subject : Name : AC by Anonymous Coward · · Score: 1, Funny

      No, they're still stupid if they say "virii" instead of "viruses."

    6. Re:Subject : Name : AC by Blkdeath · · Score: 3, Interesting
      I'm sure there are exploitable buffer overflows in Vorbis too but as the format is so little used (relatively), hackers ain't looking for them. The day Vorbis is more popular than mp3 is the day the hackers change what they're targeting.

      Much like people used to claim in days of old that certain message base formats (BBS / FTN message 'echoes') were faster than others, this is also a bit of rubbish. The format doesn't contain vulnerabilities; the players that implement the format have vulnerabilities. It is, in point of fact, perfectly feasable to assume that the same, if only slightly different vulnerability could possibly be exploited with the Ogg Vorbis format.

      Unchecked buffers (read: lazy/braindead programming and poor code audits) are at fault here. MP3 is merely the current carrier.

      But you're right; it is a feeble excuse to switch formats. It would be more apt to suggest that people switch to a different player, or use a different operating system, but I'm not going to do that.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    7. Re:Subject : Name : AC by doofusclam · · Score: 1

      Fair enough I agree with that.

      A more interesting question is just how far you go to bulletproof your decoder/reader code from a malformed input, i.e. it's usually pretty easy to defensively code against a properly structured mp3 for example, but just how far do you go to protect against a deliberately malformed one?

      seany

    8. Re:Subject : Name : AC by greenrd · · Score: 3, Interesting
      Any code that reads input from "untrusted" sources (you can argue about what that includes, but it definitely should include "arbitrary, random Internet sites") should be "bulletproofed" against every theoretically possible input. But no, the culture of programming is not set up to do things that way, in too many *cough*MS*cough* cases.

    9. Re:Subject : Name : AC by doofusclam · · Score: 1

      It's not the culture as much as the complexity. Even a project as 'simple' as a music player - how many people have written one of these? Lots. How many know mp3/aac/ogg/psy models/FFT transforms inside out ?? Not many. But they don't need to - all they need to do is take an OSS project like libmad or whatever and plug their interface code into that. The problem being, you're then reliant on how good the libmad programmers are. But maybe you also didn't know they used code from somewhere else.... Do I understand how mp3 works? Yes. Could I code an encoder or decoder, with the psymodel and FFT stuff? No.

      So i'm reliant on lots of other coders and to be honest if I don't quite understand how a library works i'm not going to try and 'bulletproof' it against an unknown threat, lest I cock things up, apart from the usual bounds checking etc.

      And how do we sort this out? I haven't a clue.

      seany

    10. Re:Subject : Name : AC by schon · · Score: 1

      Thats a feeble excuse for switching to Vorbis regardless of the merits of this format. It's like saying "They found vulnerabilities in Apache so i'm gonna change my webserver to something else"

      Wouldn't it be more like "They found vulnerabilities in Apache, so I'm not going to use HTML anymore."

      OK, still not perfect, as HTML is served, not processed by Apache.. but a little closer, and (bonus!) even more absurd :o)

    11. Re:Subject : Name : AC by greenrd · · Score: 2
      Ah well, I don't worry about that kind of thing - I code in Java, and I trust the soundness of the JVM and the libraries it depends on. Exploitable buffer overruns are pretty hard to code in Java!

  6. "hack me baby one more time" by sweeney37 · · Score: 4, Funny

    looks like listening to the newest Britney Spears album will result in more than just bad taste.

    Mike

    1. Re:"hack me baby one more time" by Nodatadj · · Score: 1

      is listening to britney spears something that results because you have bad taste, or do you have bad taste after you listen to britney spears?

    2. Re:"hack me baby one more time" by RebelWithoutAClue · · Score: 1

      Is that her ode to serial killers ?
      Like that other one was to wife beaters ?

      er, Maybe I have too morbid imagination ... :)

      --
      "However beautiful the strategy, you should occasionally look at the results" - Winston Churchill
  7. Obvious reply by triptolemeus · · Score: 1

    Makes me slowly wonder: is there a list of fileformats around there that are actually save on windows, or are they all corrupt nowadays...

    --
    The site where: "I'm right, as long as you ignore the things that prove me wrong", became a valid method of debate.
    1. Re:Obvious reply by archen · · Score: 4, Insightful

      All file formats are safe, it's just the programs that read them.

    2. Re:Obvious reply by aengblom · · Score: 5, Funny

      All file formats are safe, it's just the programs that read them.

      The correct phrasing of that is: File formats don't kill programs. Programs kill programs.

      --


      So close and yet so far from the world's perfect ID number
  8. No problems here. by Anonymous Coward · · Score: 0
  9. Buffer overflow yet again by graikor · · Score: 5, Interesting

    Why hasn't Microsoft just changed the way it handles buffers to eliminate the weekly discovery of yet another buffer overflow exploit that compromises security? It's obvious to just about everyone else that any buffer that doesn't ignore excessive input will be a problem in the future - why does Microsoft insist on treating each one of these issues as though it was a totally new problem instead of making a global change to secure the OS from this kind of hack?

    1. Re:Buffer overflow yet again by Anonymous Coward · · Score: 2, Funny

      because it's a feature !

    2. Re:Buffer overflow yet again by FortKnox · · Score: 2, Insightful

      I'm guessing that it require a retest of the entire OS (which isn't a half-bad idea).
      Changing something THAT global could result in more harm than good.

      Mind you, I think you are right, and that's what should be done; I'm just telling you what is (probably) on the architects/lead developers minds.

      --
      Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
    3. Re:Buffer overflow yet again by Frosty+Inc. · · Score: 5, Funny

      Because it would cost a lot of money to design and implement, something Microsoft doesn't hav...

      Oh, wait a minute...

      --


      Move along...nothing to see here.
    4. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      ... why does Microsoft insist on treating each one of these issues as though it was a totally new problem instead of making a global change to secure the OS from this kind of hack?

      They are... one patch at a time.

    5. Re:Buffer overflow yet again by Beryllium+Sphere(tm) · · Score: 5, Informative

      This isn't exactly what you're asking about, but to Microsoft's credit they have added a flag to the compiler which adds a "canary" to the stack to detect stack-smashing. Better, the flag is on by default.

      Changing "the way it handles buffers" is harder than it sounds, There's a huge amount of legacy code in shared DLLs, older operating systems and so on.

      If Microsoft asked me to recommend a global change, I'd tell them to go through the agony of implementing least-privilege throughout their entire system architecture. That would be sheer hell, but at least it would contain the damage from whatever next week's security hole turns out to be.

    6. Re:Buffer overflow yet again by NineNine · · Score: 5, Informative

      I dunno. Why doesn't Linux handle buffer overflows, also? There are always buffer overflow bugs in various apps, like Apache, the PHP mod, etc. Maybe there's no good way of doing it?

    7. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      f Microsoft asked me to recommend a global change, I'd tell them to go through the agony of implementing least-privilege throughout their entire system architecture

      Least-privilege? Why not just go the whole way and do something like Pallidum?

    8. Re:Buffer overflow yet again by stratjakt · · Score: 2, Interesting

      >> why does Microsoft insist on treating each one of these issues as though it was a totally new problem instead of making a global change to secure the OS

      Palladium

      Oh wait, you don't want that.

      So what do you want?

      --
      I don't need no instructions to know how to rock!!!!
    9. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      I think it's kind of funny that you get annoyed about Microsoft's approach to solving the problem when it's obvious you don't know shit about operating systems or smashing the stack. I thought you were trolling at first, but then realized you're just a 'tard.

    10. Re:Buffer overflow yet again by Blkdeath · · Score: 2
      >> why does Microsoft insist on treating each one of these issues as though it was a totally new problem instead of making a global change to secure the OS

      Palladium

      Oh wait, you don't want that.

      So what do you want?

      Palladium is an attempt to secure what we do with our OS/computer, not an attempt to secure the OS/computer itself. It's Microsoft's belief that in a society that goes to war with totalitarian nations, implementing a totalitarian system of checks and balances will somehow;

      1. Work effectively to combat the evils facing our virtual world, and
      2. Be socially, morally, as well as legally accepted.

      In order to secure the OS itself (and thus allow for their 'DRM' format files to be immune from such buffer overflows) would require an exhaustive audit of the entire Windows codebase, with emphasis on security rather than functionality / new features.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    11. Re:Buffer overflow yet again by __aanonl8035 · · Score: 5, Interesting

      I just wanted to point people to
      a project that tries to catch buffer
      overflows under linux.

      freshmeat entry
      homepage

    12. Re:Buffer overflow yet again by Pig+Hogger · · Score: 1, Flamebait
      There are always buffer overflow bugs in various apps, like Apache, the PHP mod, etc. Maybe there's no good way of doing it?
      Yes, there is a good way of doing it. Just don't program in C, which is nothing but a glorified assembler where you have to do everything yourself.
    13. Re:Buffer overflow yet again by graikor · · Score: 1

      I'm a "'tard" because I believe that bounds checking (and general idiot proofing) should be performed as a matter of course, and that repeated patching is kludgy and ugly, not to mention inefficient? What happened to the principle of not assuming anything about external inputs into a program?

      sheesh! ... 'cause it's so complicated to use strncpy() instead of strcpy(), you know...

    14. Re:Buffer overflow yet again by Inflatable+Hippo · · Score: 1

      Enough!

      Lets start an "Portable Buffer Management Library" project on SourceForge, pick a license that's acceptible to everyone and fix this problem once and for all.

      How hard can it be?

      Lets start now and take it in turns, this is my contribution:

      #include

      Aw damn I've alienated Visual C++ coders already...

    15. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      I hope to god then that the compilers/interpreters/VM's (which are programmed in C or ASM) are excellant abstractations. If they're not how do you know that proper bounds checking occurs? How do you know that there is not a bug in the compiler/library you are using in that language. I'm not saying that you should program everything in C(you shouldn't), I'm saying that you shouldn't assume that as soon as you dump C/asm you will have no buffer problems.

    16. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      It's amazing how many buffer overflows can be fixed by changing a couple lines of code.

    17. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      Hey, I've got a better way! Don't pontificate about shit! And don't worry so much!

    18. Re:Buffer overflow yet again by NineNine · · Score: 3, Funny

      Ah, you're new here. Here at Slashdot, every tiny thing is something to pontificate about, and every tiny problem is a major conspiracy/security hole in which The Man can exploit you/invade your privacy. "No big deal" isn't a very common phrase here.

    19. Re:Buffer overflow yet again by jeff4747 · · Score: 1

      While they could do something like use a C++ class for all their buffers, bounds checking everywhere is inefficient.

      int a[10]; ...
      for ( int i = 0; i 10; i++ )
      {
      a[i]++;
      }

      If you were using some sort of buffer class, you'd be checking the bounds in that a[i]++ line, when you don't need to. That's going to slow down your program.

      Which next gets to, "ok, only use the buffer class on untrusted sources". The problem with that is it's pretty easy during the evolution of a program to have two buffers merged into one, or a buffer reused for something new. So you'd go from a buffer being trusted to untrusted, and the person making the change doesn't necessarily know where the buffer came from.

      The result is that it should be up to the person loading the buffer with data to bounds-check that data. That way you don't get unnecessary bounds-checks, and get bounds checking. It's just up to the programmers to take the time to put it in, which is admittedly not as easy as it sounds. At least, not with the way most development is run by management.

    20. Re:Buffer overflow yet again by patter · · Score: 1

      Well, for the same reason that Linux hasn't done it.

      There's no 'Windows Buffer' or 'Linux Buffer' thing, it's just an array. If the OS was interrupting all malloc/sprintf/strcpy calls, then C would perform orders of magnitute slower like VB/Java, because their runtimes check on EACH access (scroll up) if that call is about to go out of bounds.

      Java and VB have come a long way towards running faster, but type-safe/bounds safe arrays take execution time away from the programmer. The lack of bounds checking is what makes C so fast.

      The error is a logical error on the part of the programmer.

      You're allowed to have enough rope to hang yourself in C, if you choose to put your head through the noose, it's not the fault of Microsoft/Linus/K&R/Stroustrop -- it's your own.

      I blame poor training -- CS students today are graduating missing fundamental concepts of the programming languages they work with. Couple that with a severe lack of engineering/mentorship in the workplace, and we get to a dangerous situation. Everyone talks about code reviews, but WHO is doing it? No one.

      Junior programmers need mentoring, they've got a bunch of CS theory running around their heads, but not enough experience to work in a language like C safely. Also, realistically responsible vendors should be auditing their code to keep it secure, even very experienced programmers get tired / burnt out, and might inadvertently dangerously treat unknown data.

      When your projects are 1,000s of lines long only it's really easy to not ever come across this. Most modern software systems number in the millions per project, and can easily lead to situations where the programmers do stupid things because they are only human (not lazy or stupid as some posters may contend - writing unsafe code like that to me is a sign of overwork).

      --
      -- If at first you do succeed, try to hide your astonishment. -- Harry F. Banks
    21. Re:Buffer overflow yet again by IamTheRealMike · · Score: 2

      Well, there is, which is, don't insist on writing all your software in C and C++. Java/Python/Ruby/Perl/C# for instance aren't susceptible to this kind of problem.

    22. Re:Buffer overflow yet again by jpmorgan · · Score: 3, Informative
      libsafe only protects you from buffer flows within parts of the standard C library.

      It is not a sufficient solution to prevent programmers making mistakes.

    23. Re:Buffer overflow yet again by dubious9 · · Score: 2

      Ok, but what happens when you don't want to use all of that overhead? C is great because it has, AFAIK, the least overhead of any "high" level programming language out there.

      This isn't the fault of the language, it's the fault of the programmer. How hard is it to do bounds checking?

      --
      Why, o why must the sky fall when I've learned to fly?
    24. Re:Buffer overflow yet again by dubious9 · · Score: 2

      I'm not familiar with Ruby but, Python, Perl - powerful, but slow as they are interpreted

      Java/C# - garbage collection and automatic bounds checking take overhear

      Face it, when you are doing something that requires some real speed, you can't afford an idiot-proof language. OSs won't be written in any of those languages any time soon. Nor will programs that do heavy duty graphics

      Sometimes even C++ has too much overhead. There is no out and out replacement that is better than c. Switching from c/c++ is simply not an option for many projects.

      And for those projects that could be served by the languages you suggest, even if you write it in c, it's nobody's fault except the programmer. C is the problem here.

      --
      Why, o why must the sky fall when I've learned to fly?
    25. Re:Buffer overflow yet again by dubious9 · · Score: 2

      errr.. maybe someday i'll hit the preview button.

      C is not the problem here.

      --
      Why, o why must the sky fall when I've learned to fly?
    26. Re:Buffer overflow yet again by Detritus · · Score: 2

      It may be an obvious security flaw now, but it didn't used to be for many programmers. To mangle an old joke, "This program crashes when I type 514 characters into a text entry field!", "Well, don't do that!". It used to be common to assume that the user was not hostile and that the program was not getting its input from some random hacker on the Internet.

      --
      Mea navis aericumbens anguillis abundat
    27. Re:Buffer overflow yet again by dubious9 · · Score: 2

      sheesh! ... 'cause it's so complicated to use strncpy() instead of strcpy(), you know...

      And I've been wondering about that. Why don't we just change strcpy()? Would that be breaking anything? Why hasn't it been changed already?

      --
      Why, o why must the sky fall when I've learned to fly?
    28. Re:Buffer overflow yet again by timeOday · · Score: 2

      Guess what's wrong with this code for an access member in an array class (assuming it's C++, except I had to use lt for "less than"):

      const T & operator[](int i) { assert(i lt size()); return data[i]; };

    29. Re:Buffer overflow yet again by IamTheRealMike · · Score: 2

      Well, in C# you can switch off garbage collection and bounds checking to get direct memory access for when it's really needed by pinning stuff. But yes, I know C isn't always appropriate. I think C is used in inappropriate places far more often than Python is used in inappropriate places though for instance.

    30. Re:Buffer overflow yet again by dvdeug · · Score: 2

      C is great because it has, AFAIK, the least overhead of any "high" level programming language out there.

      So your box is owned, but the people who own it get the most speed possible. Thanks.

      C lets you write to the metal. Ada, and many other languages, lets the compiler write to the metal; even if you're writing to just one platform, it's likely the compiler writers knew more about how to get the best out of that metal then you do, and if you're writing to more than one platform, you can't optimize on the level that the compiler can. And a compiler can optimize "A : Integer range 1..10;" better then it can "int A;", because the first tells it more information. Higher level, an APL compiler can compile a matrix multiplication to the the most accurate and fast possible on the platform, whereas a C compiler can't change your implementation of the same.

      Also, it's no good to get the least overhead if you don't use it. I wrote an Ada version of strings that was ten times faster then GNU strings. (It didn't have all the fancy binutils options, but I needed to extract the strings from a 10 GB hard drive image.) It was a simple matter of a slight algorithmic improvement, but they never made it. Until you're willing to go through and make all those improvements, you've lost the slight advantage that C would give you.

      This isn't the fault of the language, it's the fault of the programmer. How hard is it to do bounds checking?

      Right. Blame the programmer. Back in real life, we have no perfect programmers, and only a few excellent programmers, and are left with the average programmer to write most programs, and the average programmer very frequently forgets bounds checking. It seems better to fix the machines to work with the users, rather than try an obviously futile job of fixing every programmer out there.

    31. Re:Buffer overflow yet again by Rich0 · · Score: 2

      How do you know that there is not a bug in the compiler/library you are using in that language.

      At least when using a language which does bounds checking, there can only be a finite number of errors in the libraries. When one is found and corrected, it fixes an exploit in every program complied using that library.

      If you code the routines yourself in C, then it is up to you to find your own bugs. I have a hunch that most of the shared libraries on my linux installation are a little less buggy that a typical 100k line project.

    32. Re:Buffer overflow yet again by Q2Serpent · · Score: 1

      It uses ints, which are signed, and only checks one bound (the upper one). If I said

      array[-2]

      I would get back a bad result. Even worse,

      array[-2] = 5

      would overwrite someone else's memory.

      Bounds checking means bounds checking - both sides need to be checked (or use an unsigned index).

    33. Re:Buffer overflow yet again by dvdeug · · Score: 2

      automatic bounds checking take overheard

      How much time, compared to hand bounds checking? And how much CPU time is worth a weekend of admin time cleaning up after a break-in?

      Nor will programs that do heavy duty graphics

      Most programs that do heavy duty graphics offloaded most of their code to the graphics card.

      Sometimes even C++ has too much overhead.

      Gee, like when? C++ was designed to have no overhead except when you use the new features. And metatemplate programming can massively beat procedural programming by doing at compile time what the procedural program does at execution time (or writes the same code a dozen times.)

      Switching from c/c++ is simply not an option for many projects.

      We've gone from OS's and heavy duty graphics to many projects. Furthermore, assembly has less overhead than C; you can frequently write the code in whatever language, and then take the 5% that actually takes time, and rewrite it in assembly, and beat anything that's straight C.

    34. Re:Buffer overflow yet again by gTsiros · · Score: 1

      Writting code with goddamn runtime checks for boundary cheks is no big feat. And don't say that it is a performance penalty, because this isn't about running faster/slower. This is about runnin/CRASHING.

      --
      Looking for people to chat about multicopters, coding, music. skype: gtsiros
    35. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      There are a few kernel patches or custom packages that do this.
      StackGuard is one, and GrSecurity is another.

      They will break any apps that depend on insecure behavior to function, but said apps can be either fixed or abandoned for alternatives.

    36. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      Now that's a silly mistake even a 2nd year comp sci student wouldn't make.
      You need a gt check too, or just use unsigned int.

    37. Re:Buffer overflow yet again by Anonymous Coward · · Score: 0

      Right. Blame the programmer. Back in real life, we have no perfect programmers, and only a few excellent programmers, and are left with the average programmer to write most programs

      There's no excuse for laziness and sloppiness. It is possible to write perfect code, and it's not difficult at all when you're not being slothful.

      You seem to think that because people have flaws, they are incapable of creating perfection. You work around or through your flaws. "Nobody's perfect" used as an excuse is the hallmark of all the whiny, litigous, "entitled" slobs that the 90s created.

    38. Re:Buffer overflow yet again by NewtonsLaw · · Score: 2

      Why hasn't Microsoft just changed the way it handles buffers to eliminate the weekly discovery of yet another buffer overflow exploit that compromises security?

      I wonder if I should lend them my copy of Code Complete... oh, hang on.. :-)

    39. Re:Buffer overflow yet again by Cuthalion · · Score: 1

      Also it only does bounds checking in a debug build.

      --
      Trees can't go dancing
      So do them a big favor
      Pretend dancing stinks!
    40. Re:Buffer overflow yet again by jaclu · · Score: 1

      It seems better to fix the machines to work with the users, rather than try an obviously futile job of fixing every programmer out there.

      Thats a verry good point!
      Here in Sweden, the road-departement have for some years been working with the assumption that people will make mistakes, you cant educate it away and you cant make laws to stop people from doing stupid things (yes stricter speed control etc. can lessen the problem, but doesnt solver it fully).

      What they can do, is to lessen the ill-effects of misstakes.

      Things like trying to remove trees near roads, removing boulders and other obstacles near the roads, change crossings with many accidents to roundabouts (roundabouts doesnt remove accidents, but the accidents that do happen in a roundabout lead to less severe damage for the people involved). All this doesnt prevent accidents per se, but it sure helps people survive/get less injured.

      So translated to coding, a system where people easaly make mistakes, and those mistakes will be costly, is worse than a system where "normal" misstakes still will happen, but the system reduces the ill effects.

      Its better that the knowledgeable user must on purpose override the default safe system, than hoping that the programer will remember to do all the extra thinking to avoid problems

    41. Re:Buffer overflow yet again by McCrapDeluxe · · Score: 1

      What's with the returns? Your post looks like a haiku.

    42. Re:Buffer overflow yet again by Pig+Hogger · · Score: 2
      Ok, but what happens when you don't want to use all of that overhead?
      That's what ASSEMBLER is for.
    43. Re:Buffer overflow yet again by Dave2+Wickham · · Score: 1

      Hmm... When I "dabbled" in VC++ I used #include s...
      Have you ever used VC++?

  10. won't affect most people by tps12 · · Score: 2, Interesting

    This is more of a curiosity than any sort of danger. Most of us, when we get a new mp3 file, give it a listen to make sure it's not mislabeled, doesn't cut off in the middle of the song, and sounds okay. We throw out or fix the ones that aren't up to our standards. So the number of people who would let one of these dangerous mp3s just sit there and be scanned is probably pretty small. And as is usually the case when something like this is discovered, they probably deserve what they get for being such idiots.

    --

    Karma: Good (despite my invention of the Karma: sig)
    1. Re:won't affect most people by graikor · · Score: 1

      If you were a malicious hacker, you might put a corrupt ID3 tag in an otherwise valid mp3.

      It's a moot point anyway - the very act of listening to the file in the first place to verify the quality of the mp3 would cause the corrupt ID3 tag to be loaded, and that's all the file needs to do the damage.

    2. Re:won't affect most people by Jaysyn · · Score: 1

      I'm sure there are 1000's of people who do the exact opposite of what you said.

      I'm sure lots of people will just download something to have it, never check it, never listen to it.

      Of course this is just my experience from the 100's of mislabled files I've downloaded over P2P.

      Jaysyn

      --
      There is a war going on for your mind.
    3. Re:won't affect most people by Jucius+Maximus · · Score: 5, Insightful
      "This is more of a curiosity than any sort of danger. Most of us, when we get a new mp3 file, give it a listen to make sure it's not mislabeled, doesn't cut off in the middle of the song, and sounds okay. We throw out or fix the ones that aren't up to our standards. So the number of people who would let one of these dangerous mp3s just sit there and be scanned is probably pretty small."

      That average person does not notice when a backdoor app is covertly installed on their machine. As long as the mp3 is actually what they wanted, chances are they will keep sharing it.

      The even more dangerous part is that someone could be downloading mp3s and LOOKING for these trojans. And as soon as they find one, they can just go back to the IP of the machine they got the file from and have an instant DDOS zombie!

      Or even better, if I am an RIAA employed disturber-of-the-peace, I could create a bunch of these trojaned mp3s share them, and then whenever someone downloads it from my machine I could instantly use the backdoor to destroy their music collection. (But I'm sure the RIAA has already thought of that.)

    4. Re:won't affect most people by illtud · · Score: 3, Informative
      So the number of people who would let one of these dangerous mp3s just sit there and be scanned is probably pretty small.

      Read the Microsoft Bulletin (which I got yesterday). Opening a shared directory with one of these MP3s in will trigger the attack, or even previewing an email with one of these attached will execute it.


      Here's MS own words:

      An attacker could seek to exploit this vulnerability by creating
      an .MP3 or .WMA file that contained a corrupt custom attribute
      and then host it on a website, on a network share, or send it via
      an HTML email. If a user were to hover his or her mouse pointer
      over the icon for the file (either on a web page or on the local
      disk), or open the shared folder where the file was stored, the
      vulnerable code would be invoked. An HTML email could cause the
      vulnerable code to be invoked when a user opened or previewed the
      email.
    5. Re:won't affect most people by Anonymous Coward · · Score: 0

      And as is usually the case when something like this is discovered, they probably deserve what they get for being such idiots.
      As do you, why don't you try actually reading the advisarary dipshit?

    6. Re:won't affect most people by Anonymous Coward · · Score: 0

      that would be illegal and would comprimise everything they are fighting for. Right or wrong - they aren't going to attack your computers to remove data from your computer that they BELIEVE may be stolen.

      your a f^cking idiot.

  11. Obvious Answer by Anonymous Coward · · Score: 0
    "Makes me slowly wonder: is there a list of fileformats around there that are actually save on windows, or are they all corrupt nowadays..."

    Uhhh ... .txt files?

    1. Re:Obvious Answer by Anonymous Coward · · Score: 0

      readme.txt

      after reading this file run

      format c:

    2. Re:Obvious Answer by DavidLeblond · · Score: 3, Insightful

      I remember back in the days of BBSes people around here would always put ANSI bombs in readme files.

      So, no.

    3. Re:Obvious Answer by Anonymous Coward · · Score: 0

      Always? It seems to me like you visited the wrong BBSes...

  12. It's a sad day when... by Anonymous Coward · · Score: 2, Interesting

    ...a machine can be hacked through the mp3 player. This is all not so Windows centric either, many software developers need to get a clue.

    1. Re:It's a sad day when... by xsbellx · · Score: 2, Insightful

      Definitely one of the more insightfull comments in a while. Exploits like this really speak volumes about the current state of software development, both at the application and O/S levels.

      --
      If VISTA is the answer, you didn't understand the question
  13. So click the update button by AKnightCowboy · · Score: 4, Interesting

    Click the Windows Update button and reboot and you're fixed. Or if you're like many people, the fix has already installed during an automatic update check last night. This isn't really news unless Slashdot is merging with Bugtraq (Slashtraq? Bugdot?). Are we just posting this to bash Microsoft once again? Automatic updates were one of the best new features they added to Windows and they make life much easier. Oh and no, I don't wrap tinfoil around my head worrying whether Microsoft is going to invade my PC and lock me out of it.

    1. Re:So click the update button by Anonymous Coward · · Score: 2, Insightful
      "Are we just posting this to bash Microsoft once again?"


      Yes.

      Sincerely,
      Linus
    2. Re:So click the update button by div_2n · · Score: 5, Insightful

      So if NT SP4 had been automatically updating servers and workstations everywhere, that would have been a good thing?

      You couldn't pay me to have my system automatically update itself with patches tested quite possibly only from the company that created it.

      I would rather my system be vulnerable for a day or two than have the contents of my hard drive obliterated.

      What if some patch disabled a computer's networking? What is Ma an Pa gonna do when that is the only computer they have? Download a fix using broken networking?

      IMHO, automatic updating is a monumental disaster waiting to happen.

    3. Re:So click the update button by Anonymous Coward · · Score: 0

      /me checks his Enlightenment menus for a "Windows Update" button..

      Nope, not there. Guess I have to worry then. Oh, damn, I use oggs not mp3s as well, so I guess that's not a problem either! :)

    4. Re:So click the update button by MacAndrew · · Score: 5, Insightful

      Like another poster I am very wary of updates to anything. Not needing a security patch in the first place is a heckuva lot better than beta testing a hastily written patch for free. Then there are th people who get nailed in the interim.

      Also, on my [platform] I have seen only a few security updates a year on a young OS, some addressing obscure services I don't even use. What's the deal with MS? Why sweep this under the rug?

      I don't buy that automatic bandaids are the answer to hemmoraging code.

    5. Re:So click the update button by ch-chuck · · Score: 0, Troll


      Yes, but what they DONT tell you is that's it was a clever pre-planned bug intentionally planted so they can automatically update it when they got the payment and go ahead from the RIAA to install the DRM modules along with it, as publicly stated in the updated license agreement you agreed to when you clicked on the "I Agree" button under the agreement you didn't read that said the agreement may be changed at any time w/o having to notify you, and therefore all perfectly legal.

      --
      try { do() || do_not(); } catch (JediException err) { yoda(err); }
    6. Re:So click the update button by PinkStainlessTail · · Score: 2

      Well, a lot of "power users" have disabled automatic updating and don't bother to check Windows Update. So they might have missed this.

      --
      "Slashdot is about legos and staplers." -Cmdr. Taco
    7. Re:So click the update button by Blkdeath · · Score: 2
      IMHO, automatic updating is a monumental disaster waiting to happen.

      I tried to submit a story about the most recent Windows Update debacle, but for some unknown reason it was rejected (I really wish they'd inform users WHY submissions were rejected; even if only a one-word description, like "duplicate", "absurd", "false", "flamebait", etc.), but anyways; it appeared to me that when Microsoft announced their Java VM vulnerability, so many canned installs of Windows XP and the older variants with Automatic Update patches applied were actually DoS'ing the Microsoft Windows Update servers to the point where my 3Mbit connection couldn't even get as far as "Scanning for updates ... ". It was a real nuisance, too, since I had six machines on the bench that day and a customer LAN with five machines that all required major updates (new installs of Win'98, ME, 2k, XP, and/or machines over 1-2 years old running v5 of everything, etc.)

      Well, thanks to Microsoft I get to book another service call, likely for 2-3 hours on-site, where I'll update their machines (among other things, but the update will take time; 5 machines, all of them having to download and apply 20MB, requiring 4 re-boots, and there are no centralized images for such a small LAN).

      Anyhoo.. </RANT>

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    8. Re:So click the update button by aardvarkjoe · · Score: 4, Funny

      (I really wish they'd inform users WHY submissions were rejected; even if only a one-word description, like "duplicate", "absurd", "false", "flamebait", etc.)

      What gives you the idea that they would reject a story for any of those reasons? That sounds like a description of the front page to me.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    9. Re:So click the update button by Anonymous Coward · · Score: 0
      Well, ain't you just a hero among heroes? Of course, I am defining 'hero' as 'mindless zealoted sheep who impresses only himself'.

      Now, just nod your head and stare blankly as always.

    10. Re:So click the update button by Reziac · · Score: 2
      PJ Connolly, who normally has better sense, was caling for forced security updates in a recent Infoworld newsletter. Here's how it went, and my response:

      SecurityAdviser@bdcimail.com wrote:
      As usual, I have a suggestion that's going to enrage a lot of you: Windows users would be better served by introducing a new category of mandatory updates, where you have 60 or so days to apply the patch, and if you don't, the computer's networking functions will be disabled. Savage, yes, but effective.

      [my response]
      And are you willing to take responsibility for everything that forced updates break? Are you willing to cover lost revenue for any resulting unexpected downtime or data loss? Which, as certain NT Service Packs have amply demonstrated, is a real risk.

      What if *my* solution to a security issue was to entirely disable the vulnerable service -- and a forced update not only re-enables it, but worse, also introduces yet another vulnerability?? And of course with a NEW vulnerability, now I get to learn about it the hard way, because it's not yet a *known* risk.

      What about forced updates that include a new EULA, a la recent M$ SPs??

      Forced updates are not a solution. If anything, they are liable to ultimately be worse than the problem.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    11. Re:So click the update button by homer_ca · · Score: 1

      "It was a real nuisance, too, since I had six machines on the bench that day and a customer LAN with five machines that all required major updates"

      Maybe you're just spoiled with the 3Mbit connection and all, but there's no reason to be downloading the same patches multiple times off the Internet. You do have a local archive of all the patches, don't you? Try http://www.microsoft.com/technet/security and do the hotfix and security bulletin search (personally I despise software that phones home so I do this). If that's too much work, go into Windows Update Catalog in your Windows Update and put all that shit in your download basket.

    12. Re:So click the update button by Anonymous Coward · · Score: 0

      Oh c'mon, he got stuck with a small dick and no personality. Let him feel like a real man for once and just laugh at him quietly behind his back.

    13. Re:So click the update button by Anonymous Coward · · Score: 0

      Recently, a virus scanner update (engine update) brought down one of the fileservers in our LAN.
      The new engine has a bug that causes looping on at least one file on the disk, and it is much, much slower scanning the others.
      Indeed I think auto-updating is dangerous. Any substantial update should receive local testing, not be done automatically overnight.
      But how do you do that with something as frequently updated as a virus scanner, or Internet Explorer?

    14. Re:So click the update button by Blkdeath · · Score: 2
      Maybe you're just spoiled with the 3Mbit connection and all, but there's no reason to be downloading the same patches multiple times off the Internet.

      We use a transparent (cacheing) HTTP proxy for the bench machines, so the vast majority of Windows Update is cached (the rest aren't "proxy friendly"); but I can't apply the updates if I can't get to the Windows Update site itself.

      A local cache, unless I can store it on a CDROM, keep it updated daily with the latest patches (major hassle), and cart it around with me isn't going to do me any good on location for a customer's LAN.

      If that's too much work, go into Windows Update Catalog in your Windows Update and put all that shit in your download basket.

      If you know of a simplistic way that I can keep all up-to-date Windows Updates available without having dozens of executable files to run manually (or even with a three/four stage batch file, due to the fact that so many of them require reboots), I'm all ears. I looked at their corporate downloads page, but it didn't list any updates for Windows XP, and now it appears to re-direct me to their primary Windows Update site. (As a matter of fact, that was one facet of the article I tried to submit; how to keep updated without having to rely on windowsupdate.microsoft.com).

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    15. Re:So click the update button by homer_ca · · Score: 2

      The corporate downloads page doesn't always list the latest patches. The Technet Security page works for XP Pro too, but you'll have to click through the security bulletins and then scroll down to the download links, so it's a hassle. Try Software Update Services. It's like a local Windows update server. It'll work for a corporate LAN, but not very useful for those one shot installs because it'll keep hitting your local SUS server for updates. Still better than phoning home to Microsoft since you control what patches are available.

    16. Re:So click the update button by Badanov · · Score: 1
      Are we just posting this to bash Microsoft once again?

      You're new to slashdot, aren't you?

      --
      Dawn of the Dead
    17. Re:So click the update button by Blkdeath · · Score: 2
      The corporate downloads page doesn't always list the latest patches. The Technet Security page works for XP Pro too, but you'll have to click through the security bulletins and then scroll down to the download links, so it's a hassle. Try Software Update Services

      That would work if not for our customer base; a lot of them (perhaps the majority) still run Windows 98/ME (don't want to pay, it works, etc.), and we wouldn't want to give public access to our server (for obvious reasons).

      The sad truth is, there doesn't seem to be a way for a computer repair shops to update Windows without windowsupdate.microsoft.com. The nature of our business is either computers come in for a day (or two, or three) then leave again and sit behind dial-up, cable, DSL, or no Internet connection, else they're on company/home networks of varying degrees of complexity.

      For 99% of the time, cacheing the updates with Squid seems to expediate the process, but like I said; it doesn't work when the site won't even let you scan for updates to apply.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    18. Re:So click the update button by glitch23 · · Score: 0

      Automatic updates were one of the best new features they added to Windows and they make life much easier.

      Until you get an automatic update that has bad code in it (gee, Microsoft NEVER does that but it COULD happen *sarcasm*) and it messes up your entire system even worse than if you hadn't installed the update.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    19. Re:So click the update button by Bug-Man · · Score: 0

      "hastily written" is right. I just wonder how many patches get released which end up filling one hole, but end up unknowlingly opening other holes??

  14. Hrm... virus scanning my MP3 collection by rickthewizkid · · Score: 2, Funny

    Something tells me that my daily virus scan is gonna take a lot longer now...

    Oh wait... it's a Windows problem... never mind...
    RickTheWizKid
    My purpose: to inject random comments...

  15. How long before... by bryhhh · · Score: 3, Interesting

    we see a worm exploiting this, remember the last worm that was executed without even opening a file.

    1. Re:How long before... by PetiePooo · · Score: 2

      This cannot be a self-propagating worm ala Nimda or Code Red. Simply put, it requires user interaction. A user must browse to an infected folder in order for the shellcode to be executed.

      Since a properly administered server is not also a client, it should not be affected, even if a rogue client dumps an infected MP3 onto one of its shares. That is until the admin logs in via TermServ and starts poking around.. but that's still user interaction.

      Hmm.. I wonder. If a person does a search of MP3's, does viewing it in the search window run the exploit? I bet it does..

    2. Re:How long before... by pbemfun · · Score: 1

      Not true. It could become self-propogating by using the vulnerability detailed in MS02-068.asp. You could possibly auto-download the file to the harddrive and run something like "mplayer2 bad.mp3".

      Of course, I'm just guessing here but I think its possible,

    3. Re:How long before... by PetiePooo · · Score: 2

      Combined with another vulnerability, sure. But then this is just another way of transporting or hiding shellcode.

      If you'll read your comment again, you said "run" mplayer2 bad.mp3. If you have the power to run arbitrary commands, why not just download and run your own exploit instead of having mplayer2 run some shellcode out of an MP3?

    4. Re:How long before... by Anonymous Coward · · Score: 0

      This cannot be a self-propagating worm ala Nimda or Code Red. Simply put, it requires user interaction.

      Actually, this affects Outlook Express preview pane with no user interaction required.

      Also, most users (even the techies) probably believe that viewing a directory listing is a pretty passive activity, which is what makes this so dangerous. (Much like the old time floppy viruses where you could become infected with a normally benign activity.) Nimbda also spread this way, BTW.

  16. Why does this matter to /.-ers? by toupsie · · Score: 5, Funny

    You guys are all supposed to be using Ogg anyways! That way you can act like you are a snooty audiophile anytime a MP3 story is posted...

    --
    Strange women lying in ponds distributing swords is no basis for a system of government.
    1. Re:Why does this matter to /.-ers? by 13Echo · · Score: 4, Insightful

      Most people don't use Ogg Vorbis for the quality. They use it for the license.

      In high bitrate modes, there is little difference between properly encoded MP3s and OGG files. And high bitrate is what really matters, unless you are streaming over a low bandwidth connection (in which OGG is the clear winner due to size).

      Maybe your comment would make sense if you were referring to something like FLAC from http://flac.sourceforge.net/ . MP3 and OGG are both lossy, so you really can't be a snooty audiophile if you use them. ;)

    2. Re:Why does this matter to /.-ers? by nxg125 · · Score: 1

      I disagree. Although both ogg and mp3 will sound good at high bitrates, it's nice not to have to use high bitrates in order to get good quality with ogg. At low bitrates, ogg is far superior.

      Of course, the license is a nice feature too!

    3. Re:Why does this matter to /.-ers? by tempest303 · · Score: 1

      you could at least try a little harder when you troll, come up with some better fake facts and whatnot. :P

    4. Re:Why does this matter to /.-ers? by amoe · · Score: 1

      I thought the point of the parent was that Ogg doesn't suffer from buffer overflows in the comments section as much as MP3s, because the Ogg format defines unlimited space for UTF-8 comments, and anything that doesn't accept this is not an ogg decoder as per the spec. The quality of the music doesn't affect your ability to be hit by a buffer overflow bug. (Subsititute "Ogg" for "Vorbis" as appropriate, people with knowledge.)

      Of course, the ability of the software to deal with comments of unlimited length is the real bottleneck...and Winamp plugins for Ogg support are widely available, in fact, Winamp3 comes with support by default. (IMHO winamp-2.81 is far superior, but that's outside the scope of this discussion.)

      --
      You look beautiful! Incidentally, my favourite artist is Picasso.
    5. Re:Why does this matter to /.-ers? by Anonymous Coward · · Score: 0

      Fake facts? Inform yourself.

      http://www.hydrogenaudio.org/

    6. Re:Why does this matter to /.-ers? by amoe · · Score: 1

      Oops. Of course, it was referring to the WinXP bug. Well, consider the parent an informative aside. :-)

      -- amoe, blushing

      --
      You look beautiful! Incidentally, my favourite artist is Picasso.
    7. Re:Why does this matter to /.-ers? by Anonymous Coward · · Score: 0

      WARNING: above link redirects to goatse.cx!

    8. Re:Why does this matter to /.-ers? by tiger_66_y2k · · Score: 1

      I actually just encoded my entire MP3 collection to OGG using oggenc v1.0's -q1 option, but as far as real world quality goes, the only difference I notice between the MP3's (192Kbit) and the OGG's (96Kbit) is that the OGG's are smaller. I just gained 600MB of my hard drive back.

    9. Re:Why does this matter to /.-ers? by runderwo · · Score: 2
      Remember that re-encoding a lossy compression codec (MP3) to another lossy codec (Vorbis) will ensure that, at best, the re-encoded files will sound no better than the original ones.

      You would notice more difference if you encoded the OGG files from the original source, instead of from MP3s that have already been lossily compressed.

    10. Re:Why does this matter to /.-ers? by Anonymous Coward · · Score: 0

      Inform myself? With a link to, effectively, "Slashdot for Audiophiles - opinions pulled from asses, stuff that we made up"??

      Yes... I sure will run off and be informed by the unreasoned opinions of people who believe their own crap strongly enough to post it as fact.

  17. Why...... by RyoSaeba · · Score: 1

    ...do we need all this flash & bell things in Explorer / whatever in the first place ? Sure it's nice to see tags of a file without opening, but is it really necessary ? Couldn't people live without it ?
    As for the buffer overflows, that isn't exactly a new thing, you'd like people to take better attention on those sort of things...
    Oh, and that's a trouble also because Explorer runs with high-level privileges, too (just can't help smacking ms, sorry), that this kind of exploits can be annoying...

    --
    Tsuyoikoto ha taisetsu da ne, dakedo namida mo hitsuyousa (Strength is an important thing, but tears too are necessary)
    1. Re:Why...... by bryhhh · · Score: 1

      do we need all this flash & bell things in Explorer / whatever in the first place ?

      Unfortuntaly we are stuck with it in the latest versions of windows. Personally I'd rather do without it and have a much more responsive system.

      Explorer runs with high-level privileges

      On any windows system i've used, it runs with the same privelages as the user who is logged on. I guess the parnoid amoungst us could run with an account with user rights, and then use runas to do everything that an account with user rights can't do.

    2. Re:Why...... by cygnusx · · Score: 1
      ...do we need all this flash & bell things in Explorer / whatever in the first place ? Sure it's nice to see tags of a file without opening, but is it really necessary ? Couldn't people live without it ?
      Well, a lot of people use Windows, many of them novices, and many of them like tooltips. However, the windows shell is also fairly customizable (though its no Enlightenment) and if you don't like tooltips, all you have to do is (works with Win2k): Open "My Computer". Tools | Folder options... | View tab. Uncheck "Show popup descriptions for folder and desktop items." A similar option should exist for XP.

    3. Re:Why...... by Anonymous Coward · · Score: 0

      Yeah, why?
      Your right...maybe we should all just use technology from 3-9 years ago. You know, you can! Go buy a 486 DX2-100. They are great. Install Linux on it. It should run great. It won't cost you much.

      Why do we need new stuff. BECAUSE PEOPLE LIKE IT! IT SELLS!

      These are lame arguments....

    4. Re:Why...... by Anonymous Coward · · Score: 0

      you act like there's no reason to ever use the older technology. Sometimes things are great just how they are, and shouldn't be updated. Also, sometimes it'd be nice if the update was a CHOICE, instead of being forced upon you.

      Try using that grey matter every now and then.

  18. Don't even need to have the file local? by Jugalator · · Score: 4, Informative

    From Microsoft:

    An attacker might attempt to exploit this in one of three ways:

    * Host the file on a website. In this case, if a user were browsing the page containing the file and hovered over it with his or her mouse, the vulnerability could be exploited.

    Eep!

    * Host the file on a network share. In this case, if a user browsed to the network share and simply opened the folder which contained the file, it could cause the vulnerability to be exploited.

    Gaah!

    Also, it seems you can send an e-mail with the mp3 object in a frame (this is the third way of exploiting it) so you don't even need to click a link in Outlook / OE for it to be run. This shouldn't be possible on XP SP1 or a recently patched IE though.

    --
    Beware: In C++, your friends can see your privates!
    1. Re:Don't even need to have the file local? by Anonymous Coward · · Score: 0

      Hover the mouse? Last time I checked a HTTP connection isn't opened until you click on a HTML link.

      Or has microsoft gone and added some new wacky Windows Media sidebar doohicky?

    2. Re:Don't even need to have the file local? by DrQu+xum · · Score: 1

      Hover the mouse? Last time I checked a HTTP connection isn't opened until you click on a HTML link.

      If a language has an onMouseOver or equivalent command(s), executing without clicking is perfectly possible. Just combine with a call to wget and you're all set.

      So, to get back on-topic...is mpg321 vulnerable? (Seriously -- I'm not kidding!)

      --
      DrQu+xum: Proof that the lameness filter doesn't work.
  19. Effects more then you realize by nurb432 · · Score: 2

    From what it says, by then its to late.. As the act of verifying will let the malicious code take effect..

    Unless i TOTALLY misunderstood....

    --
    ---- Booth was a patriot ----
  20. The only thing funnier by I+Am+The+Owl · · Score: 2

    would be if they embedded these in Jon Bon Jovi MP3s.

    --

    --sdem
    1. Re:The only thing funnier by davmct · · Score: 1

      but then only YOU would be affected. you'd have to make it some mainstream crap like nelly or eminem

  21. Why are there still buffer overruns? by boatboy · · Score: 1

    We all know what buffer overruns are, but why do they seem to be so common? It would seem like this is something that could be easily prevented in the compiler or at most with very basic programming procedures. As many of us are programmers, any advice how to prevent these in our code? Is it possible to accidently allow buffer overruns in other languages besides C(Java, C#, etc.)?

    1. Re:Why are there still buffer overruns? by Anonymous Coward · · Score: 1, Informative

      Umm...in the old days compliers wouldn't let you overrun your buffers. You can just turn on "range checking" in the compiler. While this does add overhead, if we programmers had enabled this feature, we'd be have 90% fewer of these problems.

    2. Re:Why are there still buffer overruns? by Anonymous Coward · · Score: 0

      The reason is quite simple.

      A lot of people writing code have no business doing it. Some of those who I have seen with CS degress writing code in companies.. damn..

      NO CLUE. We're lucky if THEIR OWN CODE doesnt overrun itself in normal, defined conditions, let alone with purposely mangled data.

    3. Re:Why are there still buffer overruns? by esarjeant · · Score: 3, Insightful

      Since you don't manage your own memory on Java or C#, the concept of buffer overflow doesn't really apply. While the array construct still exists in both languages, you can't overflow an array without going out of bounds.

      It is critical that the software industry start to adopt VM's for managing applications, especially code that runs on a server. The emergence of a user-mode kernel for Linux is a critical development in this regard, but ultimately it makes more sense to modernize your codebase to Java, C# or any of the interpretive languages that can intercept/manage memory allocation checks for you.

      --

      Eric Sarjeant
      eric[@]sarjeant.com

    4. Re:Why are there still buffer overruns? by InfiniteVoid · · Score: 1

      There have *got* to be better ways to avoid buffer overflows than by moving to VMs / interpreted languages. I like my computer to run, not crawl.

    5. Re:Why are there still buffer overruns? by loconet · · Score: 2

      I love Java and C# for managing my memory, but asking the software industry to adopt VM's for all languages for the reason of managing memory is like asking the automotive industry to make cars out of styrofoam and limit their speeds to 5k/h. You can't really do that, so what we need is concious drivers and a set of rules they must follow. In this case we need concious programmers and a set of rules they should be following to avoid the buffer overflows.

      --
      [alk]
    6. Re:Why are there still buffer overruns? by e-Motion · · Score: 1

      Since you don't manage your own memory on Java or C#, the concept of buffer overflow doesn't really apply. While the array construct still exists in both languages, you can't overflow an array without going out of bounds.

      That first sentence does not make sense. Garbage collection avoids memory leaks; it has nothing to do with buffer overflows.

      Don't throw the baby out with the bathwater. All we really need is a "safer" array construct. Unfortunately, programmers still use unsafe constructs in their code, and that can be attributed mostly to inertia.

    7. Re:Why are there still buffer overruns? by boatboy · · Score: 1

      We don't manage our own memory, but can we assume the runtimes, and underlying classes are managing it correctly? Is it possible that all programs using certain classes are vunerable?

  22. In defense of Microsoft... by MacAndrew · · Score: 5, Insightful

    Oh, just kidding. :)

    I would like to ask for factually-based opinions whether these innumerable highly dangerous security holes in MS software are more the result of the ingenuity of the hackers or the incompetence of the Microsoft design and testing process, or about 50:50. I am inclined to be prejudiced against Microsoft, so I would be REALLY interested in hearing reasoned defenses of their predicament, if such exist.

    So, please, no MICROSOFT RULZ!!! or MICROSOFT SUX!!! I'm not asking for a vote.

    Microsoft provides the #1 small-system OS, for better or worse, which means Windows will immediately be the hot target for black-hat types intent on spreading misery or demonstrating their hatred for the leviathan.

    I know, too, that half the problem has been MS's arguably foolhardy decisions in adding dubious extensions to their software, like default enabling scripting in Outlook and macros in Word. But I'm kind of curious about the mistakes in doing their core work, like handling MP3's.

    Last, I have trouble understanding how so many of these bugs come from a company with many of the brightest programmers. Is it a largely problem of scale and bureaucracy?

    Share your concise insightful informative nonprofane fact-based reactions from experience? :)

    1. Re:In defense of Microsoft... by Jucius+Maximus · · Score: 1
      "Last, I have trouble understanding how so many of these bugs come from a company with many of the brightest programmers. Is it a largely problem of scale and bureaucracy?"

      Keep in mind that the guiding purpose of Microsoft is to increase shareholder value. If they can sell millions of copies of a product, even if it happens to be a bug ridden piece of garbage, then that is good for them. They have probably found that devoting resources to fix those bugs before release would not be as good for profits than just releasing the dang thing and fixing the high profile bugs later. Remember, it's about shareholder value. They must find the best medium between a competent product and a product that actually gets released on schedule and under budget.

      From the point of view of increasing shareholder value, releasing a secure, bug free OS is bad for business. They have proven time and time again that people will buy their product for whatever reason, even if it is not at all secure. Now that they have a monopoly, user satisfaction is not part of the equation at all.

      Of course when there is no shareholder value to increase, priorities change. For examples of how this system works, please observe GNU/Linux.

    2. Re:In defense of Microsoft... by TitleSeventeen · · Score: 1

      Microsoft may have very bright programers, but the linux community has thousands of very bright programers accross the world, you do the math.

    3. Re:In defense of Microsoft... by Fear+the+Clam · · Score: 1

      Microsoft provides the #1 small-system OS

      But their security is for #2.

    4. Re:In defense of Microsoft... by kink · · Score: 1
      I would like to ask for factually-based opinions whether these innumerable highly dangerous security holes in MS software are more the result of the ingenuity of the hackers or the incompetence of the Microsoft design and testing process, or about 50:50.
      In this case, judging from the fact that WinAMP's developers made the exact same mistake, I don't think this would be something specific to Microsoft incompetence.
    5. Re:In defense of Microsoft... by MacAndrew · · Score: 3, Insightful

      Two fools means no fools? ;-)

    6. Re:In defense of Microsoft... by 9jack9 · · Score: 1
      What you are looking for is an opinion-free measurement of the skill differential between Microsoft correction efforts on the one hand and discovery efforts on the other. I don't think you'll ever be able to determine on a purely factual basis, untainted by bias, whether such a method. No doubt, statistics and logical arguments can be marshalled to support one side or the other. I suppose one could establish criteria for a "clue index", and measure each flaw based on those criteria, but even then it seems like the selection and application of the criteria would be highly subjective.

      Another interesting but no doubt unattainable measurement would be the per-flaw cost-of-corrective-action vs. cost-of-discovery. In other words, how much did it cost to find the flaw, and then how much did it cost to fix it?

      Perhaps some enterprising graduate student in some sort of hybrid sociology/business/computer science it putting together such a study right now.

      It's also a sort of interesting thought exercise to imagine that Microsoft has a "bureaucratic-coeffecient-of-friction" of zero, in other words, all issues come down to a matter of cost. Then the question becomes, how does Microsoft balance the value of correcting security (or other flaws) vs. the fiduciary responsibility to provide maximum return on shareholder investment. In other words, what amount of money does Microsoft spend on code fixes now, in order to maximize the profitability of the code base in the long run, and how does the ROI of money spent on code fixes compare to the money spent on new code base development, marketing, acquisition, and/or lobbying? My own completely unsubstantiated opinion is this is exactly how the issue of security is evaluated at Microsoft, and that they spend a good bit of money to develop and evaluate models forecasting exactly this sort of thing.

      Finally, I have to wonder whether such code flaws are truly "mistakes". If you consider the amount and severity of flaws to be directly related to the amount of money applied to the code base (personally, I imagine them using a shovel), then flaws aren't truly mistakes, they're decisions.

    7. Re:In defense of Microsoft... by doofusclam · · Score: 3, Insightful

      Hang on... Microsoft also has thousands of 'very bright' programmers around the world. Your point is? The key is what motivates these programmers?

      Much as I love the idea of OSS (and indeed I contribute myself) there are a lot of OSS coders who just want to write new, funky stuff - bug fixing and other stuff that could be termed 'patrolling the perimeter of the code' just isn't funky enough so it gets forgotten about.

      MS coders used to be the same, because obviously they're driven by the dollar, dollars which would only be spent on their software if it had the wizziest new features. Now after a few years of being mercilessly slagged off for bad code they're doing something about it because Chairman Bill realises that it's gonna affect the bottom line if they don't. They are paying a lot of dollars to fix their own bugs - which you may laugh at but - hey - at least it's being done. Big-name OSS projects, such as the Apaches of this world are similar to MS in that they have a lot of people working on them and, more importantly, *willing* to work on them so project admins can crack the whip and get the juniors to do the same code security audits that MS are now doing.

      There are however a lot of less well known OSS projects with worse code than anything Microsoft come up with. They neither have the dollars of MS or the cachet of a big OSS project so people just code whatever bits they want. Hence, their code is likely to be worse without sufficient peer review etc.

      The point of all this being that inferring that OSS is better that MS because linux has 'thousands of very bright programers (sic) accross the world' is not only incorrect it's harmful to the acceptance of OSS when the most vocal advocates turn out to be dumb-asses who don't think before they type.

      seany

    8. Re:In defense of Microsoft... by Anonymous Coward · · Score: 0

      So, please, no MICROSOFT RULZ!!! or MICROSOFT SUX!!! I'm not asking for a vote.

      Heh, you're new here, right?

    9. Re:In defense of Microsoft... by GooberToo · · Score: 2

      Simple fact is, awareness of buffer overflow exploits has been high for a very long time. Anytime you have a buffer overflow, it is a serious problem. That doesn't mean that every overflow can be exploited by running code, however, it a bug nontheless. You're welcome to characterize this type of bug however you like but the fact remains, almost all buffer overflow bugs are CS101 (real basic in nature) problems which one shouldn't find much of these days.

      Combine that with the simple fact that hackers do tend to have real ingenuity, it creates a simple backdoor to walk right through.

      Make no mistake about it. Buffer overflows are bugs and a programmer's failing. The fact that so many are found coming from Microsoft's direction only highlights just how little they cared about the quality of their products and the effect it can have on their user base. After all, even the most basic of code reviews should of been catching most and possibly all (vast majority) of them. Again, this creates several possibilities: 1, MS doesn't review their code. 2, MS employs programmers that are reviewing code but simply don't have the proper experience. 3, Such sloppy programming is well accepted and simply ignored by a review process as it's deemed unimportant, or worse, acceptable by corporate standards.

      I would like to point out that I've met several people that work for MS and none were short in the brain department. If they are typical, I'm betting that possibility #2 probably does not apply.

    10. Re:In defense of Microsoft... by Pig+Hogger · · Score: 2
      Hang on... Microsoft also has thousands of 'very bright' programmers around the world. Your point is? The key is what motivates these programmers?
      It's not the programmers. It's the pointy-haired bosses.
    11. Re:In defense of Microsoft... by Sloppy · · Score: 4, Insightful
      It has to be a problem of values. Buffer overflows have been biting people in the ass for a long time now, everyone knows they are very serious, and programmers who know what they're doing can easily avoid them.

      If Microsoft is still shipping them, it has to either be because they think it's just not important enough to worry about, or because they don't have the resources to hire decent programmers. The rumors going around indicate that Microsoft has abundant resources.

      Windows will immediately be the hot target for black-hat types intent on spreading misery or demonstrating their hatred for the leviathan.
      For some reason, this has never happened, even though the the opportunity has been there for many years. My guess is that the kind of people who write Worms For Windows, enjoy the fun of it, and know that if they ever write a truly nasty one (massively destructive payload with a time-delay so that it can spread before detonating), there will be a crackdown (either legal or technical) and then the fun will be over. Perhaps that is why Microsoft considers security unimportant: so far there haven't been any serious incidents.
      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    12. Re:In defense of Microsoft... by laigle · · Score: 1

      It's like asking whether the terrorists are smart or the airline security is lazy. People have to get on airplanes, there's a limited amount you can do to determine if someone's a terrorist.

      An OS has to allow code execution. For most of the neato features people demand in new OS's, they even have to allow remote code execution, even by third parties that may or may not be identifiable. They have to read file information. They have to do any number of things that could be used as an attack, because what the attacker wants to do is something you might want to do too.

      I saw Palladium mentioned in another thread, but that won't help here. Even with Palladium, there is going to be a limit on how well the computer can differentiate between you wanting to execute code and you inadvertantly executing code, and the current Palladium system isn't even designed to address the issue if the code is local. I would say a more effective means would be to have some sort of password protection on certain actions, especially if it can be varied by the user. If there is no way to, for instance, run a format command without getting a little popup window explaining what you are about to do and having the user manually respond with a password, with no switches of any kind to bypass it, it takes the sails out of a lot of vulnerability exploitation. Likewise for net access, or many settings changes. It would be annoying, yes, but it would be a lot more secure, and if you felt you were secure without it you could turn it off.

      Eventually though, we're going to have to actually attack the problem. You can't stop all computer exploits. You can't stop all virii. We need to track a lot of the script kiddies and hackers behind these things down instead of hoping they adapt slower than McAfee and Symantec. At the moment, there is virtually no risk in malicious hacking, because nobody is out looking to catch you, and even if they are the chances of getting caught and punished are slim. That needs to change more than we need to look for magical compuers that always know whether you want to run code or it's an accident.

    13. Re:In defense of Microsoft... by Anonymous Coward · · Score: 0

      Lets not forget redhat 6, rember out of the box it had a serious flaw you could exploit and get into *any* instaled system? A nice backdoor?

    14. Re:In defense of Microsoft... by tshak · · Score: 2

      First, a similar bug was reported to XMMS. Second, we are talking about millions of lines of code that has historically been managed by people who care much more about features than security. Sure, last year MS initiated a major focus on security, but it will probably take a year just to get the mindshare of the managers, let alone get the programmers to rewrite a lot of code.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    15. Re:In defense of Microsoft... by gosand · · Score: 2
      Last, I have trouble understanding how so many of these bugs come from a company with many of the brightest programmers. Is it a largely problem of scale and bureaucracy?

      1. Programmers are human (barely. ;-))

      2. Programmers build on the architecture. If the architecture is flawed by design, there isn't much a programmer can do.

      --

      My beliefs do not require that you agree with them.

    16. Re:In defense of Microsoft... by yoz · · Score: 3, Interesting

      Of course when there is no shareholder value to increase, priorities change. For examples of how this system works, please observe GNU/Linux.

      Or, more accurately, please observe GNU/Hurd which is a project several years old that is still nowhere near to a 1.0 release.

      Microsoft releases buggy software. So does Redhat. So does Debian. In fact, anyone who releases any reasonably complex code (and an entire operating system with loads of supporting packages is pretty damn complex) and claims that their code is entirely bug-free is lying. As has been pointed out elsewhere in this thread, Redhat 6 had a remote root exploit in its default install. Even OpenBSD, that bastion of religious security auditing, discovered recently that it was distributing a package with a hole in it.

      The simple reason is that you have to put up with releasing buggy software because otherwise you will never release. No QA system will be able to get rid of all the bugs. The best you can do is prioritise the bugs you have and try and get the most significant ones fixed in time for a reasonable shipping date.

      In terms of how good/buggy MS's code is, I think it's fantastic in some areas and terrible in others. I think that they are relatively weak and often irresponsible when it comes to security but they are learning. They share the same problems as any massive software development organisation, which is that as you grow it gets harder to enforce regimented coding practices. God knows they really have no excuse for bounds-checking errors (given the number of implementations of safe arrays they have lying around) other than policing this stuff is very hard, especially when it comes to legacy code.

      Besides, as I said earlier, OSS projects have security holes all the time. They just tend to be patched faster and have a smaller impact (due to smaller, more savvy audiences)

      -- Yoz

    17. Re:In defense of Microsoft... by iabervon · · Score: 2

      Buffer overflows are pretty easy to avoid, if you care. Many of the brightest programmers care more about other things, however. It's a bit easier to write code which could overflow than code which can't, and writing readable code which can't overflow requires a bit of non-standard library support.

      Furthermore, fundamental parts of the OS design make any bug security critical, which means that what would be a minor flaw on other OSes (browser crashes, have to restart it) are major security holes on Windows. This reflects a bit of bad planning a long time ago (and the fact that the design started out on systems which were not affected by anything but physical access) and an unwillingness to change fundamental user-visible design.

    18. Re:In defense of Microsoft... by Jucius+Maximus · · Score: 1
      "Besides, as I said earlier, OSS projects have security holes all the time. They just tend to be patched faster and have a smaller impact (due to smaller, more savvy audiences)"

      Agreed ... absolutely. This is one of the real, genuine, fundamental, non-fanatical reasons why OSS has super advantages over closed source.

    19. Re:In defense of Microsoft... by Anonymous Coward · · Score: 0

      About 500 years ago, a guy named Martin Luther decided to translate the Bible into German, thus was born the Protestant revolution. The point being, that before this, if you were German and could not read Latin, you had to have a priest translate the words of God AKA the Bible.

      A Brit named William Tyndale had the same idea, he printed 50 copies of the Bible *in English*, the establishment was that shocked at this idea, they burnt him at the stake. Probably because they thought the idea of the common people having direct access to the 'holy writ' would lead to them thinking for themselves and having dangerous ideas.

      How like the current debate between open source and closed source this all sounds. Just substitute operating system for Bible, money for God, the stock market for the Holy Roman Empire and Bill Gates as the Pope and it all lines up!

    20. Re:In defense of Microsoft... by Reziac · · Score: 2

      The other problem, which I've heard about firsthand from an Apple OS programmer, and 2ndhand re M$'s OS and core Office programmers, is that often a coder or coding group is not allowed to finish their own project. At some arbitrary time it gets willy-nilling passed on, in partly-baked form, to some other coding group, so whatever was meant to be fixed later never gets fixed (the next group having no idea what still needed fixing), and features remain in a state of "this is a great idea, but look at all the spots where it doesn't quite work".

      Reportedly this happens inside M$ to keep all the subgroups "competitive" with one another. Apple didn't seem to have any excuse other than crappy management. And I'm sure having "on the shelf by NN date" deadlines don't help.

      So, back to the nominal subject line -- I don't think it's entirely sloppy coding, and my observation of Windows' evolution tends to support this. Particularly in WinME and WinXP, there are lots of functions where you can see where it was meant to go, but clearly just never got finished. Contrast this to Win95 and Win2K, which overall are much more polished in terms of what's there being *complete* and fully functional.

      Anyway, I don't think it's fair to put the onus entirely on sloppy coding, as from what I've seen, M$'s coders generally do good work -- when they're allowed to.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    21. Re:In defense of Microsoft... by Reziac · · Score: 2

      That's something I've observed too. The brightest programmers do brilliant things, but they find slogging thru the more mundane aspects of coding (such as security and UI) downright boring. And boring work tends to get done only at the last minute (with typical last-minute quality), or only when pressure is applied to get it done, or not at all. Throw a couple PHB into the mix, and Bill's vision of taking over the world (frex by forcibly miscegenating OS and browser), and suddenly you've got a real problem.

      BTW when I review an app, a major PLUS is "when it does crash, it doesn't take out anything else." Which to my mind is how it should be. The fastest way for an app to get removed from my box is to crash the OS along with itself.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    22. Re:In defense of Microsoft... by yoz · · Score: 3, Interesting

      Note that I said tend to. I recall that Mozilla had a couple of nasty exploits that were known about for months before being properly fixed.

      There's also the fact that "issuing a patch" can be an entirely different process for two different projects. OSS patches are usually:

      1. a slight change to the source
      2. some quick testing on a couple of machines
      3. issue of a source patch file through the usual channels
      4. updated tarballs and builds

      whereas, in MS's case, it probably looks more like:

      1. bug triage by project leads
      2. reassignment of busy coders
      3. slight change to the source
      4. create binary patch for Windows Update along with standalone exe
      5. send patch to QA lab for testing across hundreds of different setups
      6. once back from the QA lab, start the process of fast-tracking the patch to WU
      7. WU
      8. Updated builds pushed to distribution

      So yes, OSS is often faster, but you can see why. OSS is better able to handle a patch breaking something for some users, because it'll probably only be installed by power users who'll put up with it and know how to roll back, and the patch can be followed by a better patch. If a WU patch breaks something, even for only 10% of users, it's potentially disastrous because it's going out to everyone and 10% is still several million.

    23. Re:In defense of Microsoft... by yoz · · Score: 2

      If Microsoft is still shipping them, it has to either be because they think it's just not important enough to worry about, or because they don't have the resources to hire decent programmers. The rumors going around indicate that Microsoft has abundant resources.



      Microsoft has abundant resources, abundant programmers, and abundant code being written. Keeping it all in check is hard. That is where the problem lies for any large software development organisation that needs to ship.

    24. Re:In defense of Microsoft... by Reziac · · Score: 2

      "... concise insightful informative nonprofane fact-based reactions from experience"??! Where do you think you are? :)

      I've already posted a couple replies with my observations uphill from here, but consider 'em as replies to yours too. As a long-term observer of Windows' evolution, M$'s problem strikes me more as a partly-baked code problem (largely thanks to PHB) rather than programmer incompetence.

      Note that "partly-baked" is not the same as "half-baked" :)

      I recall a post from some previous similar discussion in which someone pointed out that some flaws come from compiling to the MFCs, which are apparently severely buggy. Dunno how relevant that is to this discussion. Anyone who knows more about that care to elucidate??

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    25. Re:In defense of Microsoft... by indiigo · · Score: 2

      Worm proposal:
      Melissa-propagation, with a payload of randomly deleting (but better yet just changing a random metadata part of the file, such as add a few lines of corruption to a jpg, or a few random letters in a word document) network and local files, changing the date and filesize back to their original values, rooting every box to disable SFC, then restart the boxen with the "restart" tool from the Microsoft resource toolkit after infecting 500 hosts for propogation, changing the bootloader to load a linux quickboot random DOD filesystem wipe.

      Boom, Microsoft OS +millions are gone. All this is possible with one single IE loaded webpage or link into an outlook/social engineering hack. IE is still vulnerable to scripting hacks and always will be.

      Now go write it!

      --
      fslg503-985-8686503-985-8686503-985-8686503-985-86 8650 3-985-fdsg8686503-985-8686503-985-8686503-9
    26. Re:In defense of Microsoft... by Anonymous Coward · · Score: 0

      I think the true solution lies in changing the fundamentals of how Windows is defaulted... in other words, run programs as extremely limited permissions by default and build a system, a wizard, or something that stingily keeps them to the minimum permissions necessary.

      Of course, this is all dependent on people always downloading or otherwise installing software / files that are not malicious. People are just plain dumb. I can't tell you how many people in my office building happily click away to download Gator and don't even remotely stop to read what it's doing!

      People tend to just notice the end result of security compromises (only if they are evident to the end user... performance slowdowns, unusual behavior, etc.). It's amazing to me on a daily basis how people will happily sacrifice their computer and private information to install a screensaver or some other rubbish!

      Windows, I will argue, is only as secure as its users. The problem with Windows is that it is, I would have to say, considerably more challenging and difficult to lock down than *nix. Not that it can't be done, and I believe I've seen several good examples of it, but the vast majority of Windows users have no idea how to even use it. Compare this to *nix platforms where the opposite is primarily true and you see the problem clearly outlined.

      Windows, given it's majority user community, is a potential playground for malicious or even well meaning though crappy code. Such code exists for all OS's and it is ignorant to say otherwise, but a more educated computer community tends to not install the crap.

      There lies the key to Microsoft's problem, they are a business first and foremost. Even if they have some of the brightest computing talent and we can assume that the majority of programming decisions are not based on evil (some are, but most aren't folks), they have to address a market that no one other than Apple is willing to satisfy.

      The multitudes of the computationally impaired citizens of the world. Many simply don't care enough about what it computers do and are thus afflicted. They are the people who never understand quite what they are doing. It's sad, but you have to understand that it is a GOLDMINE that Microsoft gets fat from. Why not?!? If the majority of the people of the world remain idiots they deserve whatever they pay for and more power to MS for exploiting them!

      I wish I could exploit them in the way MS has! I hope that among the computer community there are still a large segment of entrepreneurs (not just innovators and dreamers) around.

      Ultimately in this world, you can build a truly beautiful piece of Automotive machinery by hand, with care and love, and you will STILL sell it to the highest bidder, not the most qualified to operate or fully enjoy it! If you think about it too much, it's a crime to plunk a 3+ Ghz computer in front of a complete moron that will never use more than 10% of that computing power! If they want it, and are gonna pay someone good money for it, why not! It makes things cheaper for all of us in the end.

    27. Re:In defense of Microsoft... by kesuki · · Score: 2

      How about another possibility? that microsoft actually manges to catch Almost all the in-house buffer overun problems but in by sloppy temp agency programmers, but that the ones that slip past are the minority?
      For instance in this particular case the buffer overflow is not found in windows media player, but only in explorer itself. So obviously the WMP code was checked better, and no overflow was left when checking the id3v2 tags. windows has a lot of code going into it, the more code that needs to be reviewed the more bugs that will slip past watchful eyes.

    28. Re:In defense of Microsoft... by TitleSeventeen · · Score: 1

      i won't argue with you that almost ANY piece of software (OS or app) will have bugs, in fact i know a contributer to free bsd, they have delayed new releases just to fix some bugs, microsoft shiped windows me with many of KNOWN bugs and later told "pc world" magasine that they had no intent of releaseing a service pack for it. that is ignorant. for the most part the open source community won't release something with a know bug. (yes, i'm sure it happiened in the past), heck even I will try any new microsoft product beta or not i can get my hands on. i at least keep an open mind, but shiping with known bugs and not fixing them is not cool

  23. Obligatory: by Mr+Guy · · Score: 2

    This shouldn't be possible on XP SP1 or a recently patched IE though.

    Or, of course, Mozilla, Eudora, or Opera.

    Disturbing that it's in WinAmp too. Guess that llama's ass only holds so much.

    1. Re:Obligatory: by demon · · Score: 1

      Whaaaa? You mean, there are other Web browsers for Windows? Really? I thought for sure that IE was the only Web browser...

      (For the humor impaired, I'm posting from my Linux box, running Phoenix. :)

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
  24. fixed version of WinAmp 2.81 and 3.0 by Gregg+M · · Score: 2
    You mean they patched both versions and gave them the same number?

    Thanks for nothing Nullsoft.

    --
    Linux is only free if your time has no value. Windows is only free if you threaten to use Linux.
    1. Re:fixed version of WinAmp 2.81 and 3.0 by Anonymous Coward · · Score: 0

      No Nullsoft did not; the MP3 ID3 tag parsing DLL version has been bumped up. RTFM.

    2. Re:fixed version of WinAmp 2.81 and 3.0 by YetAnotherDave · · Score: 1

      and I found no mention on their website, even while dosnloading the patched versions.
      Nothing in the release notes either.

      wtf?

  25. Versions?? by bconway · · Score: 5, Interesting

    Nullsoft has posted fixed version of WinAmp 2.81 and 3.0 on their web site."

    Is there a reason they haven't released a new version with the bugfix instead of just uploading a new copy with the _same release number and date_? Both versions are listed as released in early or middle August, and there's no bugfixes listed anywhere on the site in regards to this. Site. Are they trying to hide that it's been fixed, or just don't want anyone to figure it out?

    --
    Interested in open source engine management for your Subaru?
    1. Re:Versions?? by ()ils · · Score: 1

      Downloaded, installed and compared the "new" 2.81 with a older copy of 2.81. The file winamp.exe is exactly the same.

    2. Re:Versions?? by G�tz · · Score: 1

      At least the 3.0 version has a different, higher build number than the vulnerable version. But you're right, silent updates really suck.

    3. Re:Versions?? by Edgewize · · Score: 5, Informative

      The file winamp.exe is exactly the same.

      As it should be. ID3 tags are handled by the in_mp3.dll plugin.

    4. Re:Versions?? by Night+Goat · · Score: 2

      The new Winamp version is 2.81c. I don't know about version 3, that bastard crashes too much on my computers.

    5. Re:Versions?? by Anonymous Coward · · Score: 0

      The Winamp3 download file is slightly smaller than the original WA3 I downloaded when it first appeared.

    6. Re:Versions?? by nxg125 · · Score: 1

      I just downloaded WinAmp 3.0c. The about box says it is build #488, from Dec. 15 2002

    7. Re:Versions?? by ()ils · · Score: 1

      Explains why they kept the version number... fixed version of 'Nullsoft MPEG Audio Decoder' (in_mp3.dll) is 2.81b

    8. Re:Versions?? by jakobgrimstveit · · Score: 4, Informative

      This vulnerability was fixed a long time ago in WinAmp. It's only Windows XP that's a bit behind in patches at times :-). The files in the winamp281.exe archive has old dates.

      --
      Jakob Breivik Grimstveit
      "I love deadlines. I love the whooshing noise they make as they go by."
    9. Re:Versions?? by ethereal · · Score: 1

      Wait - they can't get security right, and you expect them to have decent software configuration management too? You slavedriver :)

      --

      Your right to not believe: Americans United for Separation of Church and

    10. Re:Versions?? by akorvemaker · · Score: 1
      Explains why they kept the version number... fixed version of 'Nullsoft MPEG Audio Decoder' (in_mp3.dll) is 2.81b
      Yeah, but the About dialog for the plugin says Copyright 1998-2001. Has this been fixed for a year, or did they forget to update the copyright information?
  26. Freedom to innovate by c0y · · Score: 3, Insightful

    It can't be denied any longer. Back in the day the poor virus writer had to rely on his victims to carry the payload through meatspace on floppies.

    M$ has been continually improving virus transmission methods, and now you might be infected just by moving your mouse.

    But do we really need to worry? After all, how many kiddies are out there bragging that they '@dm1n1str@t0r3d' someone's XP box. No, it's just not as sexy as r00t3d.

    1. Re:Freedom to innovate by Alsee · · Score: 2

      M$ has been continually improving virus transmission methods, and now you might be infected just by moving your mouse.

      Auto-update installs code without so much as moving your mouse. How long before it installs a virus?

      No, the real innovation will be when you can catch a virus without turning your computer on. I just wish I was kidding. Microsoft has yet to reveal the full capabilities of Palladium.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  27. WILL affect most people by gosand · · Score: 5, Interesting
    This is more of a curiosity than any sort of danger. Most of us, when we get a new mp3 file, give it a listen to make sure it's not mislabeled, doesn't cut off in the middle of the song, and sounds okay. We throw out or fix the ones that aren't up to our standards. So the number of people who would let one of these dangerous mp3s just sit there and be scanned is probably pretty small. And as is usually the case when something like this is discovered, they probably deserve what they get for being such idiots.

    I don't think so. I know people who download a lot of stuff, and if you have it set up to download 100 MP3s overnight, your system could be compromised by morning. Are you going to listen to those 100 MP3s first thing in the morning?

    The kicker is that the odds you get compromised go up greatly if someone seeds Kazaa, or even a web page, with an infected MP3 file. They can see who is downloading it so they know the IP to attack. On a web page, they could get your IP out of the logs. I never thought an MP3 file would leave a system vulnerable, but I guess that is why this is a pretty scary vulnerability - nobody else would either.

    --

    My beliefs do not require that you agree with them.

    1. Re:WILL affect most people by dWhisper · · Score: 1

      What I'd be more curious of is how you could abuse it just by using the system. I'm pulling the update for my XP machine right now, actually.

      A page could have an mp3 audio imbedded into the page. XP sees these and plays them in Media Player, which by itself isn't so bad, but is just annoying on the internet. This file is cached to memory, and there it can do it's damage. File doesn't need to be "played" of sorts on the local machine, just copying it there would work.

      What I've always wondered is just the feasability of all of these threats to the home user. This would have more of a place on business machines that may have an mp3-or-three on the system to entertain the workers using the machines. I've taken my share of Mp3s to work with me.

      And as for KaZaA, you're just asking for punishment if you install that. As a willing member of the community dedicated to breaking the law by installing Kazaa Lite, I can say that. I'm a computer tech, and I'd say that I get at least four calls (out of say 20) a night that have something to do with KaZaA and their nice ad/spy-ware messing something up.

      I can't blame MS for not revolutionizing the way their OS works to counteract them, and to their credit, they've been rather fast on the fixes lately. Eventually something will be done, but for now I will not run off deleting my "modest" Mp3 collection out of fear.

    2. Re:WILL affect most people by Anonymous Coward · · Score: 0

      I don't think so. I know people who download a lot of stuff, and if you have it set up to download 100 MP3s overnight, your system could be compromised by morning. Are you going to listen to those 100 MP3s first thing in the morning?

      What the hell??

      How are some downloaded files going to infect your machine while you sleep? Last I checked, people didn't use Outlook Express to download and preview their MP3 files in the same step.

      Besides, if this is the flaw that MS sent their announcement about yesterday, then the problem is in EXPLORER.EXE when using the preview option to read the ID3 tags. Not when downloading the file, and not when playing the file

      People sometimes seem willing to believe that MS software is somehow magic, at least when it comes to security issues.

  28. blame the victim? by Anonymous Coward · · Score: 0

    And as is usually the case when something like this is discovered, they probably deserve what they get for being such idiots.

    One never deserves to be the victim of a crime.

    Maybe the victim failed to be careful. Maybe the victim deserved to suffer. But it is the criminal who made the truly blameworthy decisions.

    The only reason to blame the victim is laziness in identifying or punishing the culprit, or in some cases a tacit sympathy for same.

  29. I have to hand it to Bill on this by TerryAtWork · · Score: 5, Informative

    I was sent and installed the fix before I read about the vulnerability.

    --
    It's Christmas everyday with BitTorrent.
    1. Re:I have to hand it to Bill on this by MacAndrew · · Score: 2

      By Bill [Gates] Himself?

      Wow. Most of us aren't that important.

      Now, I'm wonder what was "sent and installed" with bugs in it? ;-)

  30. Explorer workaround by stratjakt · · Score: 4, Informative

    Tools->Folder Options

    set Web View to "Use Windows Classic Folders"

    I've always done this, having never trusted 'web content' in any folder I browse to (nor needing the extra overhead it causes drawing thumbnails of bitmaps and whatnot)

    I believe any Windows that's upgraded to Media Player 7.1 and/or IE6 would be vulnerable, not just XP?

    --
    I don't need no instructions to know how to rock!!!!
    1. Re:Explorer workaround by Anonymous Coward · · Score: 0

      That would work, except for the fact that XP likes to randomly enable web content on random folders. Stupid bug.

      It is a user problem, not a Windows problem. Here's the fix. I basing this from a 2000 box. Do the XP equivalent, which is an exercise for the reader.

      From Explorer:
      Tools -> Folder Options

      In General Tab:
      Use Classic desktop & Classic folders

      Then in View Tab:
      Where it says "You can set all of your folders to the same view", press the "Like Current Folder" button.

    2. Re:Explorer workaround by Anonymous Coward · · Score: 0

      Why the hell would you "work around" the bug when there is patch to close it for good?

      Just had to ejaculate something on /. today or die?

    3. Re:Explorer workaround by kurokaze · · Score: 1

      yeah XP seems to want to do that, especially
      with my control panel.

      doesn't happen with 2000 though

    4. Re:Explorer workaround by Anonymous Coward · · Score: 0

      Try removing all instances of desktop.ini from your folders. It's a hidden file that sits in each folder and tells Windows what view to use. (Since it's hidden, you'll have to turn on the view hidden files/folders option to view/kill it.) If you remove all instances of desktop.ini and then tell Explorer to use the current view for all folders, you should be set.

  31. Microsoft Security by jellomizer · · Score: 0, Interesting

    This type of stuff blows my mind. What the heck is MS doing underneth there code. They are Music File When played if altered you should get static at the worse. You take the MP3 get the Lable information if it has it. Decodes the rest of the information makes converts it to your sound card and you here music. I see no good reason for the OS to really get involved except for opening and reading the file and allowing it to the sound card. I think MS should stop putting in these backdoors that hackers find and use.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    1. Re:Microsoft Security by ergo98 · · Score: 1

      I see no good reason for the OS to really get involved except for opening and reading the file and allowing it to the sound card.

      The application is running in the OS, and as it's operating as your little slave, it has the priviledges that you have on your PC (and from that malicious code that spawns off when a MP3 ID, for instance, is longer than it expects and overwrites too small of a stack based buffer, also has the rights that you have on your PC). Hence if you're a user you can wipe all your user files, and if you're an admin you can wipe the machine.

      This is no different than Linux, and buffer overflow exploits can be found equally on both, it just tends to be that the firms that make tonnes of publicity finding exploits (i.e. eEye) spends all their time scanning Windows applications because that gets press, whereas saying that you found a fault in some obscure Linux app gets ignored.

    2. Re:Microsoft Security by Anonymous Coward · · Score: 0

      You haven't done any programming, have you?

    3. Re:Microsoft Security by tshak · · Score: 2

      Well, first you have to understand what memory is. Then you have to understand that byte's in memory get executed. Continue this path and you find that MP3's load it's byte's into memory, including bit's that describe itself (not just audio). Putting it all together you realize that it's possible (and non-trival to prevent in lower level languages like C++ or ASM) to have rouge byte's execute malicious code.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    4. Re:Microsoft Security by afidel · · Score: 2

      Windows XP (actually every MS os since 98 I think) will read the extended attributes of files so that you can sort based on them. For instance you can sort your mp3 directory by genre if you want. I personally use it to sort my photo collection by date the picture was taken rather then the date I transfered it to the pc as the normal attribute is the latter.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    5. Re:Microsoft Security by donutello · · Score: 2

      How the hell is the parent insightful?

      That's the way Von Neumann machines work. This is not the OS getting involved in executing the code from the MP3. When a buffer overflow occurs, the OS is overwritten by the data that's overflowing. The result of this is that when that OS function is called, instead of the code for the OS function running, you have the code that was in the data running instead.

      I remember about 10 or so years ago when there were designs for machines with separate data and control areas of memory. Such a machine wouldn't have buffer overflow issues since a buffer overflow would only corrupt data, not trash control code.

      --
      Mmmm.. Donuts
    6. Re:Microsoft Security by ELiTeUI · · Score: 1

      rouge = french translation of the word "red".

      rogue (n.) care of m-w.com =
      1 : VAGRANT, TRAMP
      2 : a dishonest or worthless person : SCOUNDREL
      3 : a mischievous person : SCAMP
      4 : a horse inclined to shirk or misbehave
      5 : an individual exhibiting a chance and usually inferior biological variation

      get it right, dammit!

      ELiTeUI Out.

    7. Re:Microsoft Security by tshak · · Score: 1

      I'm sorry MR. Grammar and Spelling Natzi... I'll agree that I have better things to do with my life then double check my work, as well as the fact that i'm not the best speller in the world. And yes, I'm aware that rouge is red and can refer to a goldish color such as a Goldfish or Poisson Rouge. Je parles Francais un pus.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
  32. File associations in WinXP by PetiePooo · · Score: 2, Insightful

    Long ago, I've decided that Windows 2000 was going to be my last mainline MS operating system. Since Linux is making great strides towards usability on the desktop, it looks like I'll never have to rely on having XP on my PC. Now, I just have to make sure I keep Winamp current along with all my other applications.

    However, this brings up an interesting question. Short of modifying the registry entries in HKEY_CLASSES_ROOT, is there any way to avoid all the cutsie stuff MS has been doing with file associations? I seem to remember a Win95/NT/2k shell extension that did something similar to the MS code that's being exploited. It popped up an additional property sheet with all the ID3 tag info. Could someone use that instead of the Windows shell without severely hacking the registry?

    It also reopens an old sore. If the Windows Media Player were installed as an "application," not as "part of the operating system," this shell code would not be needed until WMP is installed. Those smart enough to search for better media-playback solutions would not be subjected to this vulnerability. Thanks, Microsoft! DOJ, are you paying attention?

    And one more observation: now that MP3 files can carry shellcode, the virus scanners will have to start scanning them too. More processor overhead, longer scantimes, moan, gripe, ...

    1. Re:File associations in WinXP by Reziac · · Score: 2

      We paranoids have been scanning ALL files since forever anyway. An old trick back in the BBS era was to have FOO.COM be a clean file, which in turn called FOO (no extension) which was the dirty code. If you didn't scan ALL files, you got bit.

      It doesn't take all that much longer to scan everything, considering the alternatives.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  33. Comment removed by account_deleted · · Score: 2, Interesting

    Comment removed based on user account deletion

  34. Re:Effects more then you realize (ID3v1 vs. ID3v2) by GreenHell · · Score: 5, Informative

    You're exactly right.

    I think what the previous poster is thinking of is ID3v1 tags, which are located at the end of the MP3, so you don't get them until the MP3s finish downloading (and what's more, they have a fixed size so they're easy to check, but that's besides the point)

    Now, this bug involves ID3v2 tags. ID3v2 tags are located at that start of the MP3, which is why when you add one to a MP3 playing in Winamp you get a brief pause, it has to add it to the start of the file. Therefore, any MP3 with an ID3v2 tag will already have the potential of compromising you by the time it's downloaded enough to play part of the song if you preview them using Winamp.

    I don't know how Explorer checks file attributes on MP3s, but I'm assuming that you're already in danger by this time too.

    --
    "I won't mod you down - I feel the need to call you a twit explicitly, rather than by implication."
  35. Dupe Poll! by Anonymous Coward · · Score: 0, Funny

    How long until the story gets duped:

    A) 15 minutes
    B) 1 hour
    C) 2 hours
    D) 6 hours
    E) 1 day

  36. Nullsoft: What's this thing called versionnumbers? by ArGeRuS · · Score: 0

    [john@cobetoar][/usr/storage/public/w32/winamp] ls -l winamp3*
    -rwxr-xr-x 1 john storage 3269351 Dec 16 18:48 winamp3_0-full.exe
    -rwxr-xr-x 1 john storage 3510536 Aug 28 12:15 winamp3_0-full_org.exe

  37. New slogan for Microsoft... by Anonymous Coward · · Score: 1, Funny

    "Where do you want to buffer overflow today?"

  38. How does a buffer overflow allow code execution? by og_sh0x · · Score: 2, Interesting

    Thanks to Boatboy for the explanation of buffer overflows, but what I've never understood about buffer overflows is how it allows you to execute arbitrary code? Can anyone explain?

  39. Not a problem... by D-Cypell · · Score: 2, Funny

    If the RIAA use these tactics the solution is simple...

    Wait a few months until the RIAA's trojanized files are well and truely spread throughout the P2P networks...

    then use the thousands of trojanized nodes to DDOS the RIAA

    *chuckle*

    1. Re:Not a problem... by geekee · · Score: 2

      Did you consider that the RIAA could close the hole once in, but leave themselves a backdoor?

      --
      Vote for Pedro
    2. Re:Not a problem... by Anonymous+DWord · · Score: 2

      This would be the same RIAA that was serving mp3s from their website? That RIAA? No, we didn't consider that.

      --
      "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
    3. Re:Not a problem... by geekee · · Score: 2

      It doesn't take a lot of money to get some expert consulting, especially after getting burned.

      --
      Vote for Pedro
  40. danger for gnutella networks..? by kipple · · Score: 2

    will now the MPAA and RIAA have a new weapon against pirates?
    And if they do, executing remote code using a vulnerability will be legal? :)

    [just provoking]

    --
    -- There are two kind of sysadmins: Paranoids and Losers. (adapted from D. Bach)
  41. Virus Scanning won't do jack by kurokaze · · Score: 1

    unless the malicious tag itself is has a virus
    signature.

    Your only real protection is backups incase of
    data loss and something like zone alarm to tell
    you if your machine has just become a zombie.

  42. You see... by Malic · · Score: 1

    ... this sort of thing never happens in MacOS X.

    I just had to say that :)

    --
    I swear by MacOS X. Although I use to swear *at* MacOS 9...
    1. Re:You see... by Anonymous Coward · · Score: 0

      Yup, I thought that there would be a ton of patches to OS X with it's Unix base, but I only recall about 3 since it's release.

      I read there is already a fix. But what worries me how many are out there in Windows systems that haven't been disclosed, but the are know about by the Bad Hackers.

    2. Re:You see... by Mwongozi · · Score: 2
    3. Re:You see... by The+Bungi · · Score: 1
      w00t, yes it does. It also happens in Linux, except that those seldom make it to the front page. MySQL, OpenSSH, etc., etc.

      Is is Slashodt, after all. Where ignoring security holes in open source software is as fun as trumping the most recent IE vulnerability that changes your wallpaper or plays "Moonlight Sonata" at the behest of evil hackers.

  43. The Next Nimda. by Deathlizard · · Score: 4, Interesting

    And I thought Nimda was bad.

    When all of the college students here on campus had read/write shares on the network, Nimda Spread at an alarming rate, Especially since WinXP Home decided that you SHOULD have your Shared Documents folder open for read/write access after running one of those networking wizards.

    I could only imagine the hell a Modified Nimda would be if it can now infect mp3 files. It wouldn't even have to spread infected .eml files anymore. you would just see a new MP3 in your read/write network share with thousands of other MP3's so you would never find it and it would infect all of your MP3's in your read/write network share. Once you open the folder to pick a song it runs and infects all of your mp3's on the PC, then goes out and proceeds to infect every mp3 it can write to on the network that has read/write shares and the process starts all over again while it formats your hard drive 7 days later.

    It's the RIAA Dream come true :P

    1. Re:The Next Nimda. by RzUpAnmsCwrds · · Score: 2

      Except that it has been fixed already, and because of auto-update everyone has recieved the patch

    2. Re:The Next Nimda. by Deathlizard · · Score: 1

      You assume that everyone is using auto update. thats not the case in many circumstances.

      First of all, they have to click on the icon when it tells them that new updates are ready to be installed. most people dont do that. I cant tell you how many people come in with machines that have that icon flashing in the corner waiting to be clicked on to intall the already downloaded update. Why do you think they added the download and install at a certain time feature to the automatic update feature in SP1.

      Just for refernece. The Bug used by KAK to spread was fixed way before KAK was wild. I can't tell you how many machines I seen infected with KAK.

  44. Pathetic by Anonymous Coward · · Score: 0, Insightful

    This is absolutely pathetic that ID tags could be used in such a manner. Yes, that definitely qualifies under the "bug" heading. It amazes me how bugs of this caliber slip into something that simply plays a MUSIC FILE. None of it should be treated as executable.

    1. Re:Pathetic by Anonymous Coward · · Score: 0

      *sigh*

      It's called "Buffer Overflow". It's not intentionally executable.

    2. Re:Pathetic by CynicTheHedgehog · · Score: 5, Informative

      A buffer overflow means that you take a variable location, such as char songName[255], and put enough data into that buffer to reach into the executable portion of the code in memory. Then, when some function returns, or execution branches, or something loops, part of that data will be at the address of the code that formerly handled the return, branch, or loop, and will get executed as if it were the next instruction.

      Any buffer lacking good bounds checking is subject to this.

    3. Re:Pathetic by Pig+Hogger · · Score: 1, Flamebait
      Any buffer lacking good bounds checking is subject to this.
      That's because programmers keep programming in C, which is a glorified assembler, instead of using a HIGHER level language that handles all the plumbing so the programmers have some neurons left to think about the job at hand, instead of the nitty-gritty details of memory allocation.
    4. Re:Pathetic by dirty · · Score: 2, Informative

      Bounds checking really isn't that difficult in C. strncpy() instead of strcpy(). C made a good choice not to enforce bounds checking when you don't need it.

      --

      -matt
    5. Re:Pathetic by spakka · · Score: 3, Insightful
      That's because programmers keep programming in C, which is a glorified assembler,

      Ignorant programmers are not the fault of the language. C makes it simple to avoid buffer overflows almost everywhere (exception being the absence of snprintf() - remedied in C99).

      ...instead of using a HIGHER level language that handles all the plumbing...

      If a programmer is too weak to avoid buffer overflows in C, how will they cope with, say, C++ exception safety?

    6. Re:Pathetic by Reziac · · Score: 3, Insightful

      Thanks for a great layman's explanation. IANAProgrammer, but that made the concept perfectly clear to me.

      So, if you do bounds checking, is that a 100% fix? If so, it strikes me as simple good procedure that there's no excuse for omitting.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    7. Re:Pathetic by jeff4747 · · Score: 1

      IAAProgrammer, and yes, doing a bounds check is a 100% fix to this.

      The reason exploits like this keep showing up is there's a hell of a lot of buffers in any program, and it's pretty easy to forget to bounds check one of them.

    8. Re:Pathetic by Reziac · · Score: 3, Interesting

      Thanks, that's good to know.

      Seems to me the solution is to whack budding programmers' knuckles with a ruler until they get in the habit of using bounds checking with each and every buffer their program requires, written on the spot and not tacked on as an afterthought. But considering that probably half the coders out there are self-taught and still have whatever good or bad habits they started with.. *sigh*

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    9. Re:Pathetic by CynicTheHedgehog · · Score: 2
      That, or use a language like Java or Ada that do automatic bound checking, or a language like Perl or VB that uses dynamic buffers (they grow to the size that you demand). This promotes laziness, however; much optimization can be done by omitting bound checking when none is needed. For example:
      for( int i = 0; i < strlen( str ); i++ )
      {
      str[i] = toupper( str[i] );
      }
      In this case we know what we're doing, there's nothing to exploit, and we saved ourselves strlen( str ) * 2 instructions at least. Perhaps not a tremendous boon, but it can add up. In higher level languages we don't have that option, but it's nice because we don't have to work about it either.
    10. Re:Pathetic by ergo98 · · Score: 2, Interesting

      Seems to me the solution is to whack budding programmers' knuckles with a ruler until they get in the habit of using bounds checking with each and every buffer their program requires, written on the spot and not tacked on as an afterthought.

      There is a downside to bounds checking though: The natural evolution of the idea is a "managed" model like .NET or Java- While they offer safe evirons, the extensive checking that they bring along with them (including garbage collection which is, to me, an absolutely ridiculous idea) is computationally costly. This is the reason why a Java applet on your super faster Athlon 2400+ feels like you're running a 486.

      But considering that probably half the coders out there are self-taught and still have whatever good or bad habits they started with..

      This has nothing to do with being self-taught or not: It has to do with the standards and processes that an organization sets on its code. It also has to do with a boss saying "I want all these features by next week as the top priority!" in reply to "I should probably spend some time hardening the code and auditing it for potential exploits" (a very, very common scenario).

    11. Re:Pathetic by dvdeug · · Score: 2

      There is a downside to bounds checking though: The natural evolution of the idea is [...]

      But that's just a slippery slope argument. You have to pick the abstractions you can afford - bounds checking is on by default in Ada, but garbage collection is a mostly-unoffered option - but BC doesn't imply GC, anymore than a lack of bounds checking implies machine language.

      including garbage collection which is, to me, an absolutely ridiculous idea

      Why? It catches another huge class of bugs - memory leaks - and simplifies programming - you no longer have to worry about whose responsibility it is to delete every little bit of memory. It seemed to work well enough back in the eighties, on Lisp Machinese - somehow, with a thousand times the computational power, we no longer have the power to spare?

    12. Re:Pathetic by boneshintai · · Score: 1

      Or, if you're using C++, stop using char * strings and start using #include and std::string. Length is automagical.

      Cheers,
      Owen

    13. Re:Pathetic by dvdeug · · Score: 2
      for( int i = 0; i < strlen( str ); i++ )
      {
      str[i] = toupper( str[i] );
      }
      In this case we know what we're doing, there's nothing to exploit, and we saved ourselves strlen( str ) * 2 instructions at least. Perhaps not a tremendous boon, but it can add up. In higher level languages we don't have that option, but it's nice because we don't have to work about it either.

      But in
      for I in Str'First .. Str'Last loop
      Str (I) = To_Upper (Str (I));
      end loop;
      no half-decent Ada compiler will do any bounds-checking either, as it can be trivially inferred from loop bounds that everything inside is in bound.
    14. Re:Pathetic by susano_otter · · Score: 2
      The reason exploits like this keep showing up is there's a hell of a lot of buffers in any program, and it's pretty easy to forget to bounds check one of them.

      And there's no way to automate this? Maybe have a compiler that alerts you when it's compiling a piece of code with an unchecked bound?

      --

      Any sufficiently well-organized community is indistinguishable from Government.

    15. Re:Pathetic by jeff4747 · · Score: 1

      You could automatically check every buffer, but the problem is you don't want to. You only want to check the buffer when you're reading in data from somewhere.

      Checking the buffer length all the time can greatly slow the program, since there will be many more instances when you can trust the buffer to be of the proper size.

    16. Re:Pathetic by jeff4747 · · Score: 1

      Which wouldn't actually work, in a situation like this. You can't read data directly into a std::string, you have to read it into a buffer, then set the std::string to use that buffer.

    17. Re:Pathetic by susano_otter · · Score: 1, Redundant

      Fair enough.

      But it still seems that a compiler could trivially notify you that "you're reading data into a buffer without checking the bounds, is this what you meant to do?" or something.

      I am not, of course, a software developer, so I really don't know if it's trivial.

      --

      Any sufficiently well-organized community is indistinguishable from Government.

    18. Re:Pathetic by Anonymous Coward · · Score: 0

      I don't think compilers are smart enough to check whether you've already checked the bounds somewhere else.

      Perhaps compilers could throw up warnings on usage of strcpy and such, but the compiler is many orders of magnitude more stupid than the programmer. Certainly not clever enough to notice that you did your bounds checking once at the start of a bunch of nested calls.

  45. Re:How does a buffer overflow allow code execution by Anonymous Coward · · Score: 3, Informative

    Search the Web for the classic: Smashing the Stack for Fun and Profit.

    All you ever wanted to know, and then some...

  46. Suggestion: Operation So Happy It's Thursday by wowbagger · · Score: 5, Funny

    There's a running joke where I work that it is not officially Thursday until the Microsoft exploit of the week is released (of late this seems to happen on Thursday).

    So, why not make it official - I propose

    Operation: So Happy It's Thursday

    What I recommend is that everybody who finds an exploit in Windows release it on Thursday.

    NOTE: be fair - a bug in a Windows APP that is not a part of Windows doesn't count - so the bug in Winamp doesn't count, but the bug in the Windows shell does.

    1. Re:Suggestion: Operation So Happy It's Thursday by gclef · · Score: 2

      Heh. Well, since their old habit was to release these late in the afternoon on a Friday, I think I prefer the present setup....especially since they had a bad habit of announcing serious issues after CoB on the East Coast, meaning that we would all get called back for messy issues before a weekend.

  47. Won't work by kurokaze · · Score: 2, Informative

    I'm doing the same thing on my work machine which
    is running XP (hate all that crap also)

    Look in a folder that contains only music files
    (as most people usually have a folder just for
    that).

    At first, Windows treats it like any other folder
    and displays only the filename, size, type and
    mod date. After a while however, it seems to
    figure out that it contains music files and starts
    reading to ID tags. No idea how or why it
    happens.

    1. Re:Won't work by kurokaze · · Score: 1

      I can post a screenshot of what I mean but I'm
      afraid of being laughed at for my mp3 collection
      at work :)

    2. Re:Won't work by Reziac · · Score: 2

      I think what happens (I may be wrong but this is what it looks like) because XP reads the data tags (be that for MP3s, image files, or whatever) regardless, THEN decides whether it should display thumbnails or whatever. Run your mouse pointer over a filename that's too long to display completely and watch how sometimes, even in classic view, you get all the extra info displayed in the balloon.

      Personally, I *loathe* the webview crap, and it's the very first thing I turn off. My screen space is limited enough without spurious graphics cluttering it up (and making it harder to read).

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  48. Re:How does a buffer overflow allow code execution by pclminion · · Score: 4, Informative
    Because of the way data is stored in memory. It is common in C code to declare buffers as local variables, causing them to be allocated from the stack. The stack, as it happens, is also used for execution control.

    By overflowing a buffer on the stack, it's possible to maliciously change a particular piece of information (the function call return address) to cause the program to jump to a new piece of code: the code you just overflowed the buffer with!

    Stack overflow exploits are very common because programmers often declare fixed-length buffers as stack variables and are too lazy to perform proper checking to make sure data never overflows the buffer. This problem in WinAmp is no different than any other buffer overflow, it's just much more severe due to its widespread use.

  49. It's a good think I have Linux by jmcnamera · · Score: 5, Funny

    It's good that I have linux since it **never** has buffer overflows. Nor does any other open source software.

    --
    this is not a sig
    1. Re:It's a good think I have Linux by Sotto_Zero · · Score: 1

      Never say never. Never happens very seldom...

      --

      --- Surfing the web on my ZX-81.
    2. Re:It's a good think I have Linux by Anonymous Coward · · Score: 0

      Although an obvious troll, but OpenSSH anyone?

    3. Re:It's a good think I have Linux by pomakis · · Score: 3, Insightful
      It's good that I have linux since it **never** has buffer overflows. Nor does any other open source software.

      I hate postings like this, because I never know whether I should mod it +1 Funny or -1 Clueless.

    4. Re:It's a good think I have Linux by Anonymous Coward · · Score: 0

      How about -1 troll because it was nothing more than an inept attempt at humour via tired sarcasm?

    5. Re:It's a good think I have Linux by Anonymous Coward · · Score: 0

      maybe its a troll, but then again, why is this article even posted. Is Slashdot turning into a Bugtraq for complaints against anything that isn't oss?

    6. Re:It's a good think I have Linux by Anonymous Coward · · Score: 0

      You can tell because of the tone of the writing - the never was exaggerated with *'s to call your attention to it. Since most people here are smart enough to know otherwise, it was pretty obviously a joke.

      And of course, there has to be a post from one person who doesn't find the humour appealing, and therefore thinks noone else should either, and therefore that joke is a troll... Jesus.

  50. Snooty audiophiles by wowbagger · · Score: 4, Funny

    Snooty audiophiles won't like FLAC, either.

    A snooty audiophile sneers at any form of digitization - "You aren't getting all of the music - Yes, I know you are sampling a 1GHz, 64 bits per sample, but you aren't getting all the music! Only analog gets all the music! I don't care that what you are missing wouldn't amount to the width of a hydrogen atom on my beloved LP - YOU AREN'T GETTING ALL THE MUSIC"

    That's what a snooty audiophile would say.

    1. Re:Snooty audiophiles by spinlocked · · Score: 2

      I think snooty audiophiles would be most concerned about the quality of the DSP on the MP3 player - that and the 'engine noise' coming from the power supply. I'm not an audiophile, but I did build my own MP3 player from the insides of an old laptop, a floppy disk based linux distribution and a homemade shell script based webserver control system. It's a bit clunky, but I'm proud of it :)

      If I cared much about the quality of the sound, I suppose I'd need try to produce an optical digital output and run it into a decent pre-amp. As it is, it's playing through an old pair of PC speakers that go 'pop' whenever the refrigerator motor starts up in the kitchen :). I'd far rather fiddle about with the user interface (hey, we need voice activation!) than improve the quality of the sound.

      --
      # init 5
      Connection closed.


      Oh... ...bugger.
    2. Re:Snooty audiophiles by 13Echo · · Score: 2

      Yeah. ;) But I still have problems believing that vinyl can even accurately reproduce perfect sound. I just don't feel that the arguments of "audiophiles" are well supported. All "audiophiles" use examples from older vinyl recordings when they are compared to newer, remastered versions on CDs. Well, of course it is going to sound different. It has been remastered on different equipment. I think that people are so used to the sound of a specific recording, on vinyl, that if it doesn't have the characteristics of that form of media, then they truely believe that "you aren't getting all of the music".

      I really don't care as long as I can preserve most of the integrity of my original CD. If I can encode a VBR MP3 or Vorbis file, and it retains most or all of the attributes that are noticable to the human ear (my picky ears, most specifically), then I am fine with it. I just like being able to archive all of my music onto my hard drive, for easy playback, as do most people that use the MP3 or Ogg Vorbis formats (besides the pirates).

    3. Re:Snooty audiophiles by alanwj · · Score: 2
      A snooty audiophile sneers at any form of digitization - "You aren't getting all of the music - Yes, I know you are sampling a 1GHz, 64 bits per sample, but you aren't getting all the music! Only analog gets all the music! I don't care that what you are missing wouldn't amount to the width of a hydrogen atom on my beloved LP - YOU AREN'T GETTING ALL THE MUSIC"

      That's what a snooty audiophile would say.

      Actually, that's what a snooty audiophile that wasn't well versed in signal theory would say. If you sample at a rate that is greater than or equal to the Nyquist frequency (twice the highest frequency present in the thing you are sampling) then you can reconstruct exactly the analog signal. Granted there are some really high frequencies in most music, and you'd have to sample at an insanely high rate, but you could certainly make a digital recording from which you could play back "all the music".

      Alan
    4. Re:Snooty audiophiles by wowbagger · · Score: 5, Funny

      Rather my point - audiophiles are not rational individuals who are well versed in signal processing theory, they are rabid indiviuals who's sound systems are a penis substitute.

      Hence why audiophiles hate modern sound systems - it is far too easy to get great sound reproduction nowadays, and how are you to demonstrate how large you are when a $19 CD player sounds as good as your $3000 turntable?

      That is why audiophiles use "oxygen-free copper wires with authentic virgin yak wool insulation, cryogenicly treated to release signal-distorting sub-micron strain! A steal at $300/ft! Act now, and we will throw in our patented Feng Shui turntable stones - five of these will disgronificate your turntable! Normally $150 each, but a steal at $800 for a set!"

    5. Re:Snooty audiophiles by ethereal · · Score: 1

      If I had points, I would mod you up just for "disgronificate" :)

      --

      Your right to not believe: Americans United for Separation of Church and

    6. Re:Snooty audiophiles by wowbagger · · Score: 1

      In fairness, I did not come up with that term, it was another.

    7. Re:Snooty audiophiles by demon · · Score: 1

      There are snooty audiophiles who will tell you that they can hear the gaps between the samples in digital audio. Yes, they'll swear to it. Of course, I don't believe they can really hear those 1/44100th of a second gaps between samples, but apparently they do...

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    8. Re:Snooty audiophiles by MSG · · Score: 2

      They also buy Monster Power supplies. :-)

    9. Re:Snooty audiophiles by OzJimbob · · Score: 2

      True dat. So many people who are obsessed about audio quality, just don't understand the electronics and physics behind it. I think bitrate-nazis are the obvious candidates. I've seen tracks which are mono encoded in stereo format. I've seen dodgy, spoken-word recordings which are full of static anyway recorded at 320kbps. Raise your fists high and proclaim 128kbps is fine for me!.

      --
      -"I still believe in revolution; I just don't capitalize it anymore." - srini!
    10. Re:Snooty audiophiles by Anonymous Coward · · Score: 0

      Simple test - arrange a demo for them. Tell them you're going to play a high-sample-rate wav file and a 44.1Khz wav, and then have them tell you which is which. You should only need about two seconds of audio for this test, because obviously they can 'hear' the 'gaps'.

      I doubt you even need to have a "high-quality" sample - just get another 44.1Khz sample that sounds slightly different. As soon as they try and pick one, and won't admit they can't hear a difference, you know they're full of shit. You may not be able to prove it to THEM, but at least you can verify your own opinion.

      I would've done this by now, if I'd managed to meet one of these retards in person.

  51. Oh no! by SensitiveMale · · Score: 1
    A windows OS and a windows program vulnerable to malicous code?


    Shocking!

  52. foobar2000 by slothdog · · Score: 4, Informative

    Apparently the current underground favorite audio player for Windows is foobar2000, which was written by a former Nullsoft developer (Peter P. aka zZzZzZz). It supports mp3, ogg, ape, flac, mpc, and relevant to the article has abandoned ID3V2 support in favor of APEV2 tags. (And it's been suggested that the source will be released in the near future.) Supposedly the audiophile geeks at hydrogenaudio.org can hear quality improvements over Winamp, although even the developer suggests that it's probably a placebo effect.

    Just don't expect too much; it's a very minimalist GUI (what mean these "skinz" of which you speak?), and doesn't support Win9x/NT4.

    There's also a support forum for the player.

  53. Hey idiots, strcpy bad! by hoggoth · · Score: 4, Informative

    OK class, has anyone figured this out yet?
    Buffer overflows are bad.

    It is easy to STOP buffer overflows just by using SAFE strcpy functions that don't blindly copy past the end of a buffer.
    Since we've known this for many many years, why do programmers still USE dumb functions that allow buffer overflows?!

    Hey Microsoft, since you are spending so much on improving security, I have a hint for you. Print this out and make all your programmers pin it on their cubicles walls:

    BAD: strcpy
    GOOD: strncpy

    --
    - For the complete works of Shakespeare: cat /dev/random (may take some time)
    1. Re:Hey idiots, strcpy bad! by Sotto_Zero · · Score: 1

      Forget buffer overflows. Forget malicius code.
      Where can I find malicious music? I'd love to listen to malicious songs on my drive to work every morning.

      --

      --- Surfing the web on my ZX-81.
    2. Re:Hey idiots, strcpy bad! by Ozan · · Score: 2

      BAD: strcpy
      GOOD: strncpy


      BAD: char*
      GOOD: std::string

    3. Re:Hey idiots, strcpy bad! by Tsali · · Score: 2

      I thought it was...

      Public Sub DoMaliciousCode(strSQL as String)
      If Len(strSQL) > 25 Then
      Call StrCopy(strSQL)
      End If
      End Sub

      ... for all those MS scripting gurus...

      --
      This space for rent.
  54. Hypocrites by Anonymous Coward · · Score: 0

    This has to be the ONLY geek place in the world where people bash companies for coming out with new great features. Most places (and geeks) can't wait another day for the latest game, toy, enhancement, video card, gps receiver, mp3 player, etc.

    Most of the comments on this site say "Why do then need to put these FEATURES in anyways".

    Look it up. The word is "hypocrite"

    1. Re:Hypocrites by Anonymous Coward · · Score: 0

      Have you checked out recently the number of "features" that come with a RedHat/SUSE/Mandrake installation? 1000's of programs. I'm sure none of them have vulnerabilities in them.

  55. Whew... by di0s · · Score: 1

    I'm using Winamp 2.78. Let's hear it for outdated softare!Hooray!

  56. Is iTunes vulnerable? by tbmaddux · · Score: 3, Interesting
    No mention of iTunes anywhere. Am I vulnerable? What about my iPod? Were they tested as well? Couldn't find any mention at the links provided and no test mp3s to try out.

    Give me full disclosure...

    --
    Can't you see that everyone is buying station wagons?
    1. Re:Is iTunes vulnerable? by Anonymous Coward · · Score: 0

      Well, considering that most of these infected MP3s will have x86 code in them, I'm pretty sure you won't have much to worry about. Even IF they did, Jaguar probably doesn't have the bug.

  57. Copy and Paste into your MP3s by teamhasnoi · · Score: 5, Funny
    10 Print "Windows Luser! You will Pay for Your Insolence!"
    20 Print "Bill Gates laughs as he rolls about with his concubines!"
    30 Print "Prepare for judgement!"
    40 Input "Press any key";A$
    50 If A$="AnyKey" Then fucksomeshitup;
    60 W00t: Poke InChest;
    70 Run "BSOD.exe -Playfile BritneySpears,HitMeOneMoreTime"
    80 Print "This is what it sounds like when doves cry! Bwahaha!"
    90 Goto 10

    You should be able to find this on SourceForge too.

  58. no problems here either... by anoopa · · Score: 1
  59. Build #'s and Winamp strangeness by haplo21112 · · Score: 3, Interesting

    I don't mean to be a pain in the ass here...but if the code has been patched and rebuilt on a different day shouldn't we at least see a different minor version in the help? I can understand fine at 488 is the code freeze version for the 3.0 release however is a bug has been patched and a new release has been done should this be like 3.01(3.0.1) or 488a just so the its more immediately obvious this is an updated version from the 3.0 I have. If I didn't know about the bug, and I went to the site to see if there is a newer version, I wouldn't get the fixed version cause I still see 3.0! Build dates are meaningless...and even less so if they are not even posted on the download page....

    --
    Power Corrupts,Absolute Power Corrupts Absolutely, leaving one person(group)in charge is absolutely corrupt.
  60. Use Ogg for the quality! by tjwhaynes · · Score: 2

    Most people don't use Ogg Vorbis for the quality. They use it for the license.

    Speak for yourself - I use it for the quality, especially now that the audio artefacts that were so obvious in early development releases are fixed.

    In high bitrate modes, there is little difference between properly encoded MP3s and OGG files. And high bitrate is what really matters, unless you are streaming over a low bandwidth connection (in which OGG is the clear winner due to size).

    Personal blind testing between Ogg VBR 160kbit and MP3 192kbit was pretty even - very few people could tell the difference and where there were impressions of 'better' it fell on the Ogg side. Given that Ogg VBR 160kbit is about 25% smaller than the MP3 at 192kbit, that's pretty useful.

    Cheers,

    Toby Haynes

    --
    Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
    1. Re:Use Ogg for the quality! by EMH_Mark3 · · Score: 1

      Hm yeah, but how many people can tell the difference between a 160kbit mp3 and a 192kbit mp3?

      --
      Burn the land and boil the sea, you can't take the sky from me
    2. Re:Use Ogg for the quality! by 13Echo · · Score: 2

      I generally use LAME VBR with a mostly r3mix setting for my MP3s anyway. They encode all the way up to 320k when neccessary, but end up with a file on the average size of 192k. That really isn't too bad, when you think about it. You get pretty good sound for a lossy format, but the size isn't too hateful.

      When size is an issue though, it is true that OGG is probably the best choice.

    3. Re:Use Ogg for the quality! by Anonymous Coward · · Score: 0

      Do you know how outdated r3mix is? Use the --alt-presets.

    4. Re:Use Ogg for the quality! by Anonymous Coward · · Score: 0

      Well, it's really a modified version of the r3mix presets. It isn't exactly the same. It has the fatures and the quality that I want.

    5. Re:Use Ogg for the quality! by karnal · · Score: 2

      I would have to say, depending on the music style, I can.

      I've found certain bands that I'm into don't compress well at 160. So, my solution? VBR, 192 minimum. Even though it takes more space, I have a better feeling that more of the actual music is represented.

      I've heard artifacts in cymbals being played at 192, so giving it the ability to code up to 320 VBR is a godsend.....

      --
      Karnal
  61. mod parent up by tempest303 · · Score: 2

    damn right.

    I wonder how "audiophiles" listen to music in the car? /me imagines a slot-loading turntable in the dash...

    1. Re:mod parent up by lamp77 · · Score: 1

      Maybe we should start up the argument that vinyl is limited to the size of the polymer.
      Everything should be listened to on .5nm silicone wafers, with a really small needle.

    2. Re:mod parent up by damiam · · Score: 1
      I wonder how "audiophiles" listen to music in the car?

      They don't. The road noise completely ruins it.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    3. Re:mod parent up by WNight · · Score: 2

      Just like film grain, it's a valid comparison.

      Purists will insist that because *some* film has incredibly small grains, if handled perfectly, that all film is 30+ MP, but we'll be laughing at them with out 5+ MP cameras that surpass anything film really has to offer. Just the same as audiophiles who prefer the "warmth" (static) of records...

  62. Re:How does a buffer overflow allow code execution by Montag2k · · Score: 2, Informative

    Okay, I'll try to make this as short as possible.

    Let's say that you have an array, x[20]. It is 20 bytes long. This array starts at memory location 149300. This means that the bytes 149300 - 149319 are reserved as being part of the variable called x. Now, lets say that in this array, you decide to store a string of letters (an ID3 tag, for example). If you allow the user to input the letters into x, without checking the maximum length, then the user can start writing data past x[19]. For example, if the user inputs a string that is 30 characters long, data will be written from bytes 149300 - 149329 in memory, even though you only allocated the memory through location 149319. This means that the user has the ability to write to other data in the computer.

    Now, here comes the fun part. If the user (a cracker, at this point), knows where the operating system code lives in memory, he can just input a string that is long enough and eventually overwrite the operating system code. He can carefully craft the string as his own little bits of code which can do nasty things. This is how a buffer overflow works.

    I have always thought that this was more of a problem with C than a problem with Windows, since C should really check for stuff like this (or handle strings better). However, it might be kind of hard for the compiler to be able to check for this. The only way to really prevent these is good programming habits - but people make mistakes all the time.

    Hope that helps!

    Regards, Montag

  63. What if this IS the plan? by burgburgburg · · Score: 3, Interesting
    Convenient that downloaded "pirated" music files are now potential attack vectors. So much more effective an argument for DRM ("If it was legal and properly signed, you'd have nothing to worry about.").

    I wonder if the EULA on the MS patch for this will be overreaching and invasive?

    1. Re:What if this IS the plan? by Didion+Sprague · · Score: 5, Insightful

      Which brings me to a slightly off-topic question (but not that far off-topic): won't it take just a single compomised DRM file on whatever platform to completely send the whole DRM concept -- at least the generation with the single compromised file -- down the toilet?

      I mean, it would seem to me that Microsoft's DRM -- or DRM in general -- is based somewhat on "human" trust. Once that trust is abrogated -- just once -- the whole thing spirals into a "well, it's still pretty secure" type of situation -- and then sprials into "wait'll next generation's DRM. It'll be secure as hell."

      I know no cryto scheme is 100% -- at least in theory -- but because the consumer/DRM stuff is being built up and hyped so much lately, it seems that its potential -- potential for complete security, potential for complete failure -- far outstrips the more practical, usability/crackability aspects.

      And then I wonder: once this sort of consumer/DRM is launched mainstream, it'll become -- eventually -- embedded into the economic model for distribution. But once this DRM stuff is cracked or broken or whatever happens, the DRM itself will fall apart, as well the economic model. And companies who go balls-out to invest in this stuff -- and work hard to secure the "human" trust aspect of it -- will be in dire, dire straits -- economically, technologically, you name it.

      DRM is like a massive WMD waiting to be let loose. It's failure -- assuming it fails at least once a generation -- will sink more companies than I think anyone realizes.

      Just some thoughts.

    2. Re:What if this IS the plan? by brokenbeaker · · Score: 1

      Why are you assuming that the downloaded file is pirated? Is it not possible for a virus to infect an MP3 with malicious code? It's also possible that I could put up "Sounds of waves" or some other crap MP3 that is infected... "Pirates deserve what they get" is no argument for crappy code or DRM.

    3. Re:What if this IS the plan? by Kashif+Shaikh · · Score: 2

      DRM is going to be DMCAs little child of hell. Doesn't matter how bad DRM is security wise--it's the potential of hacking it and shoving DMCA down to any who does hack it--that makes it the scary part.

    4. Re:What if this IS the plan? by Alsee · · Score: 2

      DRM... -- assuming it fails at least once a generation --

      Don't you read slashdot? There's a major DRM failure every month or so. And DRM isn't really that common yet. The more common DRM becomes the more people are going to look at it and the faster it's going to fail.

      The entire DRM agenda is sickening. They can never actually succede, and the harder they try the more we're all going to get screwed over in the process. Bad laws. Crippled products. And inflated prices to pay for doomed DRM implementations.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  64. All computers are vunerable to malicious mp3s! by v8interceptor · · Score: 1

    Playing any Celine Dion mp3 on any platform will cause pain.

    --
    --- Why are you wearing that stupid bunny suit? | Why are you wearing that stupid man suit?
    1. Re:All computers are vunerable to malicious mp3s! by Anonymous Coward · · Score: 0

      Playing any Celine Dion mp3 on any platform will cause pain.

      Jackass. Brainless Jackass.

    2. Re:All computers are vunerable to malicious mp3s! by v8interceptor · · Score: 1

      Oooh, like a bit of Celine Dion do we?

      --
      --- Why are you wearing that stupid bunny suit? | Why are you wearing that stupid man suit?
    3. Re:All computers are vunerable to malicious mp3s! by Anonymous Coward · · Score: 0

      Oooh, like a bit of Celine Dion do we?

      I'd say that was obvious from the post eh? ;-)

  65. CDDB by laigle · · Score: 3, Interesting

    The twitchy part is, even most people who rip their own music these days get the ID tags via some free database site, and those often take submissions. How hard would it be for somebody to just submit a bunch of malicious ID tags for popular albums?

  66. Maybe my mind's in the gutter... by Thud457 · · Score: 4, Funny

    but I really could have done without the mental image you just gave me! Worse than goatse. ugh.

    --

    the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

  67. Not a WMP problem, an Explorer problem by Anonymous Coward · · Score: 0

    XP allows the showing of ID3 tag info when you do a "view details" in Explorer if you select them.

    If I understand the bug properly, the exploit gets run because Windows Explorer will try to read the tags when you open the folder.

    This leads me to my question. Do you have to have those attributes clicked (and view your files in Details mode) to be vulnerable?

  68. what, me worry? by johnny_4_president · · Score: 1

    call me crazy, but i'm not worried about tainted mp3s, even a little bit. has anyone ever been burned by one? it seems to me anyone savvy enough to be creating viruses probably has a large mp3 collection of their own, is probably sensitive to the mp3/RIAA controversy, probably considers folks listening to mp3s on "their team". i doubt a virus-maker would create evil mp3s, on the principle that one doesn't sh*%t where one eats. have been sharing mp3s for years now, have a collection of over 65,000, have never found a single one that adversely affected my machine. by the way, id3 tags are neat. i think it's great that one can create an mp3 with a link to one's website, or include a message to metallica & the RIAA on an mp3 of 'damage, inc.' but that's just me.

    --
    disponibile
  69. aka Silent Updates by simetra · · Score: 2

    They're called Silent Updates.

    Microsoft has been doing these at least since Win95 days. Exact same file name, size, different contents. So if you downloaded office 97 SR-1 the day it was released, then again 2 years later, it would probably be different.

    --

    "Would it kill you to put down the toilet seat?" -- Maya Angelou
    1. Re:aka Silent Updates by Reziac · · Score: 2

      AOL does it too. I've found I've got to keep a copy of each and every different AOL CD, even nominally for the same version, to have one that matches whatever subversion some client installed.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    2. Re:aka Silent Updates by Anonymous Coward · · Score: 0

      It's true. I found an incredibly stupid crypto bug in one of Microsoft's products and it turned out to be fixed silently about a year ago. They slipped it into a Hotfix without mentioning it in the readme.

    3. Re:aka Silent Updates by Dave2+Wickham · · Score: 1

      You KEEP AOL CDs?
      Man, your house must be overflowing with 'em...

    4. Re:aka Silent Updates by Reziac · · Score: 2

      I only keep one of each edition (have found as a quick indicator, if they have a different picture, the contents are usually different, even for the same version). So yeah, I've got a couple dozen. Sickening, isn't it? :)

      The old AOL diskettes often had nifty modem utils on 'em. Not much useful like that on the CDs, tho.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  70. Will all the C-coders ever learn... by Anonymous Coward · · Score: 0

    ..how to check the buffer bounds?

  71. RIAA Using This by dmarx · · Score: 2, Insightful

    How long before the RIAA uses this to, say, trash an MP3 downloader's hard drive? And how much do you want to bet that Congress will legalize this?

    --
    "Do I dare disturb the universe?"
  72. strncpy bad, strlcpy good by nestler · · Score: 4, Informative
    99% of people using strncpy don't actually bother to read the definition of what it actually does.

    Hint, this code is buggy:
    char buf[1024];
    strncpy(buf, big_ass_string, sizeof buf);

    strncpy doesn't bother adding a null-terminator in the case where big_ass_string is too big. Most people don't realize that they have to do all of this to be safe with strncpy:
    strncpy(buf, big_ass_string, sizeof buf - 1);
    buf[sizeof buf - 1] = '\0';

    The real solution is to use a function that doesn't have such crappy behavior: strlcpy

    strlcpy(buf, big_ass_string, sizeof buf);

    It always does null-termination. You never have to lie to it about the size of your string. Same goes for strncat (bad) and strlcat (good). Thank the OpenBSD developers for these. They are very useful in avoiding overflows when you don't have the option of using C++ and the string class.

    1. Re:strncpy bad, strlcpy good by arkanes · · Score: 2

      The really funny thing is that there's even an update for the Windows SDK you can install, which will undef all the "unsafe", normal C library functions, replacing them with error pragmas, and provides a whole nice suite of safe string functions. It's still a pain in the butt to re-code everything, but in most cases its a drop-in fix, and where it's not, that usually means you had a problem that needed fixing anyway. I don't really expect them to have fixed the ENTIRE codebase yet, but the multimedia and internet components you'd think would be high priority.

    2. Re:strncpy bad, strlcpy good by Kashif+Shaikh · · Score: 2

      You could also use snprintf snprintf(buf,bufsize,"%s", big_ass_string);

    3. Re:strncpy bad, strlcpy good by Anonymous Coward · · Score: 0

      Here are the safe string functions.

      http://msdn.microsoft.com/library/default.asp?ur l= /library/en-us/dncode/html/secure05202002.asp?fram e=true

      I believe this header file is now used internally at Microsoft.

  73. Does it exist on older versions? by edxwelch · · Score: 1

    Does anybody know if this vunerablity exist on older versions of Winamp? I remeber the older version had a simpler ID tag.

    1. Re:Does it exist on older versions? by anotherone · · Score: 2
      Since the original ID3 tag specs only alloted 256 bytes of info (maybe a little more, I'm not sure). According to the version history of my copy of winamp, ID3v2 was first supported in 2.09, so you might want to upgrade. There's no reason not to, really, it hasn't really gotten a lot bigger and it's much better.

      Don't go for Winamp 3 though, it sucks balls. 2.81 is the best ever.

      --
      Username taken, please choose another one.
    2. Re:Does it exist on older versions? by edxwelch · · Score: 1

      Hmm, don't know about that, I have 2.8 and I notice it causes WinNT to blue screen more frequently than the previous version (that came with Netscape 4.7)

    3. Re:Does it exist on older versions? by anotherone · · Score: 1

      Really? I have never had Winamp crash ANYTHING for as long as I can remember.

      --
      Username taken, please choose another one.
  74. No excuse available ... no change likely by Anonymous Coward · · Score: 0
    The severity and quantity of security problems on MS-Windows are due to the established fact that Microsoft products just aren't designed for security. It's not something you can come in with afterwards. Unfortunately, Microsoft's business model is not conducive to producing more than lip service and change is unlikely for the next few years.

    Why are any of these old issues still being discussed? Were all of Microsoft's new hires this year astroturfers?

  75. Redundancy? by dethl · · Score: 1

    An attacker could create a malicious MP3 or WMA file, that if placed in an accessed folder on a Windows XP system, would compromise the system and allow for remote code execution. The MP3 does not need to be played, it simply needs to be stored in a folder that is browsed to, such as an MP3 download folder, the desktop, or a NetBIOS share.

    Anyone see the redundancy too?

    --
    "Some fight for law. Some fight for justice. What will you fight for? One day, you will see."
    1. Re:Redundancy? by nicomen · · Score: 1

      Not really, but I see the recursivity.

      --
      Nicolas Mendoza
      Prepare for MSIE 7
  76. Question for slashdot by Raul654 · · Score: 5, Interesting

    My advisor, DL Mills (the guy who invented NTP), said something a while back which this article somewhat reminds me of. He said that back in the day, people wrote operating systems in assembly. But the thing is, they just got way too f****** big and couldn't be maintained, even with the best of care. He said that today's operating systems are getting to that point as well, and maybe it's time for a new level of abstraction. Stuff like exception handling (amoung which automated buffer checking should be one), garbage collection, etc, should be built into the language, and leave the programmer to concentrate on more important things.

    So my question is, does anyone have any idea what this "new level of abstraction" might be?

    --


    To make laws that man cannot, and will not obey, serves to bring all law into contempt.
    --E.C. Stanton
    1. Re:Question for slashdot by Animats · · Score: 2
      So my question is, does anyone have any idea what this "new level of abstraction" might be?

      Ada? Pascal? Modula II/III? C#? Java? All those languages have subscript checking. It doesn't add much overhead, either, if the compiler is smart enough to hoist subscript checks out of loops.

      Meanwhile, will somebody please move "strcat", "sprintf", etc. to a "deprecated" library? If you find any of the old unchecked UNIX string primitives in open-source code, rewrite them using the safe versions.

    2. Re:Question for slashdot by biobogonics · · Score: 1

      So my question is, does anyone have any idea what this "new level of abstraction" might be?

      [writing an OS in a HLL is more secure?]

      Remember Multics? It was written in a HLL and still managed to have exploitable security holes. Then the DOD mandated Ada which is so bloated that no one uses it (voluntarily).

    3. Re:Question for slashdot by jhines0042 · · Score: 2

      Sounds like a 5GL to me. C+++?

      I think that if something like what you are describing where to be widely adopted there would have to be other benefits to it as well.

      For example, easy to code, distributed software. Security would also be paramount there.

      --
      42 - So long and thanks for all the fish.
    4. Re:Question for slashdot by ShoeHead · · Score: 1

      Scheme, baby!

    5. Re:Question for slashdot by frank_adrian314159 · · Score: 4, Interesting
      does anyone have any idea what this "new level of abstraction" might be?

      Lisp.

      There's even been an OS built in the language. Seemed to work just fine. Problem was, that in those days, you needed special purpose hardware to run a Lisp-based OS on. You don't anymore, but the code has been lost to people who could do something useful with it in the mist of time and bankruptcy. Google for Genera and OpenGenera. Hint - once the base code is built into the system, you cannot have buffer overflows, uncaught exceptions, or uncaught arithmetic overflows. It's a good environment (as I can attest, having it running on my Symbolics Lisp Machine at home).

      Oh yeah, they have a great OO database, decent graphics, and all of the web crap you'll ever need, too.

      --
      That is all.
    6. Re:Question for slashdot by PinkX · · Score: 2

      As I understand, Java manages all of the garbage collection by itself. So using Java with a native compiler (instead of the VM crap) like GCJ would be a clever solution.

      About your comment regarding strcat, sprintf, etc., I couldn't be more agree with you. I *hate* the way C does string handling (it's awful for God's sake). What are those safe versions you are refering to?

    7. Re:Question for slashdot by hng_rval · · Score: 1

      C#

      --
      Thank you Mario! But our princess is in another castle!
    8. Re:Question for slashdot by ntp · · Score: 1

      Meanwhile, will somebody please move "strcat", "sprintf", etc. to a "deprecated" library? If you find any of the old unchecked UNIX string primitives in open-source code, rewrite them using the safe versions.

      You'll only be able to pry strcat from my cold, dead hands. Don't start taking stuff away from competent programmers just because some people don't know how to use it.

      I use strcat and I love it.

      --
      I control the time!
    9. Re:Question for slashdot by Anonymous Coward · · Score: 0

      Java or the eclipse SWT perhaps?

    10. Re:Question for slashdot by Animats · · Score: 2

      What are those safe versions you are refering to? Look up "strncat", "snprintf", etc. Each has an extra size-limiting argument.

  77. Um, not a solution. by Andy+Dodd · · Score: 2

    Well, maybe for Microsoft and their love for bloatware, it is, but in general, interpreted languages are NOT the solution.

    Interpreted = slow. Period. Even with nifty stuff like Java JIT compilers and such, Java is still slow and bloated. I remember the Java version of AOL Instant Messenger - It could drive a machine with 256M of RAM into swapspace without lifting a finger. Yes, that was a particularly badly coded craplet, but I have yet to see ANY Java applet/application that could compare in speed/small footprint to a C program (or even C++) program that did the same thing.

    And in this day and age, we are returning to having to return to small, efficient code thanks to embedded devices such as PDAs.

    All it takes is a little bit of competence and a few extra utilities to check (and even prevent) buffer overflow vulnerabilities from occuring. I don't remember the exact name, but there's even a preprocessor for GCC that will check for vulnerable code and fix it.

    --
    retrorocket.o not found, launch anyway?
    1. Re:Um, not a solution. by Anonymous Coward · · Score: 0
      How did an applet manage to drive a machine with 256MB memory into swap?

      Having just butted heads with the Java garbage collector, I seem to recall the heap being set to something piddly like 32MB.

    2. Re:Um, not a solution. by jpmorgan · · Score: 2
      Chances are you've never seen a JITting JRE. Chances are you've only ever seen the Sun reference implementations, which are slow and bloated.

      With C#/.NET, the entire bytecode is designed to be JIT compiled - you're not really even supposed to interpret it at all. In my experience, a typical .NET program runs at almost the same speed of a native program (almost being a 1 or 2% difference). They do, however, use twice the memory.

      YMMV.

    3. Re:Um, not a solution. by ElGuapoGolf · · Score: 1


      Limewire seems to be a well written program. It used to run just fine on my 256MB box. As for the relative usefulness of the program, that remains to be seen.

      Likewise, JRio was/is a great utility for managing songs on my Rio500.

      Java's come a long way from that first version of AIM. Please don't use that as your reference for a modern java program.

  78. Re:How does a buffer overflow allow code execution by master_p · · Score: 1

    I've said it before and I will say it again: the solution is for CS != DS. Those that know about PC O/Ss will understand. It's so easy, I don't get it why it isn't implemented yet!!!

  79. Conspiracy theorist? by phorm · · Score: 3, Interesting

    Winamp doesn't belong to MS, so we're probably just warning people.
    I'm not sure which is worse:
    a) Those that imagine everything MS does is attempt to rule the world
    b) Those that imagine every posting mentioning a bug in MS is a covert attack.

    Considering the amount of geeks here that are into Mp3's, or those that maintain networks (with users who play downloaded Mp3's, permitted or not), this warning sounds like it fits well on slashdot.

    1. Re:Conspiracy theorist? by Anonymous Coward · · Score: 0

      This fits on Slashdot because it pokes Microsoft.

  80. Merry X-Mas everyone by Anonymous Coward · · Score: 0

    Cough hack cough hack ogg cough ogg hack OGG!

    Merry Christmas everyone. Have a good one.

  81. Except that C... by hackwrench · · Score: 1

    makes it extremely easy to not enforce bounds checking when you do need it. Do you have a good example of where bounds checking is enforced but not needed in other programming languages?

    1. Re:Except that C... by spakka · · Score: 3, Insightful
      Do you have a good example of where bounds checking is enforced but not needed in other programming languages?

      In Java:

      int a[] = new int[10];
      for (int i = 0; i < a.length; i++) a[i] = i++;

      Each access a[i] is needlessly bounds-checked.

    2. Re:Except that C... by Anonymous Coward · · Score: 0

      PL/I... language with full bounds checking as there are no non-fixed length buffers.

    3. Re:Except that C... by Anonymous Coward · · Score: 0

      Oh yeah? Well...

      In Soviet Russia:

      Each check needlessly bounds YOU!

      Shit, that was almost funny. Almost.

    4. Re:Except that C... by spongman · · Score: 3, Informative

      Not necessarily. It would be simple for a JIT to recognize that the for's terminating condition was sufficient as a bounds-check and yank the check for the array index. Microsoft's .NET VM does exactly this.

    5. Re:Except that C... by green99 · · Score: 2, Informative

      Not true. In the above case, the bounds checking can be easily optimized out. From Sun:

      Compiler Optimizations

      Range check elimination: The Java programming language specification requires array bounds checking to be performed with each array access. An index bounds check can be eliminated when the compiler can prove that an index used for an array access is within bounds.

      (from Hotpot Documentation)

      Which would be trivial in the case supplied.

    6. Re:Except that C... by Jetson · · Score: 2
      for (int i = 0; i < a.length; i++) a[i] = i++;
      Each access a[i] is needlessly bounds-checked.

      Except, of course, that you're thinking in terms of a single-threaded application. The a[] array could conceivably change size in one thread while being iterated by another....

    7. Re:Except that C... by PurpleFloyd · · Score: 2

      I don't see how that would affect anything. Since you check against a.length (rather than a constant), once i hit a.length, you would end the loop. While you might hit a bug with the loop terminating early, it would never terminate late (and thus overflow).

      --

      That's it. I'm no longer part of Team Sanity.
    8. Re:Except that C... by Anonymous Coward · · Score: 0

      Blockquoth the poster:

      (from Hotpot Documentation [sun.com])

      Hotpot huh? I've found Hotcrack to perform better :-)

    9. Re:Except that C... by msfodder · · Score: 1

      Not this shite again.
      Look, you do your systems stuff in java or perl
      and watch yourself come back to C when you need
      a piece of software that actually does it in a reasonable amount of time.

      --
      ..Free Live Free...
    10. Re:Except that C... by 21mhz · · Score: 2, Informative

      In Java, arrays cannot change size. Though, an adjacent posting hit the nail on the head: leave the obvious optimizations to the optimizer.

      --
      My exception safety is -fno-exceptions.
    11. Re:Except that C... by iriki · · Score: 0

      it's way cool, isn't it? =)

    12. Re:Except that C... by karlm · · Score: 1
      I don't see how that would affect anything. Since you check against a.length (rather than a constant), once i hit a.length, you would end the loop. While you might hit a bug with the loop terminating early, it would never terminate late (and thus overflow).

      How much multi-threaded programming (with preemptive scheduling) have you done?

      Loop itterations are not atomic in Java (or any language I'm aware of). If java arrays could change size (which they can't), then you could have another thread change the size of the array between the loop condition check and the assignment.

      In Java, you're lucky if i++ gets jitted into something atomic.

      private static int threadCount = 0;
      public static int numberMe(){ return ++threadCount;}

      If every thread calls numberMe() once, they are not guaranteed to get unique results nor is threadCount guranteed to end up equalling the number of threadsthat have called it. (If you make numberMe a synchronized method, it's a different story.)

      --
      Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
  82. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  83. Re:How does a buffer overflow allow code execution by Sloppy · · Score: 2
    One of the weird things about the x86 legacy is that the stack grows downward in memory. When you overflow, you're not writing over unallocated stack space (like you would on a processor that makes stacks grow upward). Instead, you're overwriting things that were earlier pushed onto the stack.

    Think about that and visualize it in your head.

    What is particularly nasty about this, is that the vulnerable data on the stack includes return addresses. Thus, the overflow can result in a return instruction not going back to the original caller. Instead, it can "go back" to some code that the attacker pushed onto the stack.

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  84. This must be the work of the RIAA by Ignorant+Aardvark · · Score: 2, Funny

    The RIAA would rather not have computers exist, because that allows for trading of their precious songs. So by creating a virus that spreads through mp3 they're effectively cutting out a large amount of the piracy.

    What's next for the RIAA? A virus on music CD's that is executed when played in computers. Obviously, allowing a CD to be played in a computer is the first step to it being pirated. Instead they'll allow it to play only in DRM CD players that will play 20 hours of music per license bought (each license will cost $20).

    Please don't mod me down, I'm not trying to be flamebait, I'm being sarcastic :-)

  85. Automatic source code analysis by alispguru · · Score: 4, Insightful

    Feeding this to Google produced 11,000 hits, with over half of the first ten being for commercial or academic systems that claim to detect potential buffer overflow code automatically. I doubt any of them is 100% accurate, but even 50% combined with "shut-up-this-code-is-safe" pragmas would be an improvement over the current situation.

    Buying or installing one of these tools and running all their source code through it as part of development would cost Microsoft less than they spend on caffeinated liquids, and would pay for itself with the first potential exploit caught before shipment.

    I can only ascribe people's refusal to try these tools to programmer hubris - "MY code can't be understood by a mere code analyzer".

    I am rashly assuming here that Microsoft doesn't use tools like this. If anyone out there knows differently, please reply.

    --

    To a Lisp hacker, XML is S-expressions in drag.
    1. Re:Automatic source code analysis by mcjulio · · Score: 2, Informative

      You are rashly assuming this, and you're wrong. All the major groups (and the minor ones with more attentive dev managers) run a tool like this that can catch issues like this, and many more. Unfortunately, quite often in the rush to ship, this data has not been inspected thoroughly or properly.

    2. Re:Automatic source code analysis by Anonymous Coward · · Score: 0

      that and i'm guessing after an audit of it all they found it would take 10000 hours of programming or more to fix all the buffer overflow problems. they could affod the money. but i doubt they could afford the time it would take away from other projects.

    3. Re:Automatic source code analysis by Anonymous Coward · · Score: 2, Informative

      Windows and Office both recently did major security reviews where they reviewed (ostensibly) every line of every file that handles external input. Problem is, the automatic tools don't catch everything, and neither do human eyes. I would be interested to see the code on this vulnerability. If it's as simple as reading the ID3 tag into a stack-allocated buffer I would be surprised. Either the person who security reviewed the file would have to have been asleep, or somehow that file slipped through the cracks.

      The point is, MS actually does take security seriously now. It just turns out this is a hard problem, and it's not something that has been on 90% of programmers' minds until just the last couple of years.

    4. Re:Automatic source code analysis by Anonymous Coward · · Score: 0

      I believe the question "why aren't microsoft finding these" has it backwards. They ARE finding them. That is why there has been so many BO patches in the last few months. In all cases the code with the vunerability was written some time ago. Vunerabilities in recently written code seem to be much more rare. Microsoft can't win - if they don't find them, they are panned, if they do find them (often) they get in trouble too.

  86. Re:How does a buffer overflow allow code execution by og_sh0x · · Score: 1

    Thanks for your insightful in-joke about CPU registers, but I think we're all here to actually learn, or at least I am. Would you care to actually explain what you were talking about a little more, or are you just a troll? It probably hasn't been implemented yet because you never explained it. Ideas don't come to fruition by being carried around in your head.

  87. It's already patched. by AzrealAO · · Score: 2

    There is no EULA on the patch either.

  88. Protestant vs Catholic by Anonymous Coward · · Score: 2, Insightful
    About 500 years ago, a guy named Martin Luther decided to translate the Bible into German, thus was born the Protestant revolution. The point being, that before this, if you were German and could not read Latin, you had to have a priest translate the words of God AKA the Bible.

    A Brit named William Tyndale had the same idea, he printed 50 copies of the Bible *in English*, the establishment was that shocked at this idea, they burnt him at the stake. Probably because they thought the idea of the common people having direct access to the 'holy writ' would lead to them thinking for themselves and having dangerous ideas.

    How like the current debate between open source and closed source this all sounds. Just substitute operating system for Bible, money for God, the stock market for the Holy Roman Empire and Bill Gates as the Pope and it all lines up!

  89. IN SOVIET RUSSIA by Anonymous Coward · · Score: 0

    Britney Spears listens to YOU!!!

  90. Re:How does a buffer overflow allow code execution by og_sh0x · · Score: 1

    Thank you, Sloppy. The part about the stack growing downward was key to understanding the buffer overflow. Thanks also, of course, to everyone else who replied.

  91. Automatic updates are spooky by Wee · · Score: 3, Insightful
    Or if you're like many people, the fix has already installed during an automatic update check last night.

    I don't wear the tinfoil hats either, but I find it a little unnerving that people let their system be updated automatically. There's just so many things wrong with that concept. Some updates I don't want, others I defintiely do. All of them I want to see before they get installed so I know what is going to be done. Although I suppose figuring out what an MS update will do can be pretty hard, since they tend to bundle lots of fixes into sinlge packages.

    On the other hand, we're not talking about a dedicated SQL Server machine or anything, so maybe auto updates for desktops isn't a bad idea after all...

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  92. Foundstone... by wavelet · · Score: 1
    According to the Microsoft Security Bulletin MS02-072, the "whitehat" hacking R&D team found this vulnerability.

    The foundstone advisory is amazing considering what that company has gone through

    Within the security community, they have been criticized for their treatment of the their people and their general lack of ethics.

    1. Re:Foundstone... by Anonymous Coward · · Score: 0

      Yeah Foundstone management is really evil. That leaked memo is classic! That's what happens when you *try* to fsck over some ex-employees and *fail*.

    2. Re:Foundstone... by stikk · · Score: 1

      The real news, fuckedcompany has a FORGED memo. and the ntobjectives thing is touchy though its my opinion it has been handled as best as possible.

      keep an eye out for more vuln advisories from r&d.

  93. Too late! I've already seen those landmines :S by ToKsUri · · Score: 2, Funny

    Doing a search in Kazaa I found a strange file called "!!Download me if you like REM!1Kewl new band.mp3". It came out to be a completely malicious mp3.. It's ID3 tag said something like NSYNC... yulk!

  94. an honest question, please answer it... by Anonymous Coward · · Score: 0

    Ok, I read the blurb, and I'm left unsure. Is the winamp vulnerability only existant in Windows ex pee, or is it a general thing that anyone using WinAmp (I think there's even a linux version), or every windows user running WinAmp needs to fix?

    Thanks in advance.

  95. You'd better check by Snork+Asaurus · · Score: 3, Informative
    From the Foundstone Advisory:

    One buffer overflow exists in Winamp 2.81 (latest 2.x release) and two buffer overflows exist in Winamp 3.0 (latest 3.x release). The Winamp 2.81 overflow is with the handling of the Artist ID3v2 tag upon immediate loading of an MP3. The two Winamp 3.0 overflows are present in Media Library's handling of the Artist and Album ID3v2 tags.

    There is often the flawed assumption in these reports that people always use the latest version of a particular app. Yes, I know that it would be hard to get and test all versions, but they could at least find out from Nullsoft and indicate what range of versions might be vulnerable.

    Nullsoft (bless them - I love Winamp) has an annoying habit of removing or changing features that I like in the minor rev's, which is why I stick to certain versions. I use Winamp 2.50e and 2.78 on various machines. I also have 2.09, 2.70, 2.72 and 2.81 (and a 1.xx and probably others), but don't use them for this reason. Winamp 3 was too buggy as of the build I got a couple of months ago.

    Anyway, I often wonder, when I see vulnerability warnings and a version of something that I use is not specifically excluded, is it:

    a) Not vulnerable?

    b) Not tested for vulnerability ?

    Winamp2.5 doesn't handle ID3v2, so it's probably OK. The ID3v2 handling was added somewhere around 2.72, IIRC, so I'll have to do some checking. You might want to check yours as well.

    I'd hate be forced to abandon my beloved older Winamps because there's no fix, but that may happen.

    --
    Sigs are bad for your health.
    1. Re:You'd better check by Reziac · · Score: 2

      Any idea where a person could download older WinAmp versions? Are they archived anywhere?? I just did some looking for 2.50 and no joy. I've been using 2.62 for ages -- arrived with some version of Netscape. I did once try to feed it a proof-of-concept file for an exploit that went around last year (something to do with calling out to a malicious web page), but it just looked at me funny.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    2. Re:You'd better check by Gonzotek · · Score: 1

      Winamp Heaven.
      http://winampheaven.kicks-ass.net/
      -=Gon zotek=-, Winamp3 Forums Moderator

    3. Re:You'd better check by Snork+Asaurus · · Score: 2
      Google for this: winamp25e_full.exe

      and you'll find it (I did). BUT I MUST WARN YOU: YOU'LL BE DOWNLOADING AN EXE FROM AN UNKNOWN SITE AND THE USUAL ANTIVIRUS PRECAUTIONS NEED TO BE APPLIED!!

      I'm not sure why you want 250e, since 2.62 is probably OK (but that is in no way a guarantee from me - I'm speculating a lot on this), unless you're looking for a removed feature. Once WinAmp 3 gets some of the kinks out, it should be great, and in the meantime, the fixed 2.81 should do the trick.

      --
      Sigs are bad for your health.
    4. Re:You'd better check by Snork+Asaurus · · Score: 2

      Well done. I was trying various ways find Winamp 2.50e for my reply when you posted a much better one. I always figured that a place like this should exist. BTW, in answer to the question beside 2.50e on the site - "The most perfect of all versions?", I'd say that it is for me - it's a sweet spot in the history of a very good player.

      --
      Sigs are bad for your health.
    5. Re:You'd better check by Reziac · · Score: 2

      Hey, coolness! Thankx!!

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    6. Re:You'd better check by Reziac · · Score: 2

      Thanks -- tho today's googling got nothing but borkend links, as far as I got before giving up. Someone here later suggested http://winampheaven.kicks-ass.net/ which is indeed full of every which version of WinAmp in one handy location.

      I always regard all files as infected until proven otherwise, regardless of where they came from :)

      As to v2.62, it's perfectly fine for most purposes, but it tends to choke on audio CDs, and over time it clogs up the swapfile. (Few other bugs too, incl. one in the visualization switcher that can make the program suicide -- to the point where it needs to be nuked and reinstalled, but I know to avoid that one now :) So am open to inspecting other versions. Several folk piped up that "2.50e is the most perfect version ever" so thought I'd give it a look.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  96. The changing nature of Windows exploits by irregular_hero · · Score: 4, Insightful

    A long time ago, you could destroy your files and have a very bad day by using that floppy from your friend that had creeping crud on it.

    Shortly thereafter, your files were potentially at risk from files that you spent all day downloading from a BBS. Fairly soon after that, a malicious file could sneak onto your hard drive and cause mischief once FTPed from the Internet at a bit higher of a rate. In each case, you pretty much had to type the name of the file to run it.

    Enter the world of Windows. Now running the file gets a hell of a lot easier, just a few points and clicks. And obtaining those lovely infected files gets a lot easier with the faster Internet connections and new "killer apps" like Usenet, e-mail, and the World Wide Web gaining in popularity. In less than a year, these files gain literally thousands of new vectors.

    Then it becomes possible to pick up an infection by receiving a file via e-mail inside a program that loves to muck about with files before you run them by, er... running them. The only user interaction required is hitting the "send/recieve" button.

    After that, malicious files no longer need to be files. They can be specially formatted e-mails, and all you need to do is preview them -- you don't even have to read them -- in order to get smacked by the latest nasty bug.

    Don't feel e-mail is safe? Well, it wouldn't matter if you stopped using it entirely, the creeping crud will still get in if you click on a link on the Web. And as if the front door didn't put up a paper-thin defense, the back door will allow malware to slip in via Web server software, file shares, file transfer servers, and even instant messaging.

    Now what do we have?

    A malicious file you only have to point at for a moment to get an infection.

    You've come a long way, baby.

  97. I always remove ID tags anyway. by Rai · · Score: 2

    They just annoy me for some reason.

    1. Re:I always remove ID tags anyway. by ELiTeUI · · Score: 1

      Yeah, they annoy me too. Most people seem to love them though, so I am satisfied with leaving my downloaded ones alone (now that I have this patch ;) ) and just not add them to the mp3's that I make myself.

  98. My operating system has a vulnerability by Anonymous Coward · · Score: 0

    My operating system has a vulnerability. It executes code I ask it to. Can someone please issue a fix?

  99. Re:How does a buffer overflow allow code execution by pclminion · · Score: 2
    CS and DS are segment registers which control where the CPU gets it data from when reading code or data, respectively. A logical address is actually a 48-bit (32+16) value: 16 bits to select the appropriate segment descriptor, 32 bits to specify an offset.

    What he's saying is that if the code and data segment selectors point to different memory areas, a buffer overflow becomes impossible because a data segment can be set such that code cannot execute from it.

    While correct, the idea is bad because it assumes that all platforms have a concept of segmentation (definitely not the case), and that there are no impacts of setting the CS != DS. On Linux, for example, the segment registers are set to global descriptors at boot time, and are mostly unused from then on. Linux is a paging based system, not a segmentation based one.

    Second, a lot of code assumes that the data segment is executable. GCC sometimes emits "trampoline" code which actually places code on the stack and executes it! There are legitimate uses of executable stack pages. Trying to change this would break too many things.

    You could also prevent stack overflows by causing the stack to grow upward in memory instead of downward (because function return addresses would come before buffers in memory, not after), but nobody does this either because of some deeply ingrained assumptions in all modern operating systems.

    There is no easy fix-all solution to the problem. The real way to avoid buffer overflows is to write code that isn't vulnerable to them.

  100. Re:How does a buffer overflow allow code execution by Sloppy · · Score: 2
    The 80286 did not having paging or a big 32-bit address space, but it was still capable of implementing virtual memory and memory protection, through something called segmentation. The idea was that a pointer wasn't just an offset from address zero; a pointer was a segment selector thingie (as you can see I have forgotten what the actual technical term was ;-) and an offset. And unlike on the 8086, on a 286 running in protected mode, the OS would make up what segment selector thingie values were valid, exactly how long each segment was, and also various permissions that applied to that segment.

    What's neat about this approach is

    • If a segment overflows (i.e. you try to reference an offset that is larger than the size of the segment) then an exception is generated. Really neat for debugging.
    • You can have a segment be non-executable. So if you attempt to execute code in, oh say, the stack segment or some other data segment, an exception is generated. Really neat for security.
    • If a reference is made to a segment that isn't in memory right now, an exception is generated. Useful for virtual memory.
    The 386 and later also implement segmentation, but people don't really use it because segmentation is a major pain in the ass to deal with. The 386 added paging, which is an easier and simpler way of doing vm, so having different segments for everything was no longer very useful. Also, the 386 made segments bigger, 32 bits (4 gig) instead of 16 bits (64k), so shoving everything (code, heap, stack) into one segment became feasible for most projects. This became known as the "flat" memory model, where pointers are just simple 32-bit values (all offsets within the same segment). This is very easy for programmers to deal with, compared to the earlier x86 days, where a pointer was a kind of compound object consisting of both a segment and an offset.

    The thing is, using segments could still be useful. If you were to put up with some extra complexity and have your stack be in a different segment than your code, then you could set the stack segment to be non-executable, so that if someone puts malicious code on the stack (or somewhere else in "data" memory) then it still can't get executed w/out generating an exception.

    Anyway, I think that's what he meant by CS!=DS.

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  101. Re:How does a buffer overflow allow code execution by Yosi · · Score: 1

    I agree.
    Smashing the Stack for Fun and Profit is certainly a classic.

    Also, if you want to know about more obscure heap based overflows, look at http://www.w00w00.org/files/articles/heaptut.txt

  102. Re: Virus scanning my MP3 collection by saskboy · · Score: 2

    You mean for once the Antivirus companies are going to HELP us?

    Big difference from selling virus code to China.

    Someone here has alluded that you can't scan for this malicious file. I'm curious why not?

    --
    Saskboy's blog is good. 9 out of 10 dentists agree.
  103. Why would XP process data *in* files on file-copy? by Tackhead · · Score: 2
    > All file formats are safe, it's just the programs that read them.

    The article was interesting, though: (Emphasis is mine)

    "A buffer overflow exists in Explorer's automatic reading of MP3 or WMA (Windows Media Audio) file attributes in Windows XP. An attacker could create a malicious MP3 or WMA file, that if placed in an accessed folder on a Windows XP system, would compromise the system and allow for remote code execution. The MP3 does not need to be played, it simply needs to be stored in a folder that is browsed to,

    What I really wanna know is why the fuck Explorer is "automatically reading" an MP3 or WMA when it's not playing it?

    Building thumbnails for JPEGs, OK, I can understand that. But examining the content of a fucking audio file during a copy/move operation? What the fuck?

    Ironically, the only possible use I can see for that behavior would be DRM. The OS sees "MP3" or "WMA" and says "I know you asked me to just copy some files full of bits from one directory to another, but I'm going to examine the bits in the files and process whatever metadata I find, because you might not be allowed to copy these special bits."

    If that's the rationale, I can see a whole new market opening up: "Norton Copy! Works just like COPY.EXE used to do in DOS 1.0!" competing against "GNU CP! Has a few more command line switches, a 2GB file size limit, but unlike paying $49.99 for Norton you get the source code to /bin/cp!")

  104. Very, very easy by NineNine · · Score: 2

    No registry hacking necessary. Just delete the file association. Open any Explorer window. Tools, Folder Options, File Types. Then delete the MP3 one. Voila. No more MP3 associations.

  105. It's tempting! by Anonymous Coward · · Score: 0

    With all of the bugs they keep finding, is anyone else besides me tempted to create these on purpose just to f'up ms? I've got your .mp3 right here: www.microsoftisforidiots.com/damagedos.mp3

  106. I just looked at the WinAmp 2 rev history by Snork+Asaurus · · Score: 2
    It's located here. The ID3v2 support history is a bit murky. It says:

    Winamp 2.09 ... "Preliminary ID3v2 support (tag is skipped reliably)"

    Winamp 2.24 ... "Better support for invalid ID3v2 tags (for people putting invalid tags on)"

    Winamp 2.666 (ha, ha) ... "ID3v2 support"

    Winamp 2.71 ... (in_mp3 decoder) ... "Fixed id3v2 rare writing bug"

    This one reminds me that one of the annoying (albeit sometimes necessary for legal and/or technical reasons) things that they did was switch decoders in various versions. My guess is that it is the actually decoder dll that has the vulnerability, and you can sometimes swap those between versions, but using the 2.81 version may lose some 'features' that certain powers found distressing :-(

    Winamp 2.79 ... "Fix to id3v2+unicode support"

    So, I'm not sure what to make of where the vulnerability really enters, although it may be in any version after (ironically) 2.666. Are there any folks from Llamaland around here to comment?

    --
    Sigs are bad for your health.
  107. (OT) Note to moderators by spakka · · Score: 1

    If you don't understand the technical content of a post, mod it down as 'Offtopic' or 'Redundant', not 'Flamebait'.

    'Flamebait' is for jokes which go over your head.

    1. Re:(OT) Note to moderators by jez9999 · · Score: 2

      I think the mods understood the technical content of the post, and modded it flamebait.

      And flamebait is for posts which are utter BS :-)

  108. Re:Why would XP process data *in* files on file-co by gazbo · · Score: 1
    Ironically, the only possible use I can see for that behavior would be DRM

    That is because you are a fucking idiot blinded by anti-MS FUD (note how I use the term FUD correctly rather than as a general insult?)

    How do we know what a file contains? Well, by its filename. Except if it's a Word doc, when we can get author, title and a few other stats by letting Windows peek inside. Then there's the example you gave yourself - images. We can display a thumbnail which can describe an image very accurately. So how do we get extra info on an MP3? Well, we could play it, or we could view the info in the ID3 tag.

    Oh, wait a fucking minute, that's exactly where the vulnerability is. Now, do you see a more rational reason why Windows would automatically gather info from the MP3 upon mouseover? Good.

  109. Uh-oh by davetrainer · · Score: 1
    WinXP and WinAmp Vulnerable to Malicious MP3s

    Uh-oh. Guess I better delete all my mp3s of this guy.

  110. Disabling this "Functionality" in Windows Explorer by ELiTeUI · · Score: 1

    Does anyone know if there is a way to disable this annoying feature-not-bug in windows explorer?

    I mean, I don't need windows to tell me all the info on a file that I have just clicked on unless I open the properties page (and even that I could live without). The real problem is when you click on large media files and/or media files stored on a network drive, and you try to rename/delete them, windows usually has half of the files locked because IT is using them (and shouldnt be, IMNSHO).

    Any help on disabling this feature would be really appreciated, as it is a royal pain in the ass.

    ELiTeUI Out.

  111. AT MY HOUSE by Eric_Cartman_South_P · · Score: 2
    Hillary Rosen kneels before me!

    1. Re:AT MY HOUSE by Henry+V+.009 · · Score: 1

      Your house is in SOVIET RUSSIA?

  112. Difference between Windows and *nix by wowbagger · · Score: 1

    In *nix, everything is a file.

    In Windows, everything is a virus.

  113. OK, this is getting ridiculous... by Anonymous Coward · · Score: 1

    It seems that no operating system or file type is safe! But, can anyone actually tell me of an example where this exploit or type of exploit actually happened to them? Are the things that are being bandied about as serious security breaches something that has actually happened "in the wild". If anyone has some personal stories to tell, I'd love to hear them, because we are getting lots of people crying wolf, and soon no one is going to be listening!

    jds

    1. Re:OK, this is getting ridiculous... by Anonymous Coward · · Score: 0

      Only the idiots would ignore security warnings of this type. Please keep these security updates coming :) And thanks to the poster (and moderators).

  114. Vulnerable ?!?! by AtomicX · · Score: 1

    Windows XP Explorer vulnerable? Never!

    When I click a WMA file in explorer when/if it loads (fancy a coffee anyone?) I have already given up and booted Linux anyway. Problem solved.

    1. Re:Vulnerable ?!?! by Dave2+Wickham · · Score: 1

      Wait... so you've rebooted whilst waiting for it to start?
      There's yer problem ;-).

  115. Re:Effects more then you realize (ID3v1 vs. ID3v2) by Anonymous Coward · · Score: 0

    Apparenly, Explorer (when it shows a "preview" of the file) has the flaw, but Windows Media Player doesn't.

    No sweat, an update was already posted on http://windowsupdate.microsoft.com last night. The real problem is people don't apply updates!

    The automatic update thing for Windows is neat, but it still doesn't do what it's supposed to do. It automatically DOWNLOADS (but doesn't install) updates! What good is that? If you want to have your system take care of itself, wouldn't it be beneficial to automatically apply the updates.

    With that in mind, it would be cool if you could schedule your updates to download at a certain time of night (for computers that stay on) and install / reboot / whatever else they need to do automatically when it's more convenient for the user (unless you leave your computer on downloading stuff all night, then you could be screwed!).

  116. I'm so torn... by djcatnip · · Score: 2, Funny

    XP is vulnerable to MP3's? I don't know if I should be in awe or laugh my head off.

    --
    I make these: http://beatseqr.com
  117. Another bug.... by Anonymous Coward · · Score: 0

    involving a buffer flow in the old Epic Games "ZZT" that will allow malicious ZZT-OOP code to be executed behind the scene while your playing! Epic Games is[1] offering a patch for download!

    [1]not!

  118. ok, I've decided... by djcatnip · · Score: 1

    Bahahaha!!!

    --
    I make these: http://beatseqr.com
  119. Linux Security - Re:Buffer overflow yet again by moncyb · · Score: 3, Interesting

    There is a kernel level patch so that nothing can be executed in the stack, but a lot of people don't seem to want it. Actually, I think there are two competing patches. One of them is called Openwall.

    There are also libraries to combat this sort of problem as well. Such as the one another poster listed...

  120. Is this a surprise or what? by pair-a-noyd · · Score: 1

    I stand by my assertion, Windows (name you version) is trash.

    What scares me to death is that while watching the news they were showing off a brand new "state of the art" command center from where they plan to wage war against Iraq.

    In this tented command center they showed many dozens of computers with soldiers sitting at them. Every single one of them was running Winbloz..

    The security of this country and the free world is resting in the hands of the most irreparably broken OS on the planet??

    Windows itself is a virus and trojan, all rolled into one huge, hoggish, ill behaved package.

    I would rather sand paper a bobcat's ass in a phone booth than use ANY M$ products....

  121. That would be great .. by cje · · Score: 2

    .. if only those functions (strlcpy, strlcat) were part of the standard C library. They are of little use on platforms where they are not available.

    In the interim, it is more productive to make sure that developers are more clueful when it comes to the standard string-handling facilities in C. It is really not that much of a chore to write safe string-handling code in C; the problem is that most C programmers aren't taught how to do so. That's an education problem, not a language problem.

    --
    We're going down, in a spiral to the ground
    1. Re:That would be great .. by dvdeug · · Score: 2

      It is really not that much of a chore to write safe string-handling code in C; the problem is that most C programmers aren't taught how to do so. That's an education problem, not a language problem.

      Is that your solution to all mine fields? When most users are having a problem with something, it's easier and far more reliable to fix it at the computer then to try and educate every user.

    2. Re:That would be great .. by cje · · Score: 2

      When most users are having a problem with something, it's easier and far more reliable to fix it at the computer then to try and educate every user.

      I don't disagree with this, but the fact remains that the set of C programmers that work in OpenBSD environments is a vanishingly small subset of the set of C programmers as a whole. The functions to which the original poster refers are not a part of the C language and are not available under any of the environments that I develop for (those being IRIX and Linux.) So if I have a choice between educating people on how to use their tools effectively and simply letting them go on blissfully abusing said tools, I tend to lean towards the former option.

      --
      We're going down, in a spiral to the ground
    3. Re:That would be great .. by nestler · · Score: 2
      OpenBSD is released (not surprisingly) under the BSD license. The source for strlcpy/strlcat is easily attainable. You're free to bundle the implementations of those two functions in your problem under the terms of that license. It's not too difficult considering how lenient that license is (even if your product is commercial).

      You needn't limit yourself to the standard C library. After all, that is the library that brought you gets() and strcpy().

    4. Re:That would be great .. by damiam · · Score: 1
      They are of little use on platforms where they are not available.

      I'm not a master C programmer, but they look pretty trivial to implement yourself if needed.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
  122. Re:Why would XP process data *in* files on file-co by kesuki · · Score: 2

    Windows XP constantly monitors all files writen to an local parition, or to a mounted network share.
    it will generate thumbnails in the background on 'new' image files (or try to, that features is broken, as it always tries to see if the file has changed, and somehow decideds the old thumbnails aren't good enough and makes new ones Very annoying when you have 1000 images in one directory on a slow HD -- the thumbs.db file is supposed to Eliminate the lag time in generating thumbnails on the fly isn't it?) the finder/WMP tool in windows also keeps a database of files, for finder it needs to open text files and id3 tags so you can search for files 'containing' whatever. it does this in the backrground, not on 'mouseover' it does it all the time. for WMP it adds the files to the 'media library' if it's in a directory you specified, but I suspect it keeps track of all media files, not just the ones you've told it to tell you it's monitoring.
    That's right With windows XP not only do you not have to open the folder you just have to finish downloading it -- and then windows goes "oh look a new file! let's see what we can monitor about it! *HD grinds as XP reads metadata*"
    if you want to disable the service that does this go to http://blkviper.com/ he lists all the XP services and what they do.

  123. True Audiophile cables! by Theaetetus · · Score: 4, Funny
    Hence why audiophiles hate modern sound systems - it is far too easy to get great sound reproduction nowadays, and how are you to demonstrate how large you are when a $19 CD player sounds as good as your $3000 turntable?

    That is why audiophiles use "oxygen-free copper wires with authentic virgin yak wool insulation, cryogenicly treated to release signal-distorting sub-micron strain! A steal at $300/ft! Act now, and we will throw in our patented Feng Shui turntable stones - five of these will disgronificate your turntable! Normally $150 each, but a steal at $800 for a set!"

    Bah, $300/ft? Are you kidding?
    From Purist Audio Design:
    -------
    Dominus Speaker Cables (1.5 Meter)

    Stereo pair of Speaker cables with fluid jacket. For more information on product, see the Product Page. Item weight per pair is 14.0 lbs.
    Price each: $10,460.00
    -------
    So, that's about $2500/ft.

    Bwhaahaahahahaha!! /me wipes eyes.

    And for the record, I am not an "audiophile". I'm an audio and broadcasting engineer.

    -T

    1. Re:True Audiophile cables! by wowbagger · · Score: 1
      And for the record, I am not an "audiophile". I'm an audio and broadcasting engineer.


      Obviously - were you an audiophile you would either have

      a) Asked me what catalog I was quoting
      b) "Whipped it out" by telling me you OWNED a set of Dominus Speaker Cables, thus "proving" your superior size.
      c) Modded me -1, Troll

      Besides:

      And for the record, I am not an "audiophile". I'm an audio and broadcasting engineer.


      No pun intended, I'm sure.... NOT!
    2. Re:True Audiophile cables! by Anonymous Coward · · Score: 0

      From the page of the product you are so casually slandering
      "Dominus is the ultimate cable in Purist Audio Design's Advanced Metallurgical Alloy Series. This uncompromising cable, developed through fifteen years of intensive research, offers a revelation in musical reproduction. Much the way a life-long driver of family sedans feels after slipping behind the wheel of a Ferrari, the audiophile enters a whole new realm of audio experience. The motion of the music becomes nearly overwhelming as listener and sound become one."

      Oh! I just came in my pants.

  124. So... by Guppy06 · · Score: 2
    "WinAmp versions 2.81 and 3.0 are vulnerable to buffer overflows via certain long ID3v2 tags when MP3 files are loaded."

    ... the 2.80 that came with Netscape 7 is safe? HAH HAH! :)

  125. Really? Which tools do they use? by alispguru · · Score: 2

    I guess it also depends on the meaning of the word "use". If by "use" you mean "they pass code through it, then pass their eyes over the report", that's not particularly useful. "Use" should mean "they pass code through it, and code with warnings of severity level X or worse does not ship".

    It's the same craftsmanly drive that keeps you from shipping code that generates compiler warnings. Oh dear -- I suspect you're now going to tell me they ship code that compiles with compiler warnings. Yecch...

    --

    To a Lisp hacker, XML is S-expressions in drag.
  126. Focus, Pace, and Bugs. by _Sprocket_ · · Score: 2


    Last, I have trouble understanding how so many of these bugs come from a company with many of the brightest programmers. Is it a largely problem of scale and bureaucracy?


    There are two interesting points to touch on.

    First is that awareness of security issues is not automatic. I used to believe infosec issues were just a part of being a good system admin. Then I found myself working for a very forward-thinking IT company. And also found my group (corporate infosec) in constant struggle with the internal IT group over various issues - even basic infosec procedures. Its not that the IT group didn't have good admins - many were far better sysadmins than I ever was. Its that being familiar with a system does not mean one understands how to maliciously fail a system... or appreciate that people will seek to do just that. Infosec involves a healthy dose of paranoia. Not everyone has that.

    Secondly, Microsoft is simply not geared to handle infosec issues. Microsoft is not run by developers and code quality is, at best, a minor focus point.

    There was an article in Slate a few years back from an inside developer involved with Outlook (or Office - I forget which). One of the interesting tidbits of insight was that bugfix cycles always take a back seat to feature additions. The article noted that it wasn't too uncommon to be in the middle of a bughunt and have Marketing come down with a must-have feature to be added in. Bughunting would stop. Feature would be added. And now there was even less time to an already time-crunched bughunt cycle (and possibly new bugs generated by the new feature code).

    There is also another intersting insider article that talks, amoung other things, the pace that Microsoft keeps. Its a fast pace, to say the least.

    Is it any suprise that, under the pressure of this ultra-fast pace... one being driven by marketing, not development... that bugs make it to the final release? That there may be a fairly high number of bugs? And that these bugs may be exploited in a security context?
  127. Re:Effects more then you realize (ID3v1 vs. ID3v2) by kesuki · · Score: 2

    Which is what makes this exploit so important. A malicious virus could easily connect to gnutella or kazza and start replying to mp3 queries and claim 'oh i have that mp3' and only accept downloads for the 'start' of the mp3, and give them a bogus id3v2 tag, complete with self-propigating code. It then cuts off the user so they have to finish thier DL elsewhere, and they end up with a valid mp3 with an invalid id3v2 tag that auto-infects and self replicates.

    Good thing there are patches out there... so we don't have to have a repeat situation like code-red of the various outlook virus. Doh, there were patches for almost all of those virus when they propigated too!

  128. old news or winamp site not updated? by Narcocide · · Score: 2

    winamps site still says the current version of winamp3 was posted in august. is that the fixed version this post is referring to or am i missing something?

    1. Re:old news or winamp site not updated? by ColeNielsen · · Score: 1

      In the top right corner of the winamp site, click the folded corner... it'll take you to the old WINAMP site with the older downloads -

  129. When will you learn.. by Anonymous Coward · · Score: 0

    ..that this thing is not called WinAmp but Winamp?! It's even in the Winamp FAQs!

  130. Checked; no update by myowntrueself · · Score: 2

    I just uninstalled my old winamp 2.81
    after checking the version history,
    and d/l'd the one on the winamp site,
    installed it and checked its version history.

    There really is no difference; its not 2.81c or anything; its identical.

    Their site contains no references to this bug (that I could find).

    --
    In the free world the media isn't government run; the government is media run.
  131. Re:IN SOVIET RUSSIA by soulhuntre · · Score: 1

    ..."Britney Spears listens to YOU!!!"

    Now THAT, that I could work with :)

    --
    --> Fight tyranny and repression.... read /. at -1!
  132. A comment by hal9000 · · Score: 1

    Explorer automatically reads file attributes regardless of whether or not the user actually highlights, clicks on, reads, or opens the file.

    Which isn't a bad thing in itself. AFAIK, Nautilus does this too (the first bit of text files is displayed in their icons), and I actually think it's a nice feature.

    The real problem of course is that a maliciously formed file can compromize the entire system. Nautilus couldn't do that if it tried.

    --
    Look out honey, 'cause I'm using technology; Ain't got time to make no apology
  133. Re:Why would XP process data *in* files on file-co by rutledjw · · Score: 2
    What are you talking about? Windows may need to read file info when the file is SELECTED, NOT when the directory is opened.

    Further, you know an AWFUL lot re: windows for someone "Running Linux since '96", and then you BLAST people who criticize Windows, and you reply primarily insults and technical points of dubious validity, and...

    WAIT A MINUTE! You're a - a - a Troll in penguin's clothing!. Nice touch though, I especially like the sig...

    --

    Computer Science is Applied Philosophy
  134. Re:Pathetic indeed by hawkfan · · Score: 1
    This will overflow if str isn't null terminated. Say after a
    strncpy(str, biggerstr, sizeof(str));

    You cause n+1 iterations through the entire string.
    Assuming str isn't dynamically allocated:
    for ( int i = 0 ; i < sizeof(str) && str[i] ; ++i) ...

    If it is dynamically allocated, you know how big it is. If it's passed in via pointer, require a length argument. Then i < len rather than strlen(str) every time through the loop.
  135. Agent in Winamp 2.81 by Anonymous Coward · · Score: 0

    The "original" and "fixed" versions of Winamp 2.81 have the same name and are the same file size, but did anyone notice that Agent has been removed?

  136. You have VersionTracker to thank for this by Anonymous Coward · · Score: 0

    If they bump the version number, 50 zillion retards will immediately be alerted to the update and download it, overloading WinAmp's web site.

    I'm a shareware author. I hate VersionTracker.

  137. Curious... by ColeNielsen · · Score: 2, Interesting

    I've been a winamp user since windows 95 -> I've been a Micro$oft user since DOS -> I still use winamp because it's small, takes up nearly no memory and doesn't tax my processor with the right settings. It doesn't surprise me that this [vulnerability] was discovered, I knew that I could download an mp3 and it could harm my computer back in the day so I guess that someone finally decided to announce that they were unsafe??

    If the name Micro$oft appears on a product, it's guaranteed unsafe... if you are running a product on a Micro$oft product, it's guaranteed unsafe.

    I know Linux isn't perfect[to some it is], I know MAC OS isn't[to some it is], I know Windows isn't perfect[If anyone thinks it is, get informed then talk to me] Each have their own good and bad points but one of these takes the bad points from the other two, multiplies them by 10 and puts a price tag on it that is insane compared to the other two... GUESS WHO?

  138. Informative?? by Theaetetus · · Score: 2
    Should be +1 Funny... Or maybe +1 Ironic.

    Informative implies that I think that people should go out and buy these cables.

    -T

  139. Re:Mr. grammar guy by Anonymous Coward · · Score: 0

    The proper plural is BEEEEOTCHIDAE, if you're talking about several categories of BEEEEOTCHES.

    People who write "virii" need to be killed.

  140. OK help me out here by Uncle+Gropey · · Score: 1

    So if someone had one of these malicious sound files, would the extra long ID info appear in the window of Winamp or Media Player when the file is played?

  141. Re:Why would XP process data *in* files on file-co by Seehund · · Score: 2

    What I really wanna know is why the fuck Explorer is "automatically reading" an MP3 or WMA when it's not playing it?

    Rest your mousepointer over an .mp3 or .wma in an Exploder window. Up pops the ID tag info.

    What I wanna know is if/how this "feature" can be disabled. It's horribly annoying when you accidentally leave your mouse pointer for too long (one second or so) over a huge .zip backup archive. The machine locks up while listing the contents to display a summary. If the .zip is on a slow network share, you're fscked.

    Hey, this buffer overflow vulnerability could theoretically be exploited in just about every type of file that Windows recognises and has a "preview" action for, right?! Scary.

    --
    Help savingAmigaOS and a free PowerPC market
  142. MP3 virus by Danta · · Score: 1

    Does anyone remember the MP3 virus hoax a few years ago? I was surprised how many people fell for that one. Looks like this one is no joke though.

  143. New URL by Compact+Dick · · Score: 3, Informative


    Foobar2000 has a new homepage. Version 0.3 has also been released.

    For those wondering what to expect, foobar2000 has a minimalist interface, but it does the job. CPU usage is very frugal and your MP3s can sound noticeably better. Why? Because clipping prevention is built-in, removing any distortion induced by overly loud signals.

    I am currently running 0.3, and it's a beautiful piece of work. If you want a multi-format player that runs unobtrusively in the background while you do your other stuff, then foobar2000 is for you. At 168 KB, it's worth trying out.

  144. Re:Effects more then you realize (ID3v1 vs. ID3v2) by Anonymous Coward · · Score: 0

    I don't know why they had to go so crazy with V2 tags I mean the limit on v1 was 128 bytes, on V2 it is freaking 256mb, I would be just fine with the basic artist/title/album/tracks/comment/year/genre, V2 can have over like 30 differrent things including pictures. I mean is their a program out their that actually reads that all in?

  145. You are a smart man! by toupsie · · Score: 2
    I just gained 600MB of my hard drive back.

    So, what you are saying, is that by coverting from MP3 to Ogg saved your 600MB of space on your hard drive. With 7200rpm, 80 gig IDE drives costing around $100, you just saved yourself 50 cents! Equiv to the cost of one CD from Staples in the generic 50 CD spindle.

    Rock On!

    --
    Strange women lying in ponds distributing swords is no basis for a system of government.
  146. Re:How does a buffer overflow allow code execution by master_p · · Score: 1

    And why should a compiler place code in the stack ?

  147. Re:How does a buffer overflow allow code execution by pclminion · · Score: 2
    You could have done a Google search...

    GCC Trampolines

  148. Re:How does a buffer overflow allow code execution by master_p · · Score: 1

    I know. It was a rhetorical question. My purpose was to make you think why trampolines are needed.
    In my opinion, every piece of code that resides in data areas should be eliminated. There is no gain from using 'trampolines' or whatever!!!

  149. Re:Nullsoft: What's this thing called versionnumbe by Dave2+Wickham · · Score: 1

    You used Linux utils to analyse a Windows program? You have too much time ;).
    (I know, it's on a share for Windows boxes...)

  150. Inefficient code by r6144 · · Score: 1
    You really should cache the value of strlen(str) before entering the loop. Otherwise, in order to move the strlen() out of the loop, the compiler has to be sure that toupper() never returns zero for a non-zero input (otherwise strlen(str) may change during the loop). It is hard to write a compiler THAT clever...

    I think C is a clean language when the programmer know how to program cleanly --- but so many C language teachers and books encourage poor programming styles, like making a 256-byte string buffer here and there.

    I hope new systems will have functions like asprintf() or getline() or xstrdup() easily accessible (so you won't need to write one yourself even for a small program), and teachers will encourage use of such functions (and tell the students how to write one in case the system don't have it), and make them understand what they are doing before strcat()'ing, strlen()'ing, strncpy()'ing, or allocating a 256-byte string buffer.

  151. strdup by r6144 · · Score: 1
    In many case you just need to make a copy of the original string, so strdup() will be a good thing. And it is quite ubiquitous.

    (Of course xstrdup() with out-of-memory protection should be better).

    BTW, has there been any exploits that rely on the program not checking the return value of malloc()'alikes? This seems to be the thing that everyone cares, but missing the check is not usually as harmful on modern systems --- it is mostly a cleanness and user-friendliness issue now.

  152. Last Post! by alpg · · Score: 1

    This is an especially good time for you vacationers who plan to fly, because
    the Reagan administration, as part of the same policy under which it
    recently sold Yellowstone National Park to Wayne Newton, has "deregulated"
    the airline industry. What this means for you, the consumer, is that the
    airlines are no longer required to follow any rules whatsoever. They can
    show snuff movies. They can charge for oxygen. They can hire pilots right
    out of Vending Machine Refill Person School. They can conserve fuel by
    ejecting husky passengers over water. They can ram competing planes in
    mid-air. These innovations have resulted in tremendous cost savings which
    have been passed along to you, the consumer, in the form of flights with
    amazingly low fares, such as $29. Of course, certain restrictions do apply,
    the main one being that all these flights take you to Newark, and you must
    pay thousands of dollars if you want to fly back out.
    -- Dave Barry, "Iowa -- Land of Secure Vacations"

    - this post brought to you by the Automated Last Post Generator...