Microsoft Help (WINHLP32.EXE) - Multiple Remote Code Execution and Denial Of Service Vulnerabilities

Risk: High
Local: Yes
Remote: Yes
CWE: CWE-Other

CVSS Base Score: 7.6/10
Impact Subscore: 10/10
Exploitability Subscore: 4.9/10
Exploit range: Remote
Attack complexity: High
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

Hi, Nobody should open an untrusted .HLP file. An HLP file is the most similar to an executable but not being one, mainly due to its powerful scripting language. One of the documented macros documented and supported by this format is "RegisterRoutine". Using this macro we can reference any Export of any Dll. Example: [CONFIG] RegisterRoutine("Kernel32.dll", "Beep", "UU") so the function can be used as a Macro within the WinHelp project {uldb Do Beep}{v !Beep(750, 5000)} The user wont see any warning previously the execution of this macro. I wonder why Microsoft and a lot of vendors are still using this old-and-dangerous format for providing documentation. Greets, Rubn. Benjamin Tobias Franz wrote: > Microsoft Help (WINHLP32.EXE) - Multiple Remote Code Execution and > Denial Of > Service Vulnerabilities > ... discovered by Benjamin Tobias Franz > > Affected Vendor: > Microsoft > > Affected Product: > Microsoft Windows - Microsoft Help (WINHLP32.EXE) > > Description: > Multiple remote code execution and denial of service vulnerabilities exists > in Microsoft Help (WINHLP32.EXE) because of the way that it handles > Microsoft Windows Help files (*.HLP). > An attacker could exploit this by placing a specially crafted help file > on a > webpage, or by sending the file as an attachment in an e-mail. The exploit > is triggered by viewing the specially crafted help file. No user > interaction > is required. An attacker who successfully exploited this vulnerability > could > take complete control of the affected system. > > Workaround: > Do not open any HLP file from untrusted sources with Microsoft Help. > > Proof-Of-Concept files (simple demonstration files only): > > > Date of discovery: > 20. - 22. July 2006 > > Tested software: > Microsoft Help on Windows XP SP2 > (WINHLP32.EXE: 5.1.2600.2180 | MSVCRT.DLL: 7.0.2600.2180) > > Probably all versions of Microsoft Windows are affected by these bugs. > > > Regards, > > Benjamin Tobias Franz, > Germany >

Vote for this issue:


Thanks for you vote!


Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.

(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024,


Back to Top