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

Overview

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

Description

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.

Impact

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

Solution

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

36866
 

Sun Affected

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

Status

Affected

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.

Addendum

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
Base
Temporal
Environmental

References

Acknowledgements

Thanks to Job de Haas (job@itsx.com) of ITSX BV Amsterdam, The Netherlands (http://www.itsx.com) 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.