Gentoo Logo

Unreal Tournament 2003/2004: Buffer overflow in 'secure' queries


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200407-14 / Unreal Tournament
Release Date July 19, 2004
Latest Revision July 19, 2004: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
games-fps/ut2003 <= 2225-r2 >= 2225-r3 All supported architectures
games-server/ut2003-ded <= 2225-r1 >= 2225-r2 All supported architectures
games-fps/ut2004 < 3236 >= 3236 All supported architectures
games-fps/ut2004-demo <= 3120-r3 >= 3120-r4 All supported architectures

Related bugreports: #54726


Game servers based on the Unreal engine are vulnerable to remote code execution through malformed 'secure' queries.

2.  Impact Information


Unreal Tournament 2003 and 2004 are popular first-person-shooter games. They are both based on the Unreal engine, and can be used in a game server / client setup.


The Unreal-based game servers support a specific type of query called 'secure'. Part of the Gamespy protocol, this query is used to ask if the game server is able to calculate an exact response using a provided string. Luigi Auriemma found that sending a long 'secure' query triggers a buffer overflow in the game server.


By sending a malicious UDP-based 'secure' query, an attacker could execute arbitrary code on the game server.

3.  Resolution Information


Users can avoid this vulnerability by not using Unreal Tournament to host games as a server. All users running a server should upgrade to the latest versions.


All Unreal Tournament users should upgrade to the latest available versions:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=games-fps/ut2003-2225-r3"
# emerge ">=games-fps/ut2003-2225-r3"
# emerge -pv ">=games-server/ut2003-ded-2225-r2"
# emerge ">=games-server/ut2003-ded-2225-r2"
# emerge -pv ">=games-fps/ut2004-3236"
# emerge ">=games-fps/ut2004-3236"
# emerge -pv ">=games-fps/ut2004-demo-3120-r4"
# emerge ">=games-fps/ut2004-demo-3120-r4"

4.  References


Page updated July 19, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.