[NT] Microsoft Excel Stack Overflow (MS06-012)



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

- - - - - - - - -



Microsoft Excel Stack Overflow (MS06-012)
------------------------------------------------------------------------


SUMMARY

<http://office.microsoft.com/en-us/FX010858001033.aspx> Microsoft Excel
is a popular spreadsheet program of Microsoft Office product.

A buffer overflow vulnerability was discovered in Microsoft Excel. A
malicous ".xls" file might cause Excel to crash or even execute arbitrary
code.

DETAILS

Excel will initialize a stack buffer with 0x0e0e0e0e when it openn a
".xls" file, but Excel uses a user-supplied length which will cause a
stack buffer overflow.

The following code is from excel v9.0.0.8924

text:3003FE0C movzx eax, word ptr [ebx]
text:3003FE0F xor ecx, ecx
text:3003FE11 cmp eax, 0Eh
text:3003FE14 mov [ebp+var_8], ecx
text:3003FE17 jg loc_301C01B5
text:301C01B5 mov byte ptr [ebp+ecx+var_138], cl
text:301C01BC inc ecx
text:301C01BD cmp ecx, 0Eh
text:301C01C0 jle short loc_301C01B5
text:301C01C2 cmp ecx, eax
text:301C01C4 mov [ebp-8], ecx
text:301C01C7 jg loc_3003FFC9
text:301C01CD sub eax, ecx
text:301C01CF lea edi, [ebp+ecx+var_138]
text:301C01D6 inc eax
text:301C01D7 mov edx, eax
text:301C01D9 mov eax, 0E0E0E0Eh
text:301C01DE mov ecx, edx
text:301C01E0 mov esi, ecx
text:301C01E2 shr ecx, 2
text:301C01E5 rep stosd <== buffer overflow

Disclosure Timeline:
* 27.12.05 - Informed the vendor.
* 03.01.06 - The vendor confirmed the vulnerability.
* 14.03.06 - The vendor releases a new version to fix the vulnerability.

Vendor Status:
The vendor has released patch to fix this vulnerability, which is
available for download at:
<http://www.microsoft.com/technet/security/Bulletin/MS06-012.mspx>
http://www.microsoft.com/technet/security/Bulletin/MS06-012.mspx


ADDITIONAL INFORMATION

The information has been provided by <mailto:security@xxxxxxxxxx> XFOCUS
Security Team.
Related article(s) can be found at:
<http://www.securiteam.com/windowsntfocus/5TP0B1FI0C.html>
http://www.securiteam.com/windowsntfocus/5TP0B1FI0C.html
<http://www.microsoft.com/technet/security/Bulletin/MS06-012.mspx>
http://www.microsoft.com/technet/security/Bulletin/MS06-012.mspx



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


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: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


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

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.



Relevant Pages

  • [NEWS] Openfire Jabber-Server Multiple Vulnerabilities
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... filter which is responsible for authentication could be completely ... SQL injection vulnerability. ... Since the vendor didn't release a patch within the last 6 months it is ...
    (Securiteam)
  • [NT] Trend Micro HouseCall ActiveX Control Arbitrary Code Execution
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Trend Micro HouseCall ActiveX Control Arbitrary Code Execution ... The vulnerability is caused due to an implementation error within the ... 18/08/2008 - Vendor notified. ...
    (Securiteam)
  • [NT] CA ARCserve Backup RPC "handle_t" Argument Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... CA ARCserve Backup RPC "handle_t" Argument Vulnerability ... 24/10/2007 - Vendor notified. ... 21/05/2008 - Vendor notifies expected release in October 2008. ...
    (Securiteam)
  • [UNIX] Multiple Vendor ImageMagick Sign Extension Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Multiple Vendor ImageMagick Sign Extension Vulnerability ...
    (Securiteam)
  • [UNIX] Happymall E-Commerce Input Validation Flaw Lets Remote Users Execute Arbitrary Commands
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Revin Aldi reported an input validation vulnerability in the Happymall ... The vendor reports that the 'member_html.cgi' script is also affected. ...
    (Securiteam)