Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[NT] Vulnerability in Microsoft RichEdit Allows Code Execution (MS07-013

Subject: [NT] Vulnerability in Microsoft RichEdit Allows Code Execution (MS07-013)
Date: 15 Feb 2007 11:03:12 +0200
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 RichEdit Allows Code Execution (MS07-013)
------------------------------------------------------------------------


SUMMARY

A remote code execution vulnerability exists in the RichEdit components 
provided with Microsoft Windows and Microsoft Office. An attacker could 
exploit this vulnerability when a user interacts with a malformed embedded 
OLE object within a Rich Text Format (RTF) file.

If a user is 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.

DETAILS

Affected Software:

Windows Software:
 * Microsoft Windows 2000 Service Pack 4 -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=0b0b13d3-b2fb-4cf4-8ee1-51871d39eecd>
 Download the update
 * Microsoft Windows XP Service Pack 2 -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=3159428d-7212-4bf0-9699-3dbae5db6ca1>
 Download the update
 * Microsoft Windows XP Professional x64 Edition -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=daf2f7ac-20b4-4ec9-9467-2ddd4fc493d6>
 Download the update
 * Microsoft Windows Server 2003 and Microsoft Windows Server 2003 Service 
Pack 1 -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=2e8d2355-d5c5-406d-9322-5fe1b2134d2f>
 Download the update
 * Microsoft Windows Server 2003 for Itanium-based Systems and Microsoft 
Windows Server 2003 with SP1 for Itanium-based Systems -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=ed6dd20f-4c0b-48f7-a1f9-613265506835>
 Download the update
 * Microsoft Windows Server 2003 x64 Edition -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=3b6ee258-b636-455b-8833-74dea6269e24>
 Download the update

Office Software:
 * Microsoft Office 2000 Service Pack 3 -  
<http://www.microsoft.com/downloads/details.aspx?FamilyID=2FF67E78-2A08-45C9-A7AC-09678D060439>
 Download the update (KB920906)
  * 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=85C5162C-FC35-40B4-AD04-ADD247950423>
 Download the update (KB920816)
  * Microsoft Access 2002
  * Microsoft Excel 2002
  * Microsoft FrontPage 2002
  * Microsoft Outlook 2002
  * Microsoft PowerPoint 2002
  * Microsoft Publisher 2002
  * Microsoft Word 2002
 * Microsoft Office 2003 Service Pack 2 -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=6C3BCAB8-0C99-4BE6-8DE7-71D463473A4A>
 Download the update (KB920813)
  * Microsoft Access 2003
  * Microsoft Excel 2003
  * 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=019B11FC-00B8-451C-AB3C-772780D4C46A>
 Download the update (KB920906)
 * Microsoft Office 2000 Multilanguage Packs -  
<http://www.microsoft.com/downloads/details.aspx?FamilyID=B5A087F8-74D2-4184-9986-23AB3C4EF7F2>
 Download the update (KB920906)
 * Microsoft Project 2002 Service Pack 1 -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=D162C366-C5E7-4850-B773-1FE669FAEEAF>
 Download the update (KB920816)
 * Microsoft Visio 2002 Service Pack 2 -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=B4D2E182-0997-46BC-94AC-B4B0A523C51C>
 Download the update (KB920816)
 * Microsoft Learning Essentials 1.0, 1.1, and 1.5 for Microsoft Office -  
<http://www.microsoft.com/downloads/details.aspx?FamilyId=6215BD5B-1CB3-4FED-B08C-C31A88A75EBD>
 Download the update (KB929437)
 * Microsoft Global Input Method Editor for Office 2000 (Japanese) -  
<http://www.microsoft.com/downloads/details.aspx?FamilyID=2FF67E78-2A08-45C9-A7AC-09678D060439>
 Download the update (KB920906)
 * Microsoft Office 2004 for Mac -  <http://www.microsoft.com/mac/> 
Download the update (KB932185)

Non-Affected Software:
 * Windows Vista
 * 2007 Microsoft Office System
 * Microsoft Office 2003 Service Pack 2
  * Microsoft Excel 2003 Viewer
  * Microsoft PowerPoint 2003 Viewer

Mitigating Factors for Microsoft RichEdit Vulnerability - CVE-2006-1311:
 * 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.

 * An attacker could only exploit this vulnerability when a user opens and 
then interacts with the embedded OLE object within an RTF file.

 * This vulnerability could not be exploited automatically through a 
Web-based attack scenario. An attacker would have to host a Web site that 
contains an RTF file that is used to attempt to 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, and then convince the user to open the file 
in a Microsoft Office application.

 * 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 and then interact with the embedded OLE object within an 
RTF file.

Workarounds for Microsoft RichEdit Vulnerability - CVE-2006-1311:
Microsoft has tested the following workarounds. Although these workarounds 
will not correct the underlying vulnerability, they help block known 
attack vectors. When a workaround reduces functionality, it is identified 
in the following section.

 * Enable Embedded Object blocking in WordPad

Note: This workaround only applies to Microsoft Windows XP Service Pack 2, 
Microsoft Windows Server 2003, and Microsoft Windows Server 2003 Service 
Pack 1 systems.

Wordpad.exe is the default application used to open Rich Text files. Users 
can temporarily block the parsing of embedded objects within Rich Text 
Files.

Warning If you use Registry Editor incorrectly, you may cause serious 
problems that may require you to reinstall your operating system. 
Microsoft cannot guarantee that you can solve problems that result from 
using Registry Editor incorrectly. Use Registry Editor at your own risk.

We recommend that you back up the registry before you edit it.

Use the following text to create a .reg file that will automate editing of 
the registry to temporarily block the parsing of embedded objects with 
Rich Text Files when using Wordpad.exe. You can copy the following text, 
paste it into a text editor such as Notepad, and then save the file with 
the .reg file name extension. Run the .reg file on the vulnerable client.

Windows Registry Editor Version 5.00
    
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RtfStreamIn\ObjectBlocking\wordpad.exe]

Impact of Workaround: Wordpad.exe will no longer parse embedded objects 
within Rich Text files.

 * Do not open or save RTF 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.

 * Un-install WordPad from Windows 2000 or Windows 2003

Wordpad.exe is the default application used to open Rich Text files. By 
uninstalling WordPad, users can block the parsing of embedded objects 
within Rich Text Files.

1. Click Start, click Control Panel, and then click Add or Remove 
Programs.
2. Click Add/Remove Windows Components, double-click Accessories and 
Utilities, and then double-click Accessories.
3. Uncheck Wordpad, click Okay to let the Optional Component manager 
uninstall Wordpad.

Impact of Workaround: Wordpad will no longer parse embedded objects within 
Rich Text files.

FAQ for Microsoft RichEdit Vulnerability - CVE-2006-1311:
What is the scope of the vulnerability?
A remote code execution vulnerability exists in the RichEdit components 
provided with Microsoft Windows and Microsoft Office. An attacker could 
exploit this vulnerability when a user interacts with a malformed embedded 
OLE object within a Rich Text format.

If a user is 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 is Rich Text Format (RTF)?
The Rich Text Format (RTF) Specification provides a format for text and 
graphics interchange that can be used with different output devices, 
operating environments, and operating systems.

What is OLE?
By using OLE technology, an application can provide embedding and linking 
support. OLE is the technology that applications use to create and edit 
compound documents. These are documents of one format, such as a Microsoft 
Word document, that contain embeddings of (or links to) documents of 
another format, such as Microsoft Excel. OLE 2.0 takes OLE even further by 
allowing in-place editing. Instead of launching a new application when an 
OLE object is activated, the user instead sees a new set of menu items 
inside their existing application. For more information about OLE, visit 
the following Microsoft Web site.

What causes the vulnerability?
Microsoft Windows and Office RichEdit components do not perform sufficient 
validation when parsing OLE objects embedded within RTF files. When a user 
interacts with a malformed embedded OLE Object within an RTF file, 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?
An attacker could only exploit this vulnerability when a user opens and 
then interacts with an embedded OLE object within an RTF file.

This vulnerability could not be exploited automatically through a 
Web-based attack scenario. An attacker would have to host a Web site that 
contains an RTF file that is used to attempt to 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, and then convince the user to open the file 
in a Microsoft Office application.

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 and then interact with the embedded OLE object within an 
RTF file.

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 the 
Microsoft Windows and Office RichEdit components parse OLE streams within 
RTF.

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.

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.


ADDITIONAL INFORMATION

The information has been provided by Microsoft Security Bulletin MS07-013.
The original article can be found at:
 <http://www.microsoft.com/technet/security/bulletin/ms07-013.mspx> 
http://www.microsoft.com/technet/security/bulletin/ms07-013.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@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


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

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. 




<Prev in Thread] Current Thread [Next in Thread>
  • [NT] Vulnerability in Microsoft RichEdit Allows Code Execution (MS07-013), SecuriTeam <=