jedi-academy/codemp
Jonathan Gray 61687fff0c CVE-2011-2764/CVE-2011-3012 check for dangerous file extensions
CVE-2011-2764
The FS_CheckFilenameIsNotExecutable function in qcommon/files.c in the
ioQuake3 engine 1.36 and earlier, as used in World of Padman, Smokin'
Guns, OpenArena, Tremulous, and ioUrbanTerror, does not properly
determine dangerous file extensions, which allows remote attackers to
execute arbitrary code via a crafted third-party addon that creates a
Trojan horse DLL file.

CVE-2011-3012
The ioQuake3 engine, as used in World of Padman 1.2 and earlier,
Tremulous 1.1.0, and ioUrbanTerror 2007-12-20, does not check for
dangerous file extensions before writing to the quake3 directory, which
allows remote attackers to execute arbitrary code via a crafted
third-party addon that creates a Trojan horse DLL file, a different
vulnerability than CVE-2011-2764.

bugzilla #3695

from Tim Angus in ioquake3
svn 1405 git 2c0861c1cea44861c5ceba2dc39e601d6bc3f0af

* (bug 3695) Not allowing to write file with lib extention (.dll/.so/...)
  (TsT <tst2006@gmail.com>)

from Tim Angus in ioquake3
svn 1499 git 48d8c8876b6ec035b0bb85f4d3c47c9210c3ca30

* s/FS_FilenameIsExecutable/FS_CheckFilenameIsNotExecutable/g
* Fix potential buffer under run in FS_CheckFilenameIsNotExecutable

from Thilo Schulz in ioquake3
svn 2098 git c4f739b8d03ca203435744c4a96e3561863ccdfe

Fix extension name comparison for DLL files

from Zack Middleton in ioquake3
git 6c88bf8aeee3c1e5449682f874f91e86cb393ef4

Rename FS_CheckFilenameIsNotExecutable to ..NotImmutable

from Harley Laue in ioquake3
git 1b2a6abed996b43eb108486abbda449b3d16e019

Rename FS_CheckFilenameIsNotImmutable to ..IsMutable
2013-05-07 22:20:02 +10:00
..
botlib vsprintf -> Q_vsnprintf 2013-05-07 22:18:45 +10:00
cgame CVE-2006-3401 Stack-based buffer overflow in CS_ITEMS 2013-05-07 22:20:01 +10:00
client CVE-2011-2764/CVE-2011-3012 check for dangerous file extensions 2013-05-07 22:20:02 +10:00
encryption ditch dos style newlines 2013-04-23 15:21:39 +10:00
ff ditch dos style newlines 2013-04-23 15:21:39 +10:00
game CVE-2011-2764/CVE-2011-3012 check for dangerous file extensions 2013-05-07 22:20:02 +10:00
ghoul2 avoid scoped enums which was until very recently a microsoft extension 2013-04-25 23:51:57 +10:00
goblib ditch dos style newlines 2013-04-23 15:21:39 +10:00
icarus vsprintf -> Q_vsnprintf 2013-05-07 22:18:45 +10:00
jpeg-6 fix #includes to compile on non windows without pch 2013-04-25 23:51:46 +10:00
mp3code rename some files to restore the correct case 2013-04-26 22:27:19 +10:00
null vsprintf -> Q_vsnprintf 2013-05-07 22:18:45 +10:00
png ditch dos style newlines 2013-04-23 15:21:39 +10:00
qcommon CVE-2011-2764/CVE-2011-3012 check for dangerous file extensions 2013-05-07 22:20:02 +10:00
Ratl remove surplus tokens after preprocessor directives 2013-05-02 13:47:50 +10:00
Ravl fix some accesses beyond the end of arrays spotted via clang 2013-04-26 22:27:24 +10:00
renderer CVE-2006-2236 Buffer overflow in the Quake 3 Engine 2013-05-07 22:18:45 +10:00
RMG strupr -> Q_strupr 2013-04-26 22:27:21 +10:00
sdl const fixes 2013-05-02 13:47:51 +10:00
server vsprintf -> Q_vsnprintf 2013-05-07 22:18:45 +10:00
smartheap remove some binary libraries 2013-04-23 15:30:43 +10:00
Splines vsprintf -> Q_vsnprintf 2013-05-07 22:18:45 +10:00
strings ditch dos style newlines 2013-04-23 15:21:39 +10:00
ui vsprintf -> Q_vsnprintf 2013-05-07 22:18:45 +10:00
unix vsprintf -> Q_vsnprintf 2013-05-07 22:18:45 +10:00
win32 vsprintf -> Q_vsnprintf 2013-05-07 22:18:45 +10:00
x_botlib Deleted all the Visual SourceSafe files. 2013-04-06 20:59:34 -04:00
x_exe Deleted all the Visual SourceSafe files. 2013-04-06 20:59:34 -04:00
x_jk2cgame Deleted all the Visual SourceSafe files. 2013-04-06 20:59:34 -04:00
x_jk2game Deleted all the Visual SourceSafe files. 2013-04-06 20:59:34 -04:00
x_ui Deleted all the Visual SourceSafe files. 2013-04-06 20:59:34 -04:00
zlib32 provide a gcc style alternative to the inline asm in zlib 2013-04-26 22:27:20 +10:00
buildvms.bat Jedi Academy Release 2013-04-04 17:35:38 -05:00
cleanvms.bat Jedi Academy Release 2013-04-04 17:35:38 -05:00
CMakeLists.txt disable some noisy and mostly harmless warnings 2013-05-02 13:47:51 +10:00
CommandLine.txt Jedi Academy Release 2013-04-04 17:35:38 -05:00
install.bat Jedi Academy Release 2013-04-04 17:35:38 -05:00
installvms.bat Jedi Academy Release 2013-04-04 17:35:38 -05:00
jk2mp.vcproj Jedi Academy Release 2013-04-04 17:35:38 -05:00
JKA_mp.sln Jedi Academy Release 2013-04-04 17:35:38 -05:00
namespace_begin.h ditch dos style newlines 2013-04-23 15:21:39 +10:00
namespace_end.h remove surplus tokens after preprocessor directives 2013-05-02 13:47:50 +10:00
tonet.bat Jedi Academy Release 2013-04-04 17:35:38 -05:00
tosend.bat Jedi Academy Release 2013-04-04 17:35:38 -05:00
update_MPents.bat Jedi Academy Release 2013-04-04 17:35:38 -05:00
VU.bat Jedi Academy Release 2013-04-04 17:35:38 -05:00
WinDed.dsp Jedi Academy Release 2013-04-04 17:35:38 -05:00
WinDed.vcproj Jedi Academy Patch 1.01 2013-04-04 18:21:13 -05:00