Vulnerability & Exploit Database

Back to search

Heroes of Might and Magic III .h3m Map file Buffer Overflow

This module embeds an exploit into an uncompressed map file (.h3m) for Heroes of Might and Magic III. Once the map is started in-game, a buffer overflow occurring when loading object sprite names leads to shellcode execution.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/windows/fileformat/homm3_h3m

Authors

  • Pierre Lindblad
  • John AAkerblom

References

Targets

  • H3 Complete 4.0.0.0 [Heroes3.exe 78956DFAB3EB8DDF29F6A84CF7AD01EE]
  • HD Mod 3.808 build 9 [Heroes3 HD.exe 56614D31CC6F077C2D511E6AF5619280]
  • Heroes III Demo 1.0.0.0 [h3demo.exe 522B6F45F534058D02A561838559B1F4]

Platforms

  • windows

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/fileformat/homm3_h3m msf exploit(homm3_h3m) > show targets ...targets... msf exploit(homm3_h3m) > set TARGET <target-id> msf exploit(homm3_h3m) > show options ...show and set options... msf exploit(homm3_h3m) > exploit