Vulnerability Note VU#36866

Solaris ufsrestore buffer overflow in command pathname parameters for interactive session

Original Release date: 06 Apr 2001 | Last revised: 19 Nov 2001


There is a buffer overflow in ufsrestore, a file restoration utility.


When operating in interactive mode, the pathname parameter of the extract command is not properly bounds checked. When used in conjunction with long pathnames contained in the dump file, an internal buffer can be overflowed, allowing an attacker to overwrite memory and gain root privileges.


A local user can gain root privileges by exploiting this vulnerability.


Apply a Patch

Apply a patch from your vendor.

Disable the setuid bit on ufsrestore

You can prevent this vulnerability from being exploited by removing the setuid bit from ufsrestore.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
SunAffected17 Mar 200119 Nov 2001
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



Thanks to Job de Haas ( of ITSX BV Amsterdam, The Netherlands ( for reporting this vulnerability to the CERT/CC.

This document was written by Cory F Cohen.

Other Information

  • CVE IDs: CVE-2000-0471
  • Date Public: 14 Jun 2000
  • Date First Published: 06 Apr 2001
  • Date Last Updated: 19 Nov 2001
  • Severity Metric: 16.71
  • Document Revision: 12


If you have feedback, comments, or additional information about this vulnerability, please send us email.