KGhostview GSview DSC parser .ps input file buffer overflow
| gsview-dsc-ps-bo (11319) |
Description:
GSview is vulnerable to a buffer overflow, caused by improper bounds checking of .ps (PostScript) input files. By creating a specially-crafted PostScript file, a remote or local attacker could overflow a buffer and execute arbitrary code on the system, once a victim opens the file.
Platforms Affected:
- Ghostgum Software, DSC (Document Structuring Conventions) 3.0
- KDE, KDE prior to 3.0.4
- MandrakeSoft, Mandrake Linux 8.1
- MandrakeSoft, Mandrake Linux 8.2
- MandrakeSoft, Mandrake Linux 9.0
- RedHat, Linux 7.2
- RedHat, Linux 7.3
- RedHat, Linux 8.0
Remedy:
For Red Hat Linux:
Upgrade to the latest kdegraphics package, as listed below. Refer to RHSA-2002:220-41 for more information. See References.
Red Hat Linux 7.2: 2.2.2-2.1 or later
Red Hat Linux 7.3: 3.0.3-0.7.2 or later
Red Hat Linux 8.0: 3.0.3-5 or later
For KDE KGhostView:
Apply the appropriate patch for your system, as listed in KDE Security Advisory 2002-10-08. See References.
For Mandrake Linux:
Upgrade to the latest kdegraphics package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2002:071 : kdegraphics for more information. See References.
Mandrake Linux 8.1: 2.2.1-2.1mdk or later
Mandrake Linux 8.2: 2.2.2-15.1mdk or later
Mandrake Linux 9.0: 3.0.3-11.1mdk or later
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- KDE Security Advisory 2002-10-08, KGhostview Arbitary Code Execution at http://www.kde.org/info/security/advisory-20021008-1.txt.
- CVE-2002-1223: Buffer overflow in DSC 3.0 parser from GSview, as used in KGhostView in KDE 1.1 and KDE 3.0.3a, may allow attackers to cause a denial of service or execute arbitrary code via a modified .ps (PostScript) input file.
- RHSA-2002-220: Updated KDE packages fix security issues
Reported:
Oct 08, 2002
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
