CentOS 3 / 4 / 5 : samba (CESA-2007:0354)

critical Nessus Plugin ID 25224

Synopsis

The remote CentOS host is missing one or more security updates.

Description

Updated samba packages that fix several security flaws are now available.

This update has been rated as having critical security impact by the Red Hat Security Response Team.

Samba provides file and printer sharing services to SMB/CIFS clients.

Various bugs were found in NDR parsing, used to decode MS-RPC requests in Samba. A remote attacker could have sent carefully crafted requests causing a heap overflow, which may have led to the ability to execute arbitrary code on the server. (CVE-2007-2446)

Unescaped user input parameters were being passed as arguments to /bin/sh. A remote, authenticated, user could have triggered this flaw and executed arbitrary code on the server. Additionally, on Red Hat Enterprise Linux 5 only, this flaw could be triggered by a remote unauthenticated user if Samba was configured to use the non-default 'username map script' option. (CVE-2007-2447)

Users of Samba should upgrade to these packages, which contain backported patches to correct these issues. After upgrading, Samba should be restarted using 'service smb restart'

On Red Hat Enterprise Linux 5 the impact of these issues is reduced as Samba is constrained by the default SELinux 'targeted' policy.

Red Hat would like to thank the Samba developers, TippingPoint, and iDefense for reporting these issues.

Solution

Update the affected samba packages.

See Also

http://www.nessus.org/u?50ae6125

http://www.nessus.org/u?3ef38124

http://www.nessus.org/u?77120864

http://www.nessus.org/u?7826c463

http://www.nessus.org/u?5d97895f

http://www.nessus.org/u?b218e9d1

Plugin Details

Severity: Critical

ID: 25224

File Name: centos_RHSA-2007-0354.nasl

Version: 1.20

Type: local

Agent: unix

Published: 5/16/2007

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

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

Vulnerability Information

CPE: cpe:/o:centos:centos:3, p-cpe:/a:centos:centos:samba-swat, p-cpe:/a:centos:centos:samba, p-cpe:/a:centos:centos:samba-common, cpe:/o:centos:centos:4, cpe:/o:centos:centos:5, p-cpe:/a:centos:centos:samba-client

Required KB Items: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/14/2007

Vulnerability Publication Date: 5/14/2007

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (Samba "username map script" Command Execution)

Reference Information

CVE: CVE-2007-2446, CVE-2007-2447

BID: 23972, 23973, 24195, 24196, 24197, 24198

RHSA: 2007:0354