Solaris kcms Buffer Overflow Vulnerability

BID:452

Info

Solaris kcms Buffer Overflow Vulnerability

Bugtraq ID: 452
Class: Boundary Condition Error
CVE:
Remote: No
Local: Yes
Published: Dec 24 1998 12:00AM
Updated: Dec 24 1998 12:00AM
Credit: First posted to Bugtraq on December 24, 1998 by Cheez Whiz <[email protected]> . Additional information posted by Casper Dik <[email protected]>, Dima Volodin <[email protected]>, and Mark K. Pettit <[email protected]>.
Vulnerable: Sun Solaris 2.5.1 _x86
Sun Solaris 2.5.1
Sun Solaris 7.0_x86
Sun Solaris 7.0
Sun Solaris 2.6_x86
Sun Solaris 2.6
Sun Solaris 2.5_x86
Sun Solaris 2.5
Not Vulnerable:

Discussion

Solaris kcms Buffer Overflow Vulnerability

There is an unchecked sprintf() call in the versions of /usr/openwin/bin/kcms_configure shipped with solaris 2.5, 2.5.1 and 2.6. Unfortunately, kcms_configure is installed setuid root, making it possible for an attacker to overflow the buffer and have arbitrary code executed with superuser privileges. The consequence of this vulnerability being exploited is a local root compromise.

Exploit / POC

Solaris kcms Buffer Overflow Vulnerability

For Solaris x86 and SPARC.

Solution / Fix

Solaris kcms Buffer Overflow Vulnerability

Solution:
Solaris has released patches addressing this issue for all affected platforms. Patches are available to all Sun customers at http://sunsolve.sun.com


Sun Solaris 7.0_x86
  • Sun 107339-01
    x86


Sun Solaris 2.6
  • Sun 107336-01
    sparc


Sun Solaris 7.0
  • Sun 107337-01
    sparc


Sun Solaris 2.6_x86
  • Sun 107338-01
    x86


Sun Solaris 2.5
  • Sun 103878-05
    sparc

  • Sun 103880-05
    x86


Sun Solaris 2.5.1 _x86
  • Sun 103881-05
    x86


Sun Solaris 2.5.1
  • Sun 103879-05
    sparc

References

Solaris kcms Buffer Overflow Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report