Ubuntu 8.10 : samba vulnerability (USN-702-1)

Medium Nessus Plugin ID 37362


The remote Ubuntu host is missing one or more security-related patches.


Gunter Hockel discovered that Samba with registry shares enabled did not properly validate share names. An authenticated user could gain access to the root filesystem by using an older version of smbclient and specifying an empty string as a share name. This is only an issue if registry shares are enabled on the server by setting 'registry shares = yes', 'include = registry', or 'config backend = registry', which is not the default.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 37362

File Name: ubuntu_USN-702-1.nasl

Version: $Revision: 1.9 $

Type: local

Agent: unix

Published: 2009/04/23

Modified: 2016/05/27

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.3

Vector: CVSS2#AV:N/AC:M/Au:S/C:C/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libpam-smbpass, p-cpe:/a:canonical:ubuntu_linux:libsmbclient, p-cpe:/a:canonical:ubuntu_linux:libsmbclient-dev, p-cpe:/a:canonical:ubuntu_linux:libwbclient0, p-cpe:/a:canonical:ubuntu_linux:samba, p-cpe:/a:canonical:ubuntu_linux:samba-common, p-cpe:/a:canonical:ubuntu_linux:samba-dbg, p-cpe:/a:canonical:ubuntu_linux:samba-doc, p-cpe:/a:canonical:ubuntu_linux:samba-doc-pdf, p-cpe:/a:canonical:ubuntu_linux:samba-tools, p-cpe:/a:canonical:ubuntu_linux:smbclient, p-cpe:/a:canonical:ubuntu_linux:smbfs, p-cpe:/a:canonical:ubuntu_linux:swat, p-cpe:/a:canonical:ubuntu_linux:winbind, cpe:/o:canonical:ubuntu_linux:8.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2009/01/05

Reference Information

CVE: CVE-2009-0022

USN: 702-1

CWE: 20