Microsoft Excel Malformed Range Memory Corruption Vulnerability
BID:15780
Info
Microsoft Excel Malformed Range Memory Corruption Vulnerability
| Bugtraq ID: | 15780 |
| Class: | Input Validation Error |
| CVE: |
CVE-2005-4131 |
| Remote: | Yes |
| Local: | Yes |
| Published: | Dec 08 2005 12:00AM |
| Updated: | Apr 06 2006 08:18PM |
| Credit: | Discovery is credited to 'fearwall'. Microsoft also credits FelicioX and Peter Winter-Smith for the discovery of this vulnerability. |
| Vulnerable: |
Nortel Networks Optivity Telephony Manager (OTM) Nortel Networks MCS 5200 3.0 Nortel Networks MCS 5100 3.0 Nortel Networks IP softphone 2050 Nortel Networks Enterprise Network Management System Microsoft Excel x for Mac 0 Microsoft Excel Viewer 2003 0 Microsoft Excel 97 SR2 Microsoft Excel 97 SR1 Microsoft Excel 97 Microsoft Excel 95 Microsoft Excel 2004 for Mac 0 Microsoft Excel 2003 SP1 Microsoft Excel 2003 Microsoft Excel 2002 SP3 Microsoft Excel 2002 SP2 Microsoft Excel 2002 SP1 Microsoft Excel 2002 Microsoft Excel 2000 SR1 Microsoft Excel 2000 SP3 Microsoft Excel 2000 SP2 Microsoft Excel 2000 Avaya Modular Messaging (MAS) 3.0 |
| Not Vulnerable: | |
Discussion
Microsoft Excel Malformed Range Memory Corruption Vulnerability
Microsoft Excel is susceptible to a remote code-execution vulnerability. This issue was originally disclosed through an eBay auction that has since been terminated.
This issue is due to the application's failure to properly bounds-check user-supplied input data in the 'Named Range' definition in Excel data files. This results in the corruption of critical memory sections, allowing code execution.
Microsoft Excel is susceptible to a remote code-execution vulnerability. This issue was originally disclosed through an eBay auction that has since been terminated.
This issue is due to the application's failure to properly bounds-check user-supplied input data in the 'Named Range' definition in Excel data files. This results in the corruption of critical memory sections, allowing code execution.
Exploit / POC
Microsoft Excel Malformed Range Memory Corruption Vulnerability
An exploit reportedly exists. The discoverer has stated that the exploit will not be made available.
The following is a proof-of-concept example segment of an Excel data file. The '*' characters represent the location of the affected value that triggers this issue. Setting these locations to '0xFF' will crash the application.
00000720 00 80 00 ff 93 02 04 00 14 80 05 ff 60 01 02 00 |............`...|
00000730 00 00 85 00 0e 00 ba 05 00 00 00 00 06 00 53 68 |..............Sh|
00000740 65 65 74 31 8c 00 04 00 01 00 01 00 ae 01 04 00 |eet1............|
00000750 01 00 01 04 17 00 08 00 01 00 00 00 00 00 00 00 |................|
00000760 18 00 1b 00 00 00 00 05 07 ** ** 00 00 00 00 00 |................|
00000770 00 00 00 54 45 53 54 31 3a 00 00 00 00 00 00 c1 |...TEST1:.......|
00000780 01 08 00 c1 01 00 00 22 be 01 00 fc 00 08 00 00 |......."........|
00000790 00 00 00 00 00 00 00 ff 00 02 00 08 00 63 08 15 |.............c..|
An exploit reportedly exists. The discoverer has stated that the exploit will not be made available.
The following is a proof-of-concept example segment of an Excel data file. The '*' characters represent the location of the affected value that triggers this issue. Setting these locations to '0xFF' will crash the application.
00000720 00 80 00 ff 93 02 04 00 14 80 05 ff 60 01 02 00 |............`...|
00000730 00 00 85 00 0e 00 ba 05 00 00 00 00 06 00 53 68 |..............Sh|
00000740 65 65 74 31 8c 00 04 00 01 00 01 00 ae 01 04 00 |eet1............|
00000750 01 00 01 04 17 00 08 00 01 00 00 00 00 00 00 00 |................|
00000760 18 00 1b 00 00 00 00 05 07 ** ** 00 00 00 00 00 |................|
00000770 00 00 00 54 45 53 54 31 3a 00 00 00 00 00 00 c1 |...TEST1:.......|
00000780 01 08 00 c1 01 00 00 22 be 01 00 fc 00 08 00 00 |......."........|
00000790 00 00 00 00 00 00 00 ff 00 02 00 08 00 63 08 15 |.............c..|
Solution / Fix
Microsoft Excel Malformed Range Memory Corruption Vulnerability
Solution:
Microsoft has released fixes to address this vulnerability in supported versions of the affected software.
Please see the referenced vendor advisories for further information.
Microsoft Excel 2000 SR1
Microsoft Excel x for Mac 0
Microsoft Excel 2003 SP1
Microsoft Excel 2002 SP2
Microsoft Excel 2000 SP2
Microsoft Excel 2003
Microsoft Excel 2004 for Mac 0
Microsoft Excel 2002 SP3
Microsoft Excel 2002 SP1
Microsoft Excel 2000
Microsoft Excel 2002
Microsoft Excel 2000 SP3
Microsoft Excel Viewer 2003 0
Solution:
Microsoft has released fixes to address this vulnerability in supported versions of the affected software.
Please see the referenced vendor advisories for further information.
Microsoft Excel 2000 SR1
-
Microsoft Security Update for Excel 2000 (KB905757)
http://www.microsoft.com/downloads/details.aspx?familyid=C9433440-31EF -4C18-A0C7-B595EA23F6FC&displaylang=en
Microsoft Excel x for Mac 0
-
Microsoft Microsoft Office 2004 for Mac 11.2.3 Update
http://download.microsoft.com/download/9/C/9/9C90BD77-92B0-4A2A-B4CE-F 41C560360CE/Office2004-1123UpdateEN.dmg
Microsoft Excel 2003 SP1
-
Microsoft Security Update for Excel 2003 (KB905756)
http://www.microsoft.com/downloads/details.aspx?FamilyId=AC22F83A-B409 -4469-984E-6C19D8F5FE41&displaylang=en
Microsoft Excel 2002 SP2
-
Microsoft Security Update for Excel 2002 (KB905755)
http://www.microsoft.com/downloads/details.aspx?FamilyId=643337C7-8A47 -4FA3-AB58-7A916B33607D&displaylang=en
Microsoft Excel 2000 SP2
-
Microsoft Security Update for Excel 2000 (KB905757)
http://www.microsoft.com/downloads/details.aspx?familyid=C9433440-31EF -4C18-A0C7-B595EA23F6FC&displaylang=en
Microsoft Excel 2003
-
Microsoft Security Update for Excel 2003 (KB905756)
http://www.microsoft.com/downloads/details.aspx?FamilyId=AC22F83A-B409 -4469-984E-6C19D8F5FE41&displaylang=en
Microsoft Excel 2004 for Mac 0
-
Microsoft Microsoft Office 2004 for Mac 11.2.3 Update
http://download.microsoft.com/download/9/C/9/9C90BD77-92B0-4A2A-B4CE-F 41C560360CE/Office2004-1123UpdateEN.dmg
Microsoft Excel 2002 SP3
-
Microsoft Security Update for Excel 2002 (KB905755)
http://www.microsoft.com/downloads/details.aspx?FamilyId=643337C7-8A47 -4FA3-AB58-7A916B33607D&displaylang=en
Microsoft Excel 2002 SP1
-
Microsoft Security Update for Excel 2002 (KB905755)
http://www.microsoft.com/downloads/details.aspx?FamilyId=643337C7-8A47 -4FA3-AB58-7A916B33607D&displaylang=en
Microsoft Excel 2000
-
Microsoft Security Update for Excel 2000 (KB905757)
http://www.microsoft.com/downloads/details.aspx?familyid=C9433440-31EF -4C18-A0C7-B595EA23F6FC&displaylang=en
Microsoft Excel 2002
-
Microsoft Security Update for Excel 2002 (KB905755)
http://www.microsoft.com/downloads/details.aspx?FamilyId=643337C7-8A47 -4FA3-AB58-7A916B33607D&displaylang=en
Microsoft Excel 2000 SP3
-
Microsoft Security Update for Excel 2000 (KB905757)
http://www.microsoft.com/downloads/details.aspx?familyid=C9433440-31EF -4C18-A0C7-B595EA23F6FC&displaylang=en
Microsoft Excel Viewer 2003 0
-
Microsoft Security Update for Excel Viewer 2003 (KB914451)
http://www.microsoft.com/downloads/details.aspx?FamilyId=7DBADBD1-0542 -475B-91B5-90DD2AF2C0FC&displaylang=en
References
Microsoft Excel Malformed Range Memory Corruption Vulnerability
References:
References:
- ASA-2006-069 - Windows Security Updates for March 2006 - (MS06-011 MS06-012) (Avaya)
- Brand new Microsoft Excel Vulnerability (fearwall)
- eBay Pulls Bidding for MS Excel Vulnerability (eWeek)
- Microsoft Security Bulletin MS06-012 - Vulnerabilities in Microsoft Office Could (Microsoft)
- NORTEL RESPONSE TO MICROSOFT SECURITY BULLETIN MS06-012 (Nortel Networks)
- [HV-HIGH] Microsoft Excel Named Range Arbitrary Code Execution ([email protected])
- High Risk Vulnerability in Microsoft Excel (NGSSoftware Insight Security Research)