search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Samba creates temporary files insecurely

Vulnerability Note VU#670568

Original Release Date: 2001-09-17 | Last Revised: 2001-09-17

Overview

Samba handles temporary files insecurely, allowing arbitrary files to be overwritten and left in a state that would permit later modification.

Description

Samba is an implementation of the Server Message Block (SMB) protocol. Some versions of samba handle temporary files in an insecure manner that may allow local users to cause arbitrary files and devices to be overwritten. Due to easily predictable printer queue cache file names, local users may create symbolic links to any file or device causing it to be corrupted when a remote user accesses a printer. In addition, the file will be left with world-writable permissions, allowing any user to enter their own data.

Impact

By modifying arbitrary files, an attacker may gain elevated priveleges. By corrupting files or devices, an attacker may cause denial of service.

Solution

Apply vendor patches; see the Systems Affected section below.

Deinstall the Samba package.

Vendor Information

670568
 

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was first reported by Marcus Meissner of Caldera.

This document was last modified by Tim Shimeall.

Other Information

CVE IDs: CVE-2001-0406
Severity Metric: 13.36
Date Public: 2001-04-23
Date First Published: 2001-09-17
Date Last Updated: 2001-09-17 19:24 UTC
Document Revision: 7

Sponsored by CISA.