Rapid7 Vulnerability & Exploit Database

Csound hetro File Handling Stack Buffer Overflow

Back to Search

Csound hetro File Handling Stack Buffer Overflow

Disclosed
02/23/2012
Created
05/30/2018

Description

This module exploits a buffer overflow in Csound before 5.16.6. The overflow occurs when trying to import a malicious hetro file from tabular format. In order to achieve exploitation the user should import the malicious file through csound with a command like "csound -U het_import msf.csd file.het". This exploit doesn't work if the "het_import" command is used directly to convert the file.

Author(s)

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

;