Access Restriction Bypass Affecting samba package, versions [3.0.25a,3.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SAMBA-2370490
  • published26 Jan 2022
  • disclosed14 Sept 2007
  • creditUnknown

Introduced: 14 Sep 2007

CVE-2007-4138  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade samba to version 3.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. The Winbind nss_info extension (nsswitch/idmap_ad.c) in idmap_ad.so in Samba 3.0.25 through 3.0.25c, when the "winbind nss info" option is set to rfc2307 or sfu, grants all local users the privileges of gid 0 when the (1) RFC2307 or (2) Services for UNIX (SFU) primary group attribute is not defined.

CVSS Base Scores

version 3.1