[Exim] Fwd: Serious Microsoft File Association Bug

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Exim Users
Subject: [Exim] Fwd: Serious Microsoft File Association Bug
The system_filter tricky-regexp-based content-type filtering turns out
to be useless, thanks to Microsoft. :^(

Pick a random unused extension. ".FOO" perhaps. Rename MS Office
document "wibble.doc" to "wibble.foo". Email it. Association mechanism
doesn't have a mapping, but looks and sees that it's an MS Office
document so starts Office anyway, and gives it the document.

And who says that MS haven't abused their monopoly position to leverage
preferential application support into their OS? To the distinct
detriment of their customers.

(Date: header is not when BugTraq moderation approved it - I received
this yesterday evening)
----- Forwarded message from jandrews@??? -----

From: jandrews@???
Subject:      Serious Microsoft File Association Bug
To: BUGTRAQ@???
Date:         Tue, 31 Aug 0100 09:03:43 -0500
Message-ID:  <200008311403.JAA14798@???>
Reply-To: joandrews@???
Approved-By: aleph1@???


Background:

While working on a virus issue that we have come across, we have discovered a serious issue with Microsoft's association of file types. Normally, when you open a file of an unknown type, it will prompt you for an application to use to open the file. This does not prove true for Microsoft Office documents. If you rename an Office document to an unknown extension, Windows will still use the Office application to open the file. It seems that Windows uses the header information contained in a file to determine if it is an Office document before offering a list of applications.


Potential Risk:

Someone with malicious intent could create a macro virus embedded in an Office document, then rename the file with a .VIR extension. Since most anti-virus software have an exclusion of .VI* this file would never be scanned by Norton. If a user opens the file, Windows will detect that this .VIR file has MS Office header information and open it in the cooresponding application. Given the correct circumstances, this would infect the machine and replicate to other users.


Systems Affected:

These scenarios have been tested on the following systems:
    Windows NT 4 SP5 running Office 97
    Windows 2000 running Office 2000
    Windows 2000 SP1 running Office 2000
    Windows 98 SE running Office 97


I have not tested all variations, but you can draw your own conclusions as to the extent of the problem.


Potential Solutions:

In the case of virus defense, make sure that your anti-virus software does NOT include .VI* in its exclusion list. This is a short-term solution until a fix can be created.



Jonathan Andrews, CISSP
Network Security Group
Deloitte & Touche
joandrews@???



**Please Note***
The opinions expressed above are my own and have no relation
to those of Deloitte & Touche. No warranties, expressed or implied,
are given about the solutions provided.

----- End forwarded message -----

--
"We've got a patent on the conquering of a country through the use of force.
We believe in world peace through extortionate license fees." -Bluemeat