Rapid7 Vulnerability & Exploit Database

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

Back to Search

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

Disclosed
07/29/2015
Created
05/30/2018

Description

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.

Author(s)

  • Pierre Lindblad
  • John AAkerblom

Platform

Windows

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;