Freeciv packets.c handle_player_attribute_chunk() denial of service
| freeciv-packetsc-dos (27955) |
Description:
Freeciv is vulnerable to a denial of service attack, caused by a vulnerability in the generic_handle_player_attribute_chunk() function in packets.c. A remote attacker could exploit this vulnerability to cause the server to crash by sending specially-crafted packets with negative value or a large positive offset.
Platforms Affected:
- Debian, Debian Linux 3.1
- Freeciv, Freeciv 2.1.0beta1 and prior
- Freeciv, Freeciv SVN 15-07-2006 and prior
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux 2006
Remedy:
Upgrade to the latest version of Freeciv (SVN 16 Jul 2006 or later), available from SourceForge.net. See References.
For Debian GNU/Linux:
Refer to DSA-1142-1 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Denial of Service
References:
- Luigi Auriemma Advisory 23 Jul 2006, Two crash vulnerabilities in Freeciv 2.1.0-beta1 (SVN 15 Jul 2006) at http://aluigi.altervista.org/adv/freecivx-adv.txt.
- SourceForge.net: Files, Freeciv at http://sourceforge.net/project/showfiles.php?group_id=138322.
- BID-19117: Freeciv Multiple Remote Denial of Service Vulnerabilities
- CVE-2006-3913: Buffer overflow in Freeciv 2.1.0-beta1 and earlier, and SVN 15 Jul 2006 and earlier, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a (1) negative chunk_length or a (2) large chunk->offset value in a PACKET_PLAYER_ATTRIBUTE_CHUNK packet in the generic_handle_player_attribute_chunk function in common/packets.c, and (3) a large packet->length value in the handle_unit_orders function in server/unithand.c.
- DSA-1142: freeciv -- missing boundary checks
- MDKSA-2006:135: Updated freeciv packages fix DoS vulnerabilities
- SA21171: Freeciv Denial of Service Vulnerabilities
- VUPEN/ADV-2006-2942: Freeciv packets.c and unithand.c Packets Handling Denial of Service Vulnerabilities
Reported:
Jul 23, 2006
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
