[NT] Microsoft Office Word Malformed Chart Code Execution (MS06-062)



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 Office Word Malformed Chart Code Execution (MS06-062)
------------------------------------------------------------------------


SUMMARY

This update addresses several newly discovered, privately and publicly
reported vulnerabilities. Each vulnerability is documented in this
bulletin in its own "Vulnerability Details" section.

When using vulnerable versions of Office, if a user were logged on with
administrative user rights, an attacker who successfully exploited these
vulnerabilities could take complete control of the system. An attacker
could then install programs; view, change, or delete data; or create new
accounts with full user rights. Users whose accounts are configured to
have fewer user rights on the system could be less impacted than users who
operate with administrative user rights.

We recommend that customers apply the update immediately.

DETAILS

Affected Software:
* Microsoft Office 2000 Service Pack 3 -
<http://www.microsoft.com/downloads/details.aspx?FamilyId=E0C7E1E4-7859-4C7E-898E-1CF05014885B> Download the update (KB923274)
* Microsoft Access 2000
* Microsoft Excel 2000
* Microsoft FrontPage 2000
* Microsoft Outlook 2000
* Microsoft PowerPoint 2000
* Microsoft Publisher 2000
* Microsoft Word 2000
* Microsoft Office XP Service Pack 3 -
<http://www.microsoft.com/downloads/details.aspx?FamilyId=958EE063-D88D-4E45-8555-4D1C4730F5C8> Download the update (KB923273)
* Microsoft Access 2002
* Microsoft Excel 2002
* Microsoft FrontPage 2002
* Microsoft Outlook 2002
* Microsoft PowerPoint 2002
* Microsoft Publisher 2002
* Microsoft Visio 2002
* Microsoft Word 2002
* Microsoft Office 2003 Service Pack 1 or Service Pack 2 -
<http://www.microsoft.com/downloads/details.aspx?FamilyId=0D399F68-EC0D-4768-9846-B16B3DADF247> Download the update (KB923272)
* Microsoft Access 2003
* Microsoft Excel 2003
* Microsoft Excel 2003 Viewer
* Microsoft FrontPage 2003
* Microsoft InfoPath 2003
* Microsoft OneNote 2003
* Microsoft Outlook 2003
* Microsoft PowerPoint 2003
* Microsoft Project 2003
* Microsoft Publisher 2003
* Microsoft Visio 2003
* Microsoft Word 2003
* Microsoft Word 2003 Viewer
* Microsoft Project 2000 Service Release 1 -
<http://www.microsoft.com/downloads/details.aspx?FamilyId=266A9870-CD03-45CA-877B-B5AD2C873FE5> Download the update (KB923274)
* Microsoft Project 2002 Service Pack 1 -
<http://www.microsoft.com/downloads/details.aspx?FamilyId=A77DEA18-D237-4BB0-9464-CE31B6AE52D6> Download the update (KB923273)
* Microsoft Visio 2002 Service Pack 2 -
<http://www.microsoft.com/downloads/details.aspx?FamilyId=FD4B7660-0FC5-43E5-9683-B6DAE96136BB> Download the update (KB923273)
* Microsoft Office 2004 for Mac - <http://www.microsoft.com/mac/>
Download the update (KB924999)
* Microsoft Office v. X for Mac - <http://www.microsoft.com/mac/>
Download the update (KB924998)

Non-Affected Software:
* Microsoft PowerPoint 2003 Viewer
* Microsoft Works Suites:
* Microsoft Works Suite 2004
* Microsoft Works Suite 2005
* Microsoft Works Suite 2006

Office Improper Memory Access Vulnerability - CVE-2006-3434:
A remote code execution vulnerability exists in Office. An attacker could
exploit this vulnerability when Office parses a file with a malformed
string.

If a user were logged on with administrative user rights, an attacker who
successfully exploited this vulnerability could take complete control of
an affected system. An attacker could then install programs; view, change,
or delete data; or create new accounts with full user rights. Users whose
accounts are configured to have fewer user rights on the system could be
less affected than users who operate with administrative user rights.

Mitigating Factors for Office Improper Memory Access Vulnerability -
CVE-2006-3434:
* An attacker who successfully exploited this vulnerability could gain
the same user rights as the local user. Users whose accounts are
configured to have fewer user rights on the system could be less impacted
than users who operate with administrative user rights.

* In a Web-based attack scenario, an attacker would have to host a Web
site that contains an Office file that is used to attempt to exploit this
vulnerability. In addition, compromised Web sites and Web sites that
accept or host user-provided content could contain specially crafted
content that could exploit this vulnerability An attacker would have no
way to force users to visit a malicious Web site. Instead, an attacker
would have to persuade them to visit the Web site, typically by getting
them to click a link that takes them to the attacker's site.

* The vulnerability cannot be exploited automatically through e-mail. For
an attack to be successful a user must open an attachment that is sent in
an e-mail message.

* Users who have installed and are using the Office Document Open
Confirmation Tool for Office 2000 will be prompted with Open, Save, or
Cancel before opening a document. The features of the Office Document Open
Confirmation Tool are incorporated in Office XP and Office 2003.

Workarounds for Office Improper Memory Access Vulnerability -
CVE-2006-3434:
* Do not open or save Microsoft Office files that you receive from
untrusted sources or that you receive unexpectedly from trusted sources.
This vulnerability could be exploited when a user opens a specially
crafted file.

FAQ for Office Improper Memory Access Vulnerability - CVE-2006-3434:
What is the scope of the vulnerability?
A remote code execution vulnerability exists in Office. An attacker could
exploit this vulnerability when Office parses a file with a malformed
string.

If a user were logged on with administrative user rights, an attacker who
successfully exploited this vulnerability could take complete control of
an affected system. An attacker could then install programs; view, change,
or delete data; or create new accounts with full user rights. Users whose
accounts are configured to have fewer user rights on the system could be
less affected than users who operate with administrative user rights.

What causes the vulnerability?
Office does not perform sufficient data validation when processing the
contents of a file. When Office opens a specially crafted file and parses
a malformed string, it may corrupt system memory in such a way that an
attacker could execute arbitrary code.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability could cause
arbitrary code to run with the privileges of the user who opened the file.

How could an attacker exploit the vulnerability?
In an e-mail attack scenario, an attacker could exploit the vulnerability
by sending a specially-crafted file to the user and by persuading the user
to open the file.

In a Web-based attack scenario, an attacker would have to host a Web site
that contains a Office file that is used to attempt to exploit this
vulnerability. In addition, compromised Web sites and Web sites that
accept or host user-provided content could contain specially crafted
content that could exploit this vulnerability. An attacker would have no
way to force users to visit a malicious Web site. Instead, an attacker
would have to persuade them to visit the Web site, typically by getting
them to click a link that takes them to the attacker's site.

What systems are primarily at risk from the vulnerability?
Workstations and terminal servers are primarily at risk. Servers could be
at more risk if administrators allow users to log on to servers and to run
programs. However, best practices strongly discourage allowing this.

I thought Word shipped with Microsoft Works Suites, but I see Microsoft
Works Suites is listed under Non-Affected Software. Why?
Microsoft Works Suites does not bundle with the full version of Word,
therefore is not affected by these vulnerabilities.

What does the update do?
The update removes the vulnerability by modifying the way that Office
parses the file and validates the length of a string before passing it to
the allocated buffer.

When this security bulletin was issued, had this vulnerability been
publicly disclosed?
No. Microsoft received information about this vulnerability through
responsible disclosure. Microsoft had not received any information to
indicate that this vulnerability had been publicly disclosed when this
security bulletin was originally issued. This security bulletin addresses
the privately disclosed vulnerability as well as additional issues
discovered through internal investigations.

When this security bulletin was issued, had Microsoft received any reports
that this vulnerability was being exploited?
No. Microsoft had not received any information to indicate that this
vulnerability had been publicly used to attack customers and had not seen
any examples of proof of concept code published when this security
bulletin was originally issued.

Office Malformed Chart Record Vulnerability - CVE-2006-3650:
A remote code execution vulnerability exists in Office. An attacker could
exploit this vulnerability when Office parses a file with a malformed
chart record.

If a user were logged on with administrative user rights, an attacker who
successfully exploited this vulnerability could take complete control of
an affected system. An attacker could then install programs; view, change,
or delete data; or create new accounts with full user rights. Users whose
accounts are configured to have fewer user rights on the system could be
less affected than users who operate with administrative user rights.

Mitigating Factors for Office Malformed Chart Record Vulnerability -
CVE-2006-3650:
* An attacker who successfully exploited this vulnerability could gain
the same user rights as the local user. Users whose accounts are
configured to have fewer user rights on the system could be less impacted
than users who operate with administrative user rights.

* In a Web-based attack scenario, an attacker would have to host a Web
site that contains an Office file that is used to attempt to exploit this
vulnerability. In addition, compromised Web sites and Web sites that
accept or host user-provided content could contain specially crafted
content that could exploit this vulnerability. An attacker would have no
way to force users to visit a malicious Web site. Instead, an attacker
would have to persuade them to visit the Web site, typically by getting
them to click a link that takes them to the attacker's site.

* The vulnerability cannot be exploited automatically through e-mail. For
an attack to be successful a user must open an attachment that is sent in
an e-mail message.

* Users who have installed and are using the Office Document Open
Confirmation Tool for Office 2000 will be prompted with Open, Save, or
Cancel before opening a document. The features of the Office Document Open
Confirmation Tool are incorporated in Office XP and Office 2003.

Workarounds for Office Malformed Chart Record Vulnerability -
CVE-2006-3650:
Do not open or save Microsoft Office files that you receive from untrusted
sources or that you receive unexpectedly from trusted sources. This
vulnerability could be exploited when a user opens a specially crafted
file.

FAQ for Office Malformed Chart Record Vulnerability - CVE-2006-3650:
What is the scope of the vulnerability?
A remote code execution vulnerability exists in Office. An attacker could
exploit this vulnerability when Office parses a file with a malformed
chart record.

If a user were logged on with administrative user rights, an attacker who
successfully exploited this vulnerability could take complete control of
an affected system. An attacker could then install programs; view, change,
or delete data; or create new accounts with full user rights. Users whose
accounts are configured to have fewer user rights on the system could be
less affected than users who operate with administrative user rights.

What causes the vulnerability?
Office does not perform sufficient data validation when processing the
contents of a file. When Office opens a specially crafted file and parses
a malformed chart record, it may corrupt system memory in such a way that
an attacker could execute arbitrary code.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability could cause
arbitrary code to run with the privileges of the user who opened the file.

How could an attacker exploit the vulnerability?
In an e-mail attack scenario, an attacker could exploit the vulnerability
by sending a specially-crafted file to the user and by persuading the user
to open the file.

In a Web-based attack scenario, an attacker would have to host a Web site
that contains a Office file that is used to attempt to exploit this
vulnerability. In addition, compromised Web sites and Web sites that
accept or host user-provided content could contain specially crafted
content that could exploit this vulnerability. An attacker would have no
way to force users to visit a malicious Web site. Instead, an attacker
would have to persuade them to visit the Web site, typically by getting
them to click a link that takes them to the attacker's site.

What systems are primarily at risk from the vulnerability?
Workstations and terminal servers are primarily at risk. Servers could be
at more risk if administrators allow users to log on to servers and to run
programs. However, best practices strongly discourage allowing this.

What does the update do?
The update removes the vulnerability by modifying the way that Office
parses the length of a record before it passes the message to the
allocated buffer.

When this security bulletin was issued, had this vulnerability been
publicly disclosed?
No. Microsoft received information about this vulnerability through
responsible disclosure. Microsoft had not received any information to
indicate that this vulnerability had been publicly disclosed when this
security bulletin was originally issued. This security bulletin addresses
the privately disclosed vulnerability as well as additional issues
discovered through internal investigations.

When this security bulletin was issued, had Microsoft received any reports
that this vulnerability was being exploited?
No. Microsoft had not received any information to indicate that this
vulnerability had been publicly used to attack customers and had not seen
any examples of proof of concept code published when this security
bulletin was originally issued.

Office Malformed Record Memory Corruption Vulnerability - CVE-2006-3864:
A remote code execution vulnerability exists in Office. An attacker could
exploit this vulnerability when Office parses a file with a malformed
record.

If a user were logged on with administrative user rights, an attacker who
successfully exploited this vulnerability could take complete control of
an affected system. An attacker could then install programs; view, change,
or delete data; or create new accounts with full user rights. Users whose
accounts are configured to have fewer user rights on the system could be
less affected than users who operate with administrative user rights.

Mitigating Factors for Office Malformed Record Memory Corruption
Vulnerability - CVE-2006-3864:
* An attacker who successfully exploited this vulnerability could gain
the same user rights as the local user. Users whose accounts are
configured to have fewer user rights on the system could be less impacted
than users who operate with administrative user rights.

* In a Web-based attack scenario, an attacker would have to host a Web
site that contains an Office file that is used to attempt to exploit this
vulnerability. In addition, compromised Web sites and Web sites that
accept or host user-provided content could contain specially crafted
content that could exploit this vulnerability An attacker would have no
way to force users to visit a malicious Web site. Instead, an attacker
would have to persuade them to visit the Web site, typically by getting
them to click a link that takes them to the attacker's site.

* The vulnerability cannot be exploited automatically through e-mail. For
an attack to be successful a user must open an attachment that is sent in
an e-mail message.

* Users who have installed and are using the Office Document Open
Confirmation Tool for Office 2000 will be prompted with Open, Save, or
Cancel before opening a document. The features of the Office Document Open
Confirmation Tool are incorporated in Office XP and Office 2003.

Workarounds for Office Malformed Record Memory Corruption Vulnerability -
CVE-2006-3864:
* Do not open or save Microsoft Office files that you receive from
untrusted sources or that you receive unexpectedly from trusted sources.
This vulnerability could be exploited when a user opens a specially
crafted file.

FAQ for Office Malformed Record Memory Corruption Vulnerability -
CVE-2006-3864:
What is the scope of the vulnerability?
A remote code execution vulnerability exists in Office. An attacker could
exploit this vulnerability when Office parses a file with a malformed
record.

If a user were logged on with administrative user rights, an attacker who
successfully exploited this vulnerability could take complete control of
an affected system. An attacker could then install programs; view, change,
or delete data; or create new accounts with full user rights. Users whose
accounts are configured to have fewer user rights on the system could be
less affected than users who operate with administrative user rights.

What causes the vulnerability?
Office does not perform sufficient data validation when processing the
contents of a file. When Office opens a specially crafted file and parses
a malformed string, it may corrupt system memory in such a way that an
attacker could execute arbitrary code.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability could cause
arbitrary code to run with the privileges of the user who opened the file.

How could an attacker exploit the vulnerability?
In an e-mail attack scenario, an attacker could exploit the vulnerability
by sending a specially-crafted file to the user and by persuading the user
to open the file.

In a Web-based attack scenario, an attacker would have to host a Web site
that contains a Office file that is used to attempt to exploit this
vulnerability. In addition, compromised Web sites and Web sites that
accept or host user-provided content could contain specially crafted
content that could exploit this vulnerability An attacker would have no
way to force users to visit a malicious Web site. Instead, an attacker
would have to persuade them to visit the Web site, typically by getting
them to click a link that takes them to the attacker's site.

What systems are primarily at risk from the vulnerability?
Workstations and terminal servers are primarily at risk. Servers could be
at more risk if administrators allow users to log on to servers and to run
programs. However, best practices strongly discourage allowing this.

What does the update do?
The update removes the vulnerability by modifying the way that Office
parses the file and validates the length of a string before passing it to
the allocated buffer.

When this security bulletin was issued, had this vulnerability been
publicly disclosed?
No. Microsoft received information about this vulnerability through
responsible disclosure. Microsoft had not received any information to
indicate that this vulnerability had been publicly disclosed when this
security bulletin was originally issued. This security bulletin addresses
the privately disclosed vulnerability as well as additional issues
discovered through internal investigations.

When this security bulletin was issued, had Microsoft received any reports
that this vulnerability was being exploited?
No. Microsoft had not received any information to indicate that this
vulnerability had been publicly used to attack customers and had not seen
any examples of proof of concept code published when this security
bulletin was originally issued.

Microsoft Office Smart Tag Parsing Vulnerability - CVE-2006-3868:
A remote code execution vulnerability exists in Microsoft Office, and
could be exploited when Office opens a specially crafted file and parses a
malformed Smart Tag. Such a specially crafted file might be included as an
e-mail attachment or hosted on a malicious web site. Viewing or previewing
a malformed e-mail message in Outlook could not lead to exploitation of
this vulnerability. An attacker could exploit the vulnerability by
constructing a specially crafted Office file that could allow remote code
execution.

If a user were logged on with administrative user rights, an attacker who
successfully exploited this vulnerability could take complete control of
an affected system. An attacker could then install programs; view, change,
or delete data; or create new accounts with full user rights. Users whose
accounts are configured to have fewer user rights on the system could be
less affected than users who operate with administrative user rights.

Mitigating Factors for Microsoft Office Smart Tag Parsing Vulnerability -
CVE-2006-3868:
* An attacker who successfully exploited this vulnerability could gain
the same user rights as the local user. Users whose accounts are
configured to have fewer user rights on the system could be less impacted
than users who operate with administrative user rights.

* In a Web-based attack scenario, an attacker would have to host a Web
site that contains a Office file that is used to attempt to exploit this
vulnerability. In addition, compromised Web sites and Web sites that
accept or host user-provided content could contain specially crafted
content that could exploit this vulnerability An attacker would have no
way to force users to visit a malicious Web site. Instead, an attacker
would have to persuade them to visit the Web site, typically by getting
them to click a link that takes them to the attacker's site.

* The vulnerability cannot be exploited automatically through e-mail. For
an attack to be successful a user must open an attachment that is sent in
an e-mail message.

Workarounds for Microsoft Office Smart Tag Parsing Vulnerability -
CVE-2006-3868:
* Do not open or save Microsoft Office files that you receive from
untrusted sources or that you receive unexpectedly from trusted sources.
This vulnerability could be exploited when a user opens a specially
crafted file.

FAQ for Microsoft Office Smart Tag Parsing Vulnerability - CVE-2006-3868:
What is the scope of the vulnerability?
A remote code execution vulnerability exists in Microsoft Office, and
could be exploited when Office opens a specially crafted file and parses a
malformed Smart Tag. Such a specially crafted file might be included as an
e-mail attachment or hosted on a malicious web site. Viewing or previewing
a malformed e-mail message in Outlook could not lead to exploitation of
this vulnerability. An attacker could exploit the vulnerability by
constructing a specially crafted Office file that could allow remote code
execution.

If a user were logged on with administrative user rights, an attacker who
successfully exploited this vulnerability could take complete control of
an affected system. An attacker could then install programs; view, change,
or delete data; or create new accounts with full user rights. Users whose
accounts are configured to have fewer user rights on the system could be
less affected than users who operate with administrative user rights.

What causes the vulnerability?
When Microsoft Office opens a specially crafted Office file and parses a
malformed Smart Tag, it may corrupt system memory in such a way that an
attacker could execute arbitrary code.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability could cause
arbitrary code to run with the privileges of the user who opened the file.

How could an attacker exploit the vulnerability?
In an e-mail attack scenario, an attacker could exploit the vulnerability
by sending a specially-crafted file to the user and by persuading the user
to open the file.

In a Web-based attack scenario, an attacker would have to host a Web site
that contains a Office file that is used to attempt to exploit this
vulnerability. In addition, compromised Web sites and Web sites that
accept or host user-provided content could contain specially crafted
content that could exploit this vulnerability An attacker would have no
way to force users to visit a malicious Web site. Instead, an attacker
would have to persuade them to visit the Web site, typically by getting
them to click a link that takes them to the attacker's site.

What systems are primarily at risk from the vulnerability?
Workstations and terminal servers are primarily at risk. Servers could be
at more risk if users who have sufficient administrative permissions are
given the ability to log on to servers and to run programs. However, best
practices strongly discourage allowing this.

What does the update do?
The update removes the vulnerability by modifying the way that Microsoft
Office parses the length of a Smart Tag before it passes the message to
the allocated buffer.

When this security bulletin was issued, had this vulnerability been
publicly disclosed?
Yes. This vulnerability has been publicly disclosed. It has been assigned
Common Vulnerability and Exposure number CVE-2006-3868.

When this security bulletin was issued, had Microsoft received any reports
that this vulnerability was being exploited?
No. Microsoft had seen examples of proof of concept code published
publicly but had not received any information to indicate that this
vulnerability had been publicly used to attack customers when this
security bulletin was originally issued.


ADDITIONAL INFORMATION

The information has been provided by Microsoft Product Security.
The original article can be found at:
<http://www.microsoft.com/technet/security/Bulletin/MS06-062.mspx>
http://www.microsoft.com/technet/security/Bulletin/MS06-062.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

  • [NT] Microsoft Excel Code Execution (MS07-002)
    ... Microsoft Excel Code Execution ... An attacker could then install programs; view, change, or delete data; or ... A remote code execution vulnerability exists in Microsoft Excel. ... If a user is logged on with administrative user rights, ...
    (Securiteam)
  • [NT] Vulnerabilities in Microsoft Office Allow Remote Code Execution (MS06-012)
    ... Vulnerabilities in Microsoft Office Allow Remote Code Execution ... Using a Malformed Range Vulnerability - CVE-2005-4131, ... an attacker who successfully exploited this ... create new accounts with full user rights. ...
    (Securiteam)
  • [NT] Vulnerabilities in Microsoft Excel Allows Code Execution (MS06-059)
    ... Vulnerabilities in Microsoft Excel Allows Code Execution ... A remote code execution vulnerability exists in Excel. ... If a user were logged on with administrative user rights, an attacker who ...
    (Securiteam)
  • SecurityFocus Microsoft Newsletter #260
    ... MICROSOFT VULNERABILITY SUMMARY ... Remote: Yes ... attacker to execute arbitrary code on a vulnerable computer with SYSTEM ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #341
    ... MICROSOFT VULNERABILITY SUMMARY ... Microsoft Windows Terminal Services Remote Security Restriction Bypass Vulnerability ... Microsoft Windows Media Server MDSAuth.DLL ActiveX Control Remote Code Execution Vulnerability ... An attacker can exploit this issue to execute arbitrary code in the context of the user running the application. ...
    (Focus-Microsoft)