Vulnerability Name:

CCN-15545

Published:2004-03-19
Updated:2004-03-19
Summary:Samba is vulnerable to a symlink. The smbprint-new.sh script, which is an example script, insecurely uses the /tmp/smb-print.log file. A local attacker could create a symbolic link from an arbitrary file on the system to this file, which could allow the attacker to overwrite arbitrary files and gain elevated privileges on the system.

Note: The vendor reports that Samba is not affected by this vulnerability because, by default, the script logs debug output to /dev/null.
CVSS v3 Severity:4.0 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:2.6 Low (CCN CVSS v2 Vector: AV:L/AC:H/Au:N/C:N/I:P/A:P)
2.3 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:H/Au:N/C:N/I:P/A:P/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Consequences:File Manipulation
References:Source: CCN
Type: BugTraq Mailing List, Fri Mar 19 2004 - 12:46:02 CST
Samba 'smbprint' script tmpfile vulnerability.

Source: CCN
Type: BugTraq Mailing List, Sat Mar 20 2004 - 00:11:16 CST
Re: Samba 'smbprint' script tmpfile vulnerability.

Source: CCN
Type: Samba Project Web site
Samba

Source: CCN
Type: GLSA-200404-21
Multiple Vulnerabilities in Samba

Source: CCN
Type: GLSA 200404-21
Multiple Vulnerabilities in Samba

Source: CCN
Type: BID-9926
Samba SMBPrint Sample Script Insecure Temporary File Handling Symbolic Link Vulnerability

Source: XF
Type: UNKNOWN
samba-smbprint-symlink(15545)

Vulnerable Configuration:Configuration CCN 1:
  • cpe:/a:samba:samba:3.0.2:*:*:*:*:*:*:*
  • AND
  • cpe:/o:gentoo:linux:*:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    samba samba 3.0.2
    gentoo linux *