GLSA-200805-23 : Samba: Heap-based buffer overflow

high Nessus Plugin ID 32491

Synopsis

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

Description

The remote host is affected by the vulnerability described in GLSA-200805-23 (Samba: Heap-based buffer overflow)

Alin Rad Pop (Secunia Research) reported a vulnerability in Samba within the receive_smb_raw() function in the file lib/util_sock.c when parsing SMB packets, possibly leading to a heap-based buffer overflow via an overly large SMB packet.
Impact :

A remote attacker could possibly exploit this vulnerability by enticing a user to connect to a malicious server or by sending specially crafted packets to an nmbd server configured as a local or domain master browser, resulting in the execution of arbitrary code.
Workaround :

There is no known workaround at this time.

Solution

All Samba users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-fs/samba-3.0.28a-r1'

See Also

https://security.gentoo.org/glsa/200805-23

Plugin Details

Severity: High

ID: 32491

File Name: gentoo_GLSA-200805-23.nasl

Version: 1.15

Type: local

Published: 6/2/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:samba

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 5/29/2008

Reference Information

CVE: CVE-2008-1105

CWE: 119

GLSA: 200805-23