Crafty long argument buffer overflow

crafty-long-argument-bo (13017) The risk level is classified as HighHigh Risk

Description:

Crafty is vulnerable to a buffer overflow, caused by improper bounds checking of user-supplied input. If Crafty is installed setgid, a local attacker could pass an overly long argument to the program using a command line option to overflow a buffer and execute arbitrary code on the system with group "games" privileges.


Consequences:

Gain Privileges

Remedy:

No remedy available as of August 2003.

References:

  • BID-9893: Lim Unlimited Crafty Command Line Local Buffer Overflow Vulnerability
  • CVE-2003-0612: Multiple buffer overflows in main.c for Crafty 19.3 allow local users to gain group games privileges via long command line arguments to crafty.bin.
  • SA9577: Crafty Privilege Escalation Vulnerability
  • SECTRACK ID: 1009393: Crafty Game Command Line Buffer Overflows May Let Local Users Gain Elevated Privileges
  • SECTRACK ID: 1009398: (Debian Issues Fix) Crafty Game Command Line Buffer Overflows May Let Local Users Gain Elevated Privileges

Platforms Affected:

  • Robert Hyatt Crafty 19.3

Reported:

Aug 21, 2003

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page