Incorrect Default Permissions Affecting samba-ad-dc package, versions <4.9.5+git.224.86a8e66adea-3.18.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.73% (88th 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 Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES151-SAMBAADDC-2721692
  • published14 Apr 2022
  • disclosed17 Dec 2019

Introduced: 17 Dec 2019

CVE-2019-14861  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade SLES:15.1 samba-ad-dc to version 4.9.5+git.224.86a8e66adea-3.18.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-ad-dc package and not the samba-ad-dc package as distributed by SLES. See How to fix? for SLES:15.1 relevant fixed versions and status.

All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.11 and 4.11.x before 4.11.3 have an issue, where the (poorly named) dnsserver RPC pipe provides administrative facilities to modify DNS records and zones. Samba, when acting as an AD DC, stores DNS records in LDAP. In AD, the default permissions on the DNS partition allow creation of new records by authenticated users. This is used for example to allow machines to self-register in DNS. If a DNS record was created that case-insensitively matched the name of the zone, the ldb_qsort() and dns_name_compare() routines could be confused into reading memory prior to the list of DNS entries when responding to DnssrvEnumRecords() or DnssrvEnumRecords2() and so following invalid memory as a pointer.

CVSS Scores

version 3.1