|
|
|
|
| |
Credit:
The information has been provided by Thilo Schulz.
|
| |
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/
You can also check out the icculus.org/quake3 project that has both issues fixed in the latest SVN repository. (rev. 777 as of this writing). Updated binaries will be released soon.
CVE Information:
CVE-2006-2082
|
|
|
|
|