ChBg simplify_path buffer overflow
| chbg-simplifypath-bo (18595) |
Description:
ChBg is vulnerable to a buffer overflow, caused by improper bounds checking in the simplify_path function in the config.c file. By creating a specially-crafted list of file names, a remote attacker could overflow a buffer and execute arbitrary code on the system with user privileges, once the list is processed.
Consequences:
Gain Access
Remedy:
For Debian GNU/Linux 3.0(woody):
Upgrade to the latest version of chbg (1.5-1woody1 or later), as listed in DSA-644-1. See References.
References:
- ChBg Web page: chbg.
- University of Illinois Chicago Web site: chbg 1.5 simplify_path overflows res buffer.
- BID-11957: ChBg Scenario File Overflow Vulnerability
- CVE-2004-1264: Buffer overflow in the simplify_path function in config.c for ChBg 1.5 allows remote attackers to execute arbitrary code via a crafted chbg scenario file.
- DSA-644: chbg -- buffer overflow
- MDKSA-2005:027: Updated chbg packages fix vulnerability
Platforms Affected:
- Debian Debian Linux 3.0
- MandrakeSoft Mandrake Linux 10.0
- MandrakeSoft Mandrake Linux 10.0 AMD64
- MandrakeSoft Mandrake Linux 10.1
- MandrakeSoft Mandrake Linux 10.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- Stevo Ondrejicka ChBg 1.5
Reported:
Dec 17, 2004
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
