Serious Windows vulnerability (and a fix)
#1
Original Poster

Join Date: Nov 2001
Location: Canada (formerly New Zealand)
Posts: 401
Serious Windows vulnerability (and a fix)
This has been getting a bit of attention lately on the Interweb. It's a serious flaw in the way WMF (metafiles) from websites are handled (from images, as I understand it). There are apparently already 50 known exploits in the wild, and the number is sure to grow.
Link to the Microsoft Security Advisory on this issue
http://www.microsoft.com/technet/sec...ry/912840.mspx
The "suggested actions" from MS may not be enough, however. A recent (i.e., 1 January) special episode of the Security Now podcast (with Steve Gibson and Leo Laporte) (download here http://aolradio.podcast.aol.com/sn/SN-020SE.mp3) points to a fix offered here: http://www.hexblog.com/
I've installed and seems to be fine (i.e., no system instability).
Link to the Microsoft Security Advisory on this issue
http://www.microsoft.com/technet/sec...ry/912840.mspx
The "suggested actions" from MS may not be enough, however. A recent (i.e., 1 January) special episode of the Security Now podcast (with Steve Gibson and Leo Laporte) (download here http://aolradio.podcast.aol.com/sn/SN-020SE.mp3) points to a fix offered here: http://www.hexblog.com/
I've installed and seems to be fine (i.e., no system instability).
#3
Join Date: Sep 2005
Location: LAX
Programs: UA 2P, SPG Gold
Posts: 157
This is exactly why I use Firefox and Thunderbird instead of Internet Explorer and Outlook.
Take a look at this article from Popular Science
Take a look at this article from Popular Science
#4
Join Date: May 2004
Location: Exclusively OMNI/PR, for Reasons
Posts: 4,186
Originally Posted by mrmakochan
This is exactly why I use Firefox and Thunderbird instead of Internet Explorer and Outlook.
Take a look at this article from Popular Science
Take a look at this article from Popular Science
#5
FlyerTalk Evangelist


Join Date: Jan 2004
Location: Worldwide
Posts: 12,952
Originally Posted by PorkRind
Good for you. But this particular vulnerability is browser-independent, so Firefox won't do you any good in this case.
#6
Join Date: May 2004
Location: Exclusively OMNI/PR, for Reasons
Posts: 4,186
Originally Posted by KVS
FireFox/Mozilla/Netscape do not support WMF-format images in the 1st place (nor there is any need for any browser to support them), so they would not be affected by the vulnerability in question.
#7
FlyerTalk Evangelist


Join Date: Jan 2004
Location: Worldwide
Posts: 12,952
Originally Posted by PorkRind
Um, your system will be affected if you decide to actually OPEN them, regardless of the browser you use to fetch them, or email client through which you receive them.
#8
Join Date: May 2004
Location: Exclusively OMNI/PR, for Reasons
Posts: 4,186
Originally Posted by KVS
Actually, no. If you carefully [re-]read the Microsoft's bulletin for this issue (using the link above), you will see that you don't actually have to open the WMF file -- all you have to do is use MSIE to visit a web page (HTML) that contains an embedded WMF image. If you use any other browser to visit the same page, nothing is gonna happen, because those browsers do not support WMF images.
And if you receive an infected WMF file as an attachment to an email and elect to open it, regardless of email client, you may also become infected.
The issue is with a DLL that is used by multiple applications. MSIE uses it to render WMF files used in IMG links transparently to the end-user. However, it's very easy to open these files regardless; until this security bulletin was created, most people assumed that WMF files were probably benign.
The use of alternative browsers and email clients often lures the end-user into a false sense of security. I'm simply pointing out that they're not cure-alls . . . you can still easily get into trouble.
#9
FlyerTalk Evangelist


Join Date: Jan 2004
Location: Worldwide
Posts: 12,952
Originally Posted by PorkRind
And if you receive an infected WMF file as an attachment to an email and elect to open it, regardless of email client, you may also become infected.
Once again, this vulnerability only affects the "Graphics Rendering Engine in Microsoft Windows", which is used by the MSIE browser, and which is not used by Firefox/Mozilla/Netscape. The fact that other Microsoft applications (like the Windows Picture and Fax Viewer, which also uses the problematic DLL) are also affected is not really relevant.
#10
FlyerTalk Evangelist




Join Date: Sep 2000
Programs: BA, AA, DL, KLM, UA
Posts: 37,489
Originally Posted by KVS
There is a huge difference between merely visiting a website, and downloading and then opening/executing a file.
Once again, this vulnerability only affects the "Graphics Rendering Engine in Microsoft Windows", which is used by the MSIE browser, and which is not used by Firefox/Mozilla/Netscape. The fact that other Microsoft applications (like the Windows Picture and Fax Viewer, which also uses the problematic DLL) are also affected is not really relevant.
Once again, this vulnerability only affects the "Graphics Rendering Engine in Microsoft Windows", which is used by the MSIE browser, and which is not used by Firefox/Mozilla/Netscape. The fact that other Microsoft applications (like the Windows Picture and Fax Viewer, which also uses the problematic DLL) are also affected is not really relevant.
Firefox is perfectly safe, the problem with IE is that it renders them through the vulnerable engine without any user interaction.
#11
Join Date: May 2004
Location: Exclusively OMNI/PR, for Reasons
Posts: 4,186
Originally Posted by ScottC
I agree, that is like saying that Firefox is vulnerable to all kinds of trojans IF YOU RIGHT CLICK AND OPEN THEM...
Firefox is perfectly safe, the problem with IE is that it renders them through the vulnerable engine without any user interaction.
It's also worth noting that there is at least one popular extension for Firefox that will display the current page in MSIE. It's primarily used in cases where the page is not HTML-compliant. If a page containing a trojan WMF is rendered incorrectly in Firefox and the user elects to view it in MSIE, boom, he's infected.
I use Firefox almost exclusively, and my email client is Thunderbird. But I'm not under any illusions regarding my computer's safety and security on the internet, and I'm of the opinion that brushing off the WMF issue as MSIE-specific is a mistake. Any application that displays a WMF file via Shimgvw.dll (Windows Picture and Fax Viewer) could trigger infection.
Last edited by Dodge DeBoulet; Jan 3, 2006 at 12:52 pm
#12
Join Date: Apr 2005
Location: PHX
Posts: 3,794
It's possible that the WMFs will end up in Firefox's cache regardless. In that case, indexing programs (like Google Desktop) will open the file to get metadata from it, and trigger it.
The bug is not actually in Shimgvw.dll, but unregistering that will stop the automatic rendering of WMFs in most cases. The actual bug is in the design of the WMF format. There's a GDI function that's intended to be called only by an interactive program to provide an abort to a print operation. This can be included in a metafile, and will induce Windows to call code embeded in the metafile. Disabling this will require a fix to GDI32.DLL.
The bug is not actually in Shimgvw.dll, but unregistering that will stop the automatic rendering of WMFs in most cases. The actual bug is in the design of the WMF format. There's a GDI function that's intended to be called only by an interactive program to provide an abort to a print operation. This can be included in a metafile, and will induce Windows to call code embeded in the metafile. Disabling this will require a fix to GDI32.DLL.
Last edited by alanh; Jan 3, 2006 at 3:28 pm
#13
FlyerTalk Evangelist




Join Date: Sep 2000
Programs: BA, AA, DL, KLM, UA
Posts: 37,489
Originally Posted by alanh
It's possible that the WMFs will end up in Firefox's cache regardless. In that case, indexing programs (like Google Desktop) will open the file to get metadata from it, and trigger it.
#14
Join Date: Apr 2005
Location: PHX
Posts: 3,794
Originally Posted by ScottC
Uh, no.

