[NEWS] Quake 3 Multiple Vulnerabilities (Buffer Overflow, Directory Traversal)



The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



Quake 3 Multiple Vulnerabilities (Buffer Overflow, Directory Traversal)
------------------------------------------------------------------------


SUMMARY

<http://www.idsoftware.com/> Quake 3 is a 3D shootout game.

Improper Length and input validation allows attackers to execute arbitrary
code and download files using Quake 3 Server and client.

DETAILS

Vulnerable Systems:
* Quake3 Arena and Team Arena point release version 1.32b
* Return to Castle Wolfenstein version 1.41
* Wolfenstein: Enemy Territory version 2.60
* Star Wars: Jedi Knight version 2
* Star Wars: Jedi Knight version 3
* Star Trek Voyager: Elite Force vulnerable for the directory traversal

Immune Systems:
* Star Trek Voyager: Elite Force not vulnerable for the buffer overflow

Client COM_StripExtension Buffer Overflow:
The COM_StripExtension routine copies a given filename chopping the suffix
into another given buffer without checking the length of that buffer.
R_FindShaderByName(), called by R_RemapShader() uses a static buffer of 64
bytes length for the copy.
Servers can make the client execute R_RemapShader() by sending a
"remapShader" command with too long arguments that will result in an
overflowed buffer.

Server Directory Traversal:
Players connecting to servers that are using .pk3 files not available on
the client have the possibility to download the missing files from the
server if that server allows it.
The client then explicitly requests a filename to download. Unfortunately,
the server does no checking of the filename at all allowing modified
clients to download any files via directory traversal like
"../../../../../../../etc/passwd" with the rights of the user the server
runs under.

Workaround:
Set the sv_allowdownload cvar to 0 on your server which prohibits
downloading of any files.

Vendor Status:
Dsoftware has released new packages containing builds that fix both issues
for these games:

- Quake3 Arena / Team Arena
- Return to Castle Wolfenstein
- Wolfenstein: Enemy Territory

Check out idsoftware's ftp server: <ftp://ftp.idsoftware.com/idstuff/>
ftp://ftp.idsoftware.com/idstuff/

You can also check out the <http://icculus.org/quake3/>
icculus.org/quake3 project that has both issues fixed in the latest
<http://svn.icculus.org/quake3/trunk/> SVN repository. (rev. 777 as of
this writing). Updated binaries will be released soon.

CVE Information:
<http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2082>
CVE-2006-2082


ADDITIONAL INFORMATION

The information has been provided by <mailto:arny@xxxxxxxxxxxxxx> Thilo
Schulz.



========================================


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages

  • Re: Socket switch delay
    ... both at the client and at the server (and why ... would you set the send buffer size to zero on a non-overlapped ... One glaring error is your client does ... So when you use a single socket, ...
    (microsoft.public.win32.programmer.networks)
  • [NEWS] Sauerbraten Engine Multiple Vulnerabilities (Exploit)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The problem, which affects both server and clients, is that this code ... C] Clients Crash Through Invalid Map ... When a client ...
    (Securiteam)
  • [UNIX] Conquest Client Buffer Overflow
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Conquest Client Buffer Overflow ... SP_CLIENTSTAT is a type of packet used by the server for sending some ...
    (Securiteam)
  • [NEWS] Cube Engine Multiple Vulnerabilities (Exploit)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The problem, which affects both server and clients, is that this code ... C] Clients Crash through Invalid Map ... client tries to load an invalid map file it will exit immediately showing ...
    (Securiteam)
  • [NT] Multiple WFTPD DoS Vulnerabilities (XeroxDocutech)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... " WFTPD Server has been a leading FTP server for ... the WFTPD process to use 100% CPU resources. ... Since the server uses a secondary buffer in order to perform the copying ...
    (Securiteam)