Title: Genecys Remote Buffer Overflow and Denial Of Service Vulnerabilities
Severity: HIGH
Description:
Genecys is an open-source MMORPG (massively multiplayer online role-playing game) project. It is available for UNIX, Linux, and other UNIX-like operating systems.
Genecys is susceptible to multiple remote vulnerabilities:
- A buffer-overflow vulnerability. The application fails to perform sufficient boundary checks of user-supplied data before copying it to an insufficiently sized memory buffer. This issue presents itself in the application's usage of sprintf and strcat on buffers of 256 bytes in the 'tell_player_surr_changes' function in 'server/player.c'.
This issue potentially allows remote attackers to execute arbitrary machine code in the context of the affected server process. Failed exploit attempts will likely crash the application, denying service to legitimate users.
- A denial-of-service vulnerability. This issue presents itself due to the improper bounded usage of input to the 'parse_command' function in 'common/netparser.c'. The function fails to check the return values of a 'strchr' call used to parse commands. If an attacker omits a ':' character in a game server command, the server will halt.
This issue allows remote attackers to crash the affected application, denying service to legitimate users.
Version 0.2 and prior, as well as the CVS version, are vulnerable to these issues; other versions may also be affected.
Affected Products:
- Genecys Genecys 0.2
References:
- Genecys: Genecys Web Site
- Luigi Auriemma: Exploit code for genecys (zip file)
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.