####################################################################### Luigi Auriemma Application: IGI 2: Covert Strike http://www.igi2-game.com Versions: <= 1.3 Platforms: Windows, Linux Bug: format string bug Risk: high Exploitation: remote, versus server Date: 05 Apr 2004 Author: Luigi Auriemma e-mail: aluigi@altervista.org web: http://aluigi.altervista.org ####################################################################### 1) Introduction 2) Bug 3) The Code 4) Fix ####################################################################### =============== 1) Introduction =============== IGI 2 is a game developed by Innerloop (http://www.innerloop.com) and released in Febrary 2003. It has been defined by its creators as "a tactical stealth-based FPS with plenty of tension and action". ####################################################################### ====== 2) Bug ====== The IGI 2 server is affected by a format string bug in the logging function of the RCON commands. FYI, RCON commands are used by admins to administer their servers remotely. This function exists in both dedicated and normal servers and cannot be disabled. A practical example of the bug "in action" is the following: - Attacker sends: /hello-%08x.%08x.%08x.%08x - Server logs: [17:17:28] Consoled: 'hello-082aeefc.00000131.0061b64c.00000011' run from 192.168.0.3:32768 ####################################################################### =========== 3) The Code =========== http://aluigi.altervista.org/poc/igi2fs.zip ####################################################################### ====== 4) Fix ====== No fix. Developers have not replied to my mails. ####################################################################### --- Luigi Auriemma http://aluigi.altervista.org