Rapid7 Vulnerability & Exploit Database

IcoFX Stack Buffer Overflow

Back to Search

IcoFX Stack Buffer Overflow

Disclosed
12/10/2013
Created
05/30/2018

Description

This module exploits a stack-based buffer overflow vulnerability in version 2.1 of IcoFX. The vulnerability exists while parsing .ICO files, where a specially crafted ICONDIR header providing an arbitrary long number of images in the file can be used to trigger the overflow when reading the ICONDIRENTRY structures.

Author(s)

  • Marcos Accossatto
  • juan vazquez <juan.vazquez@metasploit.com>

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/icofx_bof
msf exploit(icofx_bof) > show targets
    ...targets...
msf exploit(icofx_bof) > set TARGET < target-id >
msf exploit(icofx_bof) > show options
    ...show and set options...
msf exploit(icofx_bof) > 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

;