Microsoft Hyperlink Object Library buffer overflow
Vulnerability Note VU#683612
Original Release Date: 2006-08-08 | Last Revised: 2006-08-08
Overview
A vulnerability in Microsoft Hyperlink Object Library may allow a remote attacker to execute arbitrary code on an affected system.
Description
The Hyperlink Object Library is a collection of application programming interfaces that provide functionality for handling hyperlinks. The Microsoft Hyperlink Object Library contains a buffer overflow vulnerability that may allow a remote attacker to execute arbitrary code. A remote attacker can exploit the vulnerability by crafting a malicious hyperlink embeded into a Microsoft Office file or e-mail message. If a user opens the malicious hyperlink, arbitrary code can be executed. Once the remote attacker has successfully exploited this vulnerability, they can gain the same user rights as the local user.
Microsoft's bulletin states that the following Windows operating systems are affected by this vulnerability:
Microsoft Windows 2000 Service Pack 4
Microsoft Windows XP Service Pack 1 and Service Pack 2
Microsoft Windows XP Professional x64 Edition
Microsoft Windows Server 2003 and Service Pack 1
Microsoft Windows Server 2003 for Itanium-based Systems and Service Pack 1
Microsoft Windows Server 2003 x64 Edition
Impact
A remote attacker who can successfully convince a user to open an email message or Microsoft office file and click a link may be able to execute arbitrary code and gain control of the affected system.
Solution
Apply an update Microsoft has released updates in Microsoft Security Bulletin MS06-050 to addess this issue.
Workarounds
Microsoft lists the following workarounds for this vulnerability.
Modify the Access Control List to deny access to Hlink.dll for all users
Disabling the Hlink.dll registry key can protect the affected system from attempts to exploit this vulnerability. By disabling the Hlink.dll registry key, hyperlinks embedded in Microsoft Office documents cannot be edited or opened.
Click Start, click Run, and type cacls %windir%\system32\hlink.dll /d everyone, and click ok
Modify the Access Control List to disable the HLINK registry key
Modifying the HLINK registry key in the Windows registry will help prevent the exploitation of this vulnerability. By modifying the HLINK registry key, hyperlinks embedded in Microsoft Office documents cannot be edited or opened.
Please see the Microsoft Security Bulletin MS06-050 for further details and cautions regarding use of the Registry Editor.
For Windows 2000
Click Start, click Run, and type regedit32, click OK
Expand HKEY_CLASSES_ROOT, expand CLSID, and click 79eac9d0-baf9-11ce-8c82-00aa004ba90b
Click Security, and then click Permissions
Uncheck the Allow Inheritable Permissions from the parent to propagate to this object check box. If asked to select from Copy, Remove, or Cancel; select Remove and then click OK.
An alert will be displayed that no one will be able to access this registry key. Click Yes.
For Windows XP Service Pack 1 or Later
Click Start, click Run, and type regedit, click OK
Expand HKEY_CLASSES_ROOT, expand CLSID, and click 79eac9d0-baf9-11ce-8c82-00aa004ba90b
Click Security, and then click Permissions
Click Advanced
Uncheck the Inherit from parent the permission entried that apply to child objects. Include these with entries explicitly defined here. check box. If asked to select from Copy, Remove, or Cancel; select Remove and then click OK.
An alert will be displayed that no one will be able to access this registry key. Click Yes, and then click OK to close the Permissions for 79eac9d0-baf9-11ce-8c82-00aa004ba90b dialog box.
Read e-mail messages in plain text
Open only hyperlinks in Microsoft Office documents that come from trusted sources.
* Note that these workarounds do NOT fix the underlying vulnerability but will help block known methods of attack.
The vendor has not provided us with any further information regarding this vulnerability.
Addendum
Microsoft Corporation has published Microsoft Security Bulletin MS06-050 in response to this issue. Users are encouraged to review this bulletin and apply the referenced patches.
If you have feedback, comments, or additional information about this vulnerability, please send us email.
Thanks to Microsoft Security for reporting this vulnerability in Microsoft Security Bulletin MS06-050. Microsoft, in turn, thanks Steve Tai of CSC Australia Pty Limited for reporting the vulnerability to them.