From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 9 May 2006 19:35:00 +0200
Subject: [NEWS] Quake 3 Multiple Vulnerabilities (Buffer Overflow, Directory Traversal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20060510090629.692CA5862@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
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@ats.s.bawue.de.> 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: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
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.