Debian DSA-262-1 : samba - remote exploit

critical Nessus Plugin ID 15099

Synopsis

The remote Debian host is missing a security-related update.

Description

Sebastian Krahmer of the SuSE security audit team found two problems in samba, a popular SMB/CIFS implementation. The problems are :

- a buffer overflow in the SMB/CIFS packet fragment re-assembly code used by smbd. Since smbd runs as root an attacker can use this to gain root access to a machine running smbd.
- the code to write reg files was vulnerable for a chown race which made it possible for a local user to overwrite system files

Both problems have been fixed in upstream version 2.2.8, and version 2.2.3a-12.1 of package for Debian GNU/Linux 3.0/woody.

Solution

Upgrade the affected samba package.

See Also

http://www.debian.org/security/2003/dsa-262

Plugin Details

Severity: Critical

ID: 15099

File Name: debian_DSA-262.nasl

Version: 1.20

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, 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: p-cpe:/a:debian:debian_linux:samba, cpe:/o:debian:debian_linux:3.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/15/2003

Exploitable With

CANVAS (CANVAS)

Core Impact

Reference Information

CVE: CVE-2003-0085, CVE-2003-0086

BID: 7106, 7107

DSA: 262