[NT] Vulnerability in Microsoft Excel Remote Code Execution Technical Details (MS04-033)

SecuriTeam <[email protected]>
Newsgroups gmane.comp.security.securiteam
Message-ID <[email protected]>
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Vulnerability in Microsoft Excel Remote Code Execution Technical Details 
(MS04-033)
------------------------------------------------------------------------


SUMMARY

As previously reported, Microsoft Excel suffers from a buffer overflow 
vulnerability, allowing a malicious attacker to run arbitrary machine code 
on the target's host. For more information see:  
<http://www.securiteam.com/windowsntfocus/6T00D0UBFK.html> Vulnerability 
in Microsoft Excel Allows Remote Code Execution (MS04-033). Presented here 
are the technical details and exploit method for the Microsoft Excel 
vulnerability..

DETAILS

When thinking about buffer overflow vulnerabilities, a file can sometimes 
be as harmful as a packet. Even though past security issues have taught us 
that it is unwise to use an unvalidated value from a file/packet as a text 
length parameter, that is what happened here.

When testing the SA-FileFoxyFuxoryFinder program, we quickly identified 
the existence of a SBDA in Microsoft Excel. SBDA (Same Bug, Different 
App).

Microsoft Excel will read a value from an excel file and use this as the 
length parameter when copying a string. By setting this to a large value, 
it is possible to cause a stack overflow leading to the control of EIP and 
other important registers.
Attempted exploitation will result in an event log entry similar to:
  Application popup:
EXCEL.EXE - Application Error : The exception Privileged instruction.
(0xc0000096) occurred in the application at location 0x########.

Exploitation:
Remote exploitation through Internet Explorer can be obtained through the 
use of an iframe or other similar object to open a file from a public UNC 
share or through a 'coupled' browser exploit that saves the file to a 
known location before opening it. Internet Explorer will automatically 
open the corrupt excel spreadsheet, leading to exploitation.

There may of course also be other ways of having a corrupt file loaded 
without requiring a user to download and open it, although a excel 
spreadsheet may be easily accepted by a user anyway.

Vendor Status:
Patch to fix this vulnerability can be found at:  
<http://www.microsoft.com/technet/security/bulletin/MS04-033.mspx> 
http://www.microsoft.com/technet/security/bulletin/MS04-033.mspx


ADDITIONAL INFORMATION

The information has been provided by  
<mailto:[email protected]> Brett Moore.



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected] 
In order to subscribe to the mailing list, simply forward this email to: [email protected] 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any kind. 
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.