Introduction:
This vulnerability regards to invoke winhlp32.exe,the Microsoft Windows Help File viewer, from Internet Explorer 6,7,8 using VBScript. Passing malicious .HLP file to winhlp32 could allow remote attacker to run arbitrary command.
Additionally, there is a stack overflow vulnerability in winhlp32.exe.
Proof of Concept:
To trigger vulnerability some user interaction is needed. Victim has to press F1 when MsgBox popup is displayed.
1 | MsgBox(prompt[,buttons][,title][,helpfile,context]) |
It is possible to pass remote samba share as helpfile parameter. In addition there is a stack based buffer overflow when helpfile parameter is too long. However, on XP winhlp32.exe is compiled with
/GS flag, which in this case effectively guard the stack.
Affected Systems:
Windows XP with Service Pack 3
Not Affected Systems:
Vista, Windows 7
Impact:
Value: MEDIUM
The vulnerability allows remote attacker to run arbitrary code on victim machine.
Related sources:
Isec Security Research



