FreeBSD : samba -- nss_info plugin privilege escalation vulnerability (2bc96f18-683f-11dc-82b6-02e0185f8d72)

medium Nessus Plugin ID 26087

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The Samba development team reports :

The idmap_ad.so library provides an nss_info extension to Winbind for retrieving a user's home directory path, login shell and primary group id from an Active Directory domain controller. This functionality is enabled by defining the 'winbind nss info' smb.conf option to either 'sfu' or 'rfc2307'.

Both the Windows 'Identity Management for Unix' and 'Services for Unix' MMC plug-ins allow a user to be assigned a primary group for Unix clients that differs from the user's Windows primary group. When the rfc2307 or sfu nss_info plugin has been enabled, in the absence of either the RFC2307 or SFU primary group attribute, Winbind will assign a primary group ID of 0 to the domain user queried using the getpwnam() C library call.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?75c47335

https://www.samba.org/samba/security/CVE-2007-4138.html

Plugin Details

Severity: Medium

ID: 26087

File Name: freebsd_pkg_2bc96f18683f11dc82b602e0185f8d72.nasl

Version: 1.17

Type: local

Published: 9/24/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.9

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:samba, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 9/21/2007

Vulnerability Publication Date: 9/11/2007

Reference Information

CVE: CVE-2007-4138

CWE: 264