Rapid7 Vulnerability & Exploit Database

Unreal Tournament 2004 "secure" Overflow (Win32)

Back to Search

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.


  • stinko <vinnie@metasploit.com>




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