SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information

Report a Vulnerability

 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#670568

Samba creates temporary files insecurely

Overview

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

I. 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.

II. Impact

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

III. Solution

Apply vendor patches; see the Systems Affected section below.

Deinstall the Samba package.

Systems Affected

VendorStatusDate NotifiedDate Updated
CalderaVulnerable1-Aug-2001
ConectivaVulnerable1-Aug-2001
DebianVulnerable1-Aug-2001
FreeBSDVulnerable21-Aug-2001
MandrakeSoftVulnerable1-Aug-2001
Progency Linux SystemsVulnerable1-Aug-2001
RedHatVulnerable21-Aug-2001
Samba TeamVulnerable1-Aug-2001
TrustixVulnerable17-Sep-2001

References

http://www.securityfocus.com/bid/2617
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-01:36.samba.asc
http://www.linuxsecurity.com/advisories/freebsd_advisory-1314.html
http://www.redhat.com/support/errata/RHSA-2001-086.html
http://www.linuxsecurity.com/advisories/redhat_advisory-1369.html
http://www.linuxsecurity.com/advisories/mandrake_advisory-1319.html
http://www.linuxsecurity.com/advisories/other_advisory-1307.html
http://www.linuxsecurity.com/advisories/other_advisory-1362.html
http://www.linuxsecurity.com/advisories/debian_advisory-1302.html
http://www.linuxsecurity.com/advisories/other_advisory-1305.html
http://www.linuxsecurity.com/advisories/other_advisory-1298.html
http://www.caldera.com/support/security/advisories/CSSA-2001-015.0.txt

Credit

This vulnerability was first reported by Marcus Meissner of Caldera.

This document was last modified by Tim Shimeall.

Other Information

Date Public:2001-04-23
Date First Published:2001-09-17
Date Last Updated:2001-09-17
CERT Advisory: 
CVE-ID(s):CAN-2001-0406
NVD-ID(s):CAN-2001-0406
US-CERT Technical Alerts: 
Severity Metric:13.36
Document Revision:7

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

 
Page Corner Image
Copyright 2001 Carnegie Mellon University
Disclaimers and copyright information
Get a PDF Reader