GLSA 200407-14: Unreal Tournament 2003/2004: Buffer overflow in 'secure' queries

Severity:high
Title:Unreal Tournament 2003/2004: Buffer overflow in 'secure' queries
Date:07/19/2004
Bugs: #54726
ID:200407-14

Synopsis

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

Background

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.

Affected packages

Package Vulnerable Unaffected 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

Description

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.

Impact

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

Workaround

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.

Resolution

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

    # 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"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200407-14.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!