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.
Problem types
CWE-121 Stack-based Buffer Overflow
Product status
*
Credits
Jason Geffner
References
raw.githubusercontent.com/...exploits/windows/misc/ufo_ai.rb
raw.githubusercontent.com/...les/exploits/osx/misc/ufo_ai.rb
www.exploit-db.com/exploits/16864
www.exploit-db.com/exploits/14013
www.moddb.com/news/ufo-alien-invasion-231-released
www.vulncheck.com/...ien-invasion-irc-client-buffer-overflow