Solaris xlock Heap Overflow Vulnerability

BID:3160

Info

Solaris xlock Heap Overflow Vulnerability

Bugtraq ID: 3160
Class: Boundary Condition Error
CVE: CVE-2001-0652
Remote: No
Local: Yes
Published: Aug 09 2001 12:00AM
Updated: Jan 31 2019 02:00AM
Credit: Discovered by Nsfocus Security Team <[email protected]>.
Vulnerable: Sun Solaris 8_x86
Sun Solaris 8_sparc
Sun Solaris 7.0_x86
Sun Solaris 7.0
Sun Solaris 2.6_x86
Sun Solaris 2.6
Not Vulnerable:

Discussion

Solaris xlock Heap Overflow Vulnerability

Xlock is a utility for locking X-windows displays. It is installed setuid root because it uses the user's password to authorize access to the display when it is locked.

The version of xlock that ships with Solaris as part of OpenWindows contains a heap overflow in it's handling of an environment variable.

Local attackers may be able to execute arbitrary code with effective privileges of xlock.

Exploit / POC

Solution / Fix

Solaris xlock Heap Overflow Vulnerability

Solution:
Sun has provided the patch IDs that the forthcoming fixes have been assigned. This record will be updated when the fixes are actually available for download.


Sun Solaris 7.0_x86
  • Sun 108377-26


Sun Solaris 2.6
  • Sun 105633-60


Sun Solaris 7.0
  • Sun 108376-30


Sun Solaris 8_x86
  • Sun 108653-33


Sun Solaris 2.6_x86
  • Sun 106248-45


Sun Solaris 8_sparc
  • Sun 108652-38

References

Solaris xlock Heap 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