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

medium Nessus Plugin ID 37362

Synopsis

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

Description

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.

Solution

Update the affected packages.

See Also

https://usn.ubuntu.com/702-1/

Plugin Details

Severity: Medium

ID: 37362

File Name: ubuntu_USN-702-1.nasl

Version: 1.13

Type: local

Agent: unix

Published: 4/23/2009

Updated: 1/19/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

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:samba-doc, p-cpe:/a:canonical:ubuntu_linux:samba-doc-pdf, p-cpe:/a:canonical:ubuntu_linux:libwbclient0, p-cpe:/a:canonical:ubuntu_linux:smbclient, p-cpe:/a:canonical:ubuntu_linux:winbind, p-cpe:/a:canonical:ubuntu_linux:samba, p-cpe:/a:canonical:ubuntu_linux:samba-dbg, p-cpe:/a:canonical:ubuntu_linux:libsmbclient-dev, p-cpe:/a:canonical:ubuntu_linux:smbfs, p-cpe:/a:canonical:ubuntu_linux:swat, p-cpe:/a:canonical:ubuntu_linux:samba-tools, p-cpe:/a:canonical:ubuntu_linux:libsmbclient, cpe:/o:canonical:ubuntu_linux:8.10, p-cpe:/a:canonical:ubuntu_linux:libpam-smbpass, p-cpe:/a:canonical:ubuntu_linux:samba-common

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

Patch Publication Date: 1/5/2009

Reference Information

CVE: CVE-2009-0022

CWE: 20

USN: 702-1