search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Solaris ufsrestore buffer overflow in command pathname parameters for interactive session

Vulnerability Note VU#36866

Original Release Date: 2001-04-06 | Last Revised: 2001-11-19


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.

Vendor Information


Sun Affected

Notified:  March 17, 2001 Updated: November 19, 2001



Vendor Statement

This issue has been addressed by the following patchIDs:

103261-08 SunOS 5.5: ufsdump & ufsrestore patch
103262-08 SunOS 5.5_x86: ufsdump & ufsrestore patch
103640-35 SunOS 5.5.1: kernel, nisopaccess, & libthread patch
103641-35 SunOS 5.5.1_x86: kernel, nisopaccess, & libthread patch
105722-07 SunOS 5.6: /usr/lib/fs/ufs/ufsdump and ufsrestore patch
105723-07 SunOS 5.6_x86: /usr/lib/fs/ufs/ufsdump and ufsrestore patch
106793-07 SunOS 5.7: ufsdump and ufsrestore patch
106794-07 SunOS 5.7_x86: ufsdump and ufsrestore patch
109091-04 SunOS 5.8: /usr/lib/fs/ufs/ufsrestore patch
110387-03 SunOS 5.8: ufssnapshots support, ufsdump patch
109092-04 SunOS 5.8_x86: /usr/lib/fs/ufs/ufsrestore patch
110402-02 SunOS 5.8_x86: ufsdump patch

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


Sun security bulletin #210 describes this vulnerability and the patches to correct it.

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

CVSS Metrics

Group Score Vector



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
Severity Metric: 16.71
Date Public: 2000-06-14
Date First Published: 2001-04-06
Date Last Updated: 2001-11-19 22:38 UTC
Document Revision: 12

Sponsored by CISA.