Slashdot Mirror


Two New WMF Bugs Found

Resident Egoist writes "Via PCWorld the news that two new Metafile bugs have been found, just a week after the patching of previous critical WMF issues." From the article: "All three flaws concern the way Windows renders images in the Windows Metafile (WMF) format used by some CAD (computer-aided design) applications, but these latest flaws are far less serious than the vulnerability that Microsoft patched last week, according to security experts. That vulnerability was serious enough to cause Microsoft to take the unusual step of releasing an early patch for the problem, ahead of its monthly security software update."

35 of 127 comments (clear)

  1. Microsoft is up to the challenge. by Anonymous Coward · · Score: 4, Funny

    It's going to be tough on them, but they really hope that windows can surpass the number of vulnerablities in unix/linux.

  2. Non-critical by rodgster · · Score: 3, Informative

    MS: These new WMF bugs are considered non-critical and a patch will be released during the normal patch release schedule (aka Feb 14).

    In other news, Ullrich's quote in TFA was hilarious.

    --
    Who will guard the guards?
  3. Re:It makes you wonder... by Poromenos1 · · Score: 2

    As TFA says, these vulnerabilities just cause things to crash. The other holes in microsoft products are what they used to patch regularly so far, this is no reason to think they're all as secure as a sieve.

    --
    Send email from the afterlife! Write your e-will at Dead Man's Switch.
  4. "Hacker" by mysqlrocks · · Score: 4, Insightful

    ...a hacker has published details of two new flaws that affect the same part of the operating system.

    If you read the post on the security mailing list it sounds like someone trying to get this vulnerability out in the open so it can be fixed. Unless they mean a "white hat" hacker or a hacker in the real sense of the word but I doubt it. This is one of those words that should be used carefully, especially by "journalists".

    1. Re:"Hacker" by Krach42 · · Score: 4, Insightful

      If you read the post on the security mailing list it sounds like someone trying to get this vulnerability out in the open so it can be fixed. Unless they mean a "white hat" hacker or a hacker in the real sense of the word but I doubt it. This is one of those words that should be used carefully, especially by "journalists".

      This is a good point. A "black hat" hacker does not disclose bugs, but rather keeps them quiet or shares them with select friends, and peers.

      A person releasing this information to a security list is either a concerned "citizen", or a security person.

      A citizen posting information to a newspaper editorial about lack of security at the courthouse, for instance "I was at the courthouse, and there was a side door that wasn't being watched at all by anyone!" wouldn't get immediately marked as a terrorist.

      Why should we automatically mark a person disclosing computer-security information to the public as a whole, as a hacker?

      --

      I am unamerican, and proud of it!
    2. Re:"Hacker" by Krach42 · · Score: 2, Funny

      Call me a cinic, but I just can't read that and believe that the decriminized word "hacker" were the intentions of the author. Also, I am highly sceptical that most people reading the text would not immediately assume "black hat" hacker.

      I even read it that way.

      --

      I am unamerican, and proud of it!
  5. Re:It makes you wonder... by mpeg4codec · · Score: 5, Informative

    Typically it's unusual to see ``just a crash.'' Most programmes written in C and C++ crash due to buffer overflows, which frequently lead to running unsigned code. As a general rule, if a C or C++ code crashes, it is a fairly likely possibility to be able to run arbitrary code. Just because nobody's done it yet doesn't mean that it's not possible.

  6. Re:Those Who Ignore History Are d00m3d to Relive I by UnknowingFool · · Score: 3, Insightful

    Unfortunately, these days everyone is accustomed to MS and software in general having bugs. Back when Intel was hit, it wasn't commonly known that sometimes CPUs and hardware do have bugs. People tolerate software bugs because they assume there will be a patch. With hardware, you most likely will need a replacement part.

    --
    Well, there's spam egg sausage and spam, that's not got much spam in it.
  7. All I can say is... by Skiron · · Score: 3, Insightful

    ... what a fucking mess.

  8. Name the Culprits by Nom+du+Keyboard · · Score: 3, Insightful

    Why aren't the programmers that worked on any given buggy module ever named? If you faced public ridicule and loss of reputation for releasing exploitable code you might be more careful about what you certify as ready to ship.

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    1. Re:Name the Culprits by wellybog · · Score: 4, Insightful

      Speaking as a professional software developer, I have a manager for exactly this reason - if we f*ck up (for whatever reason, but usually because deadlines mean testing doesn't happen), the project manager gets the blame.

      In a perfect world software developers unit test their code, and then testers run through a test plan that was written before development began. Unfortunately we don't live in a perfect world - which is why ideas like "extreme programming" came about.

    2. Re:Name the Culprits by blahtree · · Score: 4, Insightful

      You have obviously never worked in professional software development.

      Software is developed by a team. No, not a team of programmers, but a team of people that may include architects, designers, UI designers, programmers, integrators, testers at various levels, management and marketing. This list changes in different environments. Often smaller, but sometimes larger.

      When a bug is found, who is responsible? Is it the programmer? Is it the tester that missed the bug? Is this "bug" actually a feature requested by marketing? Is this bug the result of mis-design? Was this bug either ignored or not found because of insufficient time allotted by management?

      It's easy to point fingers, but how do you decide who to point them at?

  9. The real question is... by chill · · Score: 4, Insightful

    ...if Microsoft had had the extra time and not released the patch until they considered it "fully tested", would they have caught these bugs as well?

    Knowing that the WMF code is now under the microscope, will they divert resources to specifically re-vet that code, or will they sit on their rear ends and wait until another exploit is found for them?

    As a tidbit of information, I have "converted" three of my neighbors to Linux -- at least dual booting, if not whole penguin -- in the last two months. Each time was at their request and for the exact same reason. Their Windows PC regularly gets trashed by spyware, viruses and worms and they've just damn well had enough in having to deal with it all. They want to get their work done, not fight with malware and have to upgrade machines because their old one isn't powerful enough to run their apps AND all the "keep me safe" software.

      -Charles

    --
    Learning HOW to think is more important than learning WHAT to think.
    1. Re:The real question is... by gallwapa · · Score: 2, Interesting

      I may get owned by other /.ers here but, If your windows box gets beaten to crap by spyware, malware, etc, you have to be doing something wrong. I use firefox with noscript and adblock on my home windows machine. I surf the web, but generally not to www.trytohackmywindowsboxhahaha.com - I browse to reputable websites only. That being said, I run a virus scan "every once in awhile" and always pat myself on the back when 0 files are detecetd as viri, spyware, malware, or any of that other crap. The worst they do is tag some of my saved password cookies and say 'minor threat' and I dismiss their for-profit software as a piece-of-trash for saying cookies are some malicious bandwidth reeming whore. Using *nix isnt going to save a user from their own habits - they'll find a way (harder on things like linux yes) to screw it up. But with windows, it starts with step#1 - don't click the blue E

    2. Re:The real question is... by hurfy · · Score: 2, Funny

      "have to upgrade machines because their old one isn't powerful enough to run their apps AND all the "keep me safe" software."

      So did you talk them into upgrading? I find loading up anything good on an old box is a noticable slowdown :(

      Actually have the same problem at office, i cant run the AV/Firewall and actually use our main program at the same time :( The program we need will run on anything but still need windows/IE for a couple programs. However the AV/firewalls i tried absolutely hate the terminal emulator program, they want to check EVERY keystroke whcih tosses speed out the window :/ Too tough to explain why the 2GHZ celeron is slower than the .2GHZ dos box was....

      Upgrading because we cant run the security, yet we can run the needed programs (all quite happy on anything with a pentium) is a tough sell to say the least.

    3. Re:The real question is... by chill · · Score: 2, Insightful

      So did you talk them into upgrading? I find loading up anything good on an old box is a noticable slowdown :(

      I almost always convinced them to install more RAM. Many of the machines were an anemic 128 Mb of RAM. Boosting them to 512 Mb made a big difference, Windows or Linux.

      Beyond that, only one person had an old, old machine (350 MHz P-2, 128 Mb RAM Dell Optiplex GX-1) and Slackware 10.2 runs fine on that. It runs absolutely great after I had them upgrade the RAM to 512 Mb. They use it for e-mail, web surfing and IM.

      I can't justify telling someone who mostly runs Word, Excel, AIM, Outlook Express and IE (now Firefox) to buy a faster computer. For what a lot of them do, a 750 MHz P3 is blazing.

        -Charles

      --
      Learning HOW to think is more important than learning WHAT to think.
  10. Re:but wait did the MS apologist not say by RingDev · · Score: 4, Insightful

    "8 days should have been enough time for MS to completly check the code involved and use every attack possible."

    Yes becuase breaking hundreds of people off their regular duties, tracking down 10 year old code written by someone who either doesn't remember writing it or no longer works there, correcting the code in a way that prevents the exploit, but doesn't impact functionality, testing the correction on all supported versions of windows, numerous hardware configurations, and against dozens of 3rd party software packages that use the library, then documenting the problem, the change, and the disimination of the change, then getting the whole thing wrapped up into a nice neat deployment package, is easy.

    Yeah, I can see how 8 days is slacking.

    Try reading this article: http://blogs.msdn.com/ericlippert/archive/2003/10/ 28/53298.aspx "How many MS Employees to change a light bulb?"

    -Rick

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  11. Re:but wait did the MS apologist not say by edwdig · · Score: 5, Insightful

    8 days should have been enough time for MS to completly check the code involved and use every attack possible. The fact that MS obviously hasn't bothered shows they still don't understand security. OF course hackers are going to try to find new exploits in WMF code since they know MS and that if there is one bug there must be others.

    Most of the 8 days wasn't spent checking that the exploit was fixed. I'm sure that part went fairly quickly. The real issue is that although WMF files are fairly rare, the WMF format is used extensively inside Windows. The feature in question is only a security issue when found in arbitrary WMF files, but serves a legit purposes when used inside of applications. The 3rd party fix floating around broke some printer drivers and probably other software, whereas Microsoft's fix resulted in less (if any) broken software. The bulk of the time was spent testing the fix for unexpected consequences.

  12. Re:It makes you wonder... by Anonymous Coward · · Score: 3, Informative

    The bugs demonstrated here are not buffer overflows. They are the other kind of common C/C++ bug, namely an invalid (in this case NULL) pointer dereference. Null pointer dereferencing bugs are rarely exploitable.

  13. Microsoft Security Resource Center (MSRC) Blog by this+great+guy · · Score: 4, Informative
  14. M$ not working hard enough on bugs.... by cralewyth · · Score: 2, Funny

    Wouldn't this make 6 bugs on *nix - two for each of cedega, wine & crossover?

    ... Microsoft will never catch up.

    --
    "Women are just like ninjas; They lie even when it is more convenient to tell the truth." ~ Unknown
  15. I am sorry to report . . . by Yeechang+Lee · · Score: 2, Funny

    . . . that any Windows PC used to read this Slashdot story is now infected with a worm that exploits these WMF security holes.

    Darn banner ads!

  16. Uhh, WMF is used by more than just CAD programs... by Caspian · · Score: 4, Informative

    This quote is severely misleading, to the point where it makes me wonder if they are trying to purposely understate the scope of the problem.

    MS Office reads WMF files. Some of the clip art available from office.microsoft.com comes in WMF format. I don't use ANY CAD programs at all, and I have dozens of WMF files on my Windows machine's hard drive (I just checked. It's Word clip art.)

    It seems like they're simply trying to get people to say "Well, ah don't know what that CAD thang is, so ah guess it dun' affect me none."
    --
    With spending like this, exactly what are "conservatives" conserving?
  17. Re:but wait did the MS apologist not say by tb3 · · Score: 2, Interesting
    That's all well and good, but they seem to be skipping steps 6 and 7:
    • At least one dev, tester and PM to brainstorm security vulnerabilities.
    • One PM to add the security model to the specification.


    But maybe if they had been doing those in the first place they wouldn't be patching it now.
    --

    www.lucernesys.comHorizon: Calendar-based personal finance

  18. Too little too late? by xPsi · · Score: 3, Interesting
    That vulnerability was serious enough to cause Microsoft to take the unusual step of releasing an early patch for the problem, ahead of its monthly security software update.

    But still released many days after independent programmers (e.g. Ilfak Guilfanov) managed to build a fix. At work (a national lab), we were explicitly instructed not to wait for the early windows patch.

    --
    i\hbar\dot{\psi}=\hat{H}\psi
  19. Re:It makes you wonder... by myrdred · · Score: 5, Informative

    It really depends on the type of crash, and I'm not it's safe to jump to your conclusion so eagerly. In fact, many crashes in C programs CANNOT lead to execution of arbirtrary code, such as division by zero errors and trying to access memory with a NULL pointer.

  20. All right, thinking even more about this... by fnj · · Score: 2, Interesting

    As much fun as it is to lambast Microsoft for this kind of thing, the types of exploit that have been "exposed" recently are very difficult to predict in advance

    Oh, do you really believe that it is difficult to predict that failure to check for null pointers in C code might lead to serious problems? Criticizing coding and QC practices that don't measure up to professional standards is hardly facile or unworthy. It's sort of like criticizing rampant fraud, waste, and abuse in our government. Never excuse the inexcusable.

  21. Re:but wait did the MS apologist not say by ichimunki · · Score: 2, Informative
    Yes becuase breaking hundreds of people off their regular duties

    Actually, given MS' scope and resources I fully expect them to have a staff whose regular duties consist solely of fixing these types of problems.

    --
    I do not have a signature
  22. Bug Fix Issues by HopeOS · · Score: 2, Interesting

    One of our developers applied the Microsoft fix (along with ten others) this morning. He can no longer debug multi-threaded code in MSDev version 6.0. Stopping on a break point in any thread other than the main thread locks the GUI for all processes. At this point, we are testing if this is isolated to MSDev version 6 or all debuggers. We also do not know which of the ten or so patches was responsible. I would be interested to know if anyone else encounters this. At this point, our developer will be reinstalling his machine on Tuesday.

    -Hope

  23. Re:but wait did the MS apologist not say by raddan · · Score: 2, Informative
    So Microsoft doesn't have programmers that work full-time as code auditors? It's not like they don't have the resources. I know that reading someone else's code can be difficult, but if you're documenting your code and modularizing it properly, which Microsoft should be doing anyway, it shouldn't be like pulling teeth.

    What it really boils down to is that Microsoft isn't in the business of writing quality code. Their goal is to pump out code that is good enough to maximize profits. This is why Free Software is important.

  24. Compatibility vs. security by Max+Nugget · · Score: 4, Informative

    Part of the problem is that MS is reluctant to phase out obsolete technologies.

    Take WMF files for example. Obviously nobody making new software today, would incorporate WMF technology. It's obsolete and unpopular. The only people who use WMF tech today are those who are using software that was designed to make use of that format. And therein lies the problem. At some point in time, software programs were created that used WMF technology. MS could come out and say "WMF is obsolete, and rather than take the risk of continuing to include a software component that may compromise security, we're going to completely remove support for it in future versions of Windows, since barely anybody uses it anyway." If MS were to say that with enough legacy technologies, people would get mad at them. If you're using or writing software for some new technology, you AT LEAST want to take solace in knowing that, even if it's unpopular and discontinued, it will at least remain USABLE on future systems.

    So I can sort of understand MS's pickle from that point of view. It's sort of like users complaining that some security hole in Windows 3.1 has, in 2005, still not been patched. And on the other hand, a whole wave of users would potentially be up in arms if MS decided to, in the name of security, remove support for running old 16-bit Windows 3.1 programs in Windows XP.

    And incidentally, I have a box of clip art CDs in WMF format.

    The same people on this forum who would criticize MS for not patching AND not removing WMF support, probably wish that Windows XP had better support for the old early-mid 90's DOS games. And yet it might be a completely impractical task (not to mention an expensive one given the limited appeal of the feature) to eliminate all of the security risks posed by support for DOS (and, don't forget, back in the DOS era, a virus was more likely to format your hard drive than email your address book).

    Windows may be a feature-driven, compatibility-over-security operating system, but just because we all want security, let's not pretend we don't like features and compatibility.

  25. Actually... by Svartalf · · Score: 2, Informative

    WMF is wired into the GDI- it's a GDI playback script is what it really is. This means that printers use it to do the WYSIWYG printing work unless you're using Postscript printing or force the GDI to print to a RAW spool (in which the printer driver renders the print job to the spool as printer commands- which is MUCH more inefficient...).

    Just because you don't think you're using it, doesn't mean Microsoft's not using it for you.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  26. Re:Uhh, WMF is used by more than just CAD programs by TubeSteak · · Score: 2, Insightful
    Crashing. Whoop-dee-doo. Annoying, sure. Hardly a security issue. (And no, the crash hasn't been shown to allow executed code, either.)
    Isn't that what they said many many months ago about the previous wmf exploit?
    --
    [Fuck Beta]
    o0t!
  27. Re:but wait did the MS apologist not say by CrossChris · · Score: 3, Informative

    > Yes becuase breaking hundreds of people off their regular duties, tracking down 10 year old code written by someone who either doesn't remember writing it or no longer works there, correcting the code in a way that prevents the exploit, but doesn't impact functionality, testing the correction on all supported versions of windows, numerous hardware configurations, and against dozens of 3rd party software packages that use the library, then documenting the problem, the change, and the disimination of the change, then getting the whole thing wrapped up into a nice neat deployment package, is easy.

    You've ENTIRELY missed the real point. Every time Bill Gates releases his "latest and greatest" product, we're told that it's a "completely rewritten, new code base". This is now shown to be complete nonsense - there is legacy code in Windows going back almost 20 years. There is obviously no proper CVS or code auditing system in place at Microsoft, which shows an astonishing ineptitude.

    Microsoft do not deserve any more of our money!