Sun Solaris Xsun -co buffer overflow

solaris-xsun-co-bo (8703) The risk level is classified as HighHigh Risk

Description:

Sun Solaris is vulnerable to a buffer overflow in Xsun, the X11 server for Solaris. By specifying a color database file name containing 8000 bytes or more using the -co command-line argument, a local attacker could overflow a buffer and execute arbitrary code on the system with root privileges.


Consequences:

Gain Privileges

Remedy:

Apply the appropriate patch for your system, as listed in Sun Alert ID: 44843. See References.

References:

  • NSFOCUS Security Advisory (SA2002-01): Sun Solaris Xsun "-co" heap overflow.
  • Sun Alert ID: 44843: Xsun(1) Might Cause a Buffer Overflow in Solaris.
  • BID-4408: Sun Solaris XSun Color Database File Heap Overflow Vulnerability
  • CVE-2002-0158: Buffer overflow in Xsun on Solaris 2.6 through 8 allows local users to gain root privileges via a long -co (color database) command line argument.

Platforms Affected:

  • Sun Solaris 2.6
  • Sun Solaris 7.0
  • Sun Solaris 8

Reported:

Apr 02, 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 (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