Description
UFO: Alien Invasion versions up to and including 2.2.1 contain a buffer overflow vulnerability in its built-in IRC client component. When the client connects to an IRC server and receives a crafted numeric reply (specifically a 001 message), the application fails to properly validate the length of the response string. This results in a stack-based buffer overflow, which may corrupt control flow structures and allow arbitrary code execution. The vulnerability is triggered during automatic IRC connection handling and does not require user interaction beyond launching the game.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| UFO: Alien Invasion Project | UFO: Alien Invasion | ≤ 2.2.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 2 modules
-
UFO: Alien Invasion IRC Client Buffer Overflow
exploit/osx/misc/ufo_ai
-
UFO: Alien Invasion IRC Client Buffer Overflow
exploit/windows/misc/ufo_ai
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/misc/ufo_ai.rb exploit
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/osx/misc/ufo_ai.rb exploit
- https://www.exploit-db.com/exploits/16864 exploit
- https://www.exploit-db.com/exploits/14013 exploit
- https://www.moddb.com/news/ufo-alien-invasion-231-released vendor-advisory patch
- https://www.vulncheck.com/advisories/ufo-alien-invasion-irc-client-buffer-overflow third-party-advisory