pcal getline and pcalutil buffer overflows
| pcal-getline-pcalutil-bo (18552) |
Description:
pcal is vulnerable to a buffer overflow in the getline and pcalutil functions. By creating a specially-crafted calendar file, a remote attacker could overflow a buffer and execute arbitrary code on the system with user privileges, once the file is opened.
Platforms Affected:
- Debian, Debian Linux 3.0
- pcal, pcal 0.7.1
Remedy:
For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest version of pcal (4.7-8woody1 or later), as listed in DSA-625-1. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- pcal Web site, PCAL and LCAL: PostScript Calendar Programs at http://pcal.sourceforge.net/.
- University of Illinois Chicago Web site, pcal 4.7.1 getline overflows tmpbuf; at http://tigger.uic.edu/~jlongs2/holes/pcal.txt.
- BID-12035: PCAL Calendar File getline Buffer Overflow Vulnerability
- BID-12036: PCAL Calendar File get_holiday Buffer Overflow Vulnerability
- CVE-2004-1289: Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday function in readfile.c for pcal 4.7.1 allow remote attackers to execute arbitrary code via a crafted calendar file.
- DSA-625: pcal -- buffer overflows
Reported:
Dec 15, 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
