Every CVE Search/ Get API key

CVE-2018-1057

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly...

8.8 HighFix available

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

10.0%Up 7.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
CVE-2018-1057
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:P
Weakness
CWE-863
Updated
2026-11-02
CVE List No score

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
CVE-2018-1057
Weakness
CWE-863
Updated
2026-11-02
EUVDEUVD-2018-11710 No score

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
EUVD-2018-11710
Updated
2026-11-03
GitHub AdvisoriesGHSA-6r4h-vw53-wmvv 8.8

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly...

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
GHSA-6r4h-vw53-wmvv
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
OSVALPINE-CVE-2018-1057 8.8

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
ALPINE-CVE-2018-1057
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-7346 8.8

CVE-2018-1057 affecting package samba for versions less than 4.12.5-6

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
AZL-7346
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSV 8.8

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
CVE-2018-1057
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-1057 8.8

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
DEBIAN-CVE-2018-1057
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-1057 8.8

On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Record
UBUNTU-CVE-2018-1057
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2018-0201 No score

Updated samba packages fix security vulnerabilities

It was discovered that Samba is prone to a denial of service attack when the RPC spoolss service is configured to be run as an external daemon (CVE-2018-1050).

Bjoern Baumbach from Sernet discovered that on Samba 4 AD DC the LDAP server incorrectly validates permissions to modify passwords over LDAP allowing authenticated users to change any other users passwords, including administrative users (CVE-2018-1057).

Note that Mageia 5 was only affected by the CVE-2018-1050 issue.

Record
MGASA-2018-0201
Updated
2026-11-02
OSVopenSUSE-SU-2024:11365-1 No score

ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media

These are all security issues fixed in the ctdb-4.14.6+git.182.2205d5224e3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11365-1
Updated
2026-11-02
OSVSUSE-SU-2018:1687-1 No score

Security update for samba

Samba was updated to 4.6.14, fixing bugs and security issues:

Version update to 4.6.14 (bsc#1093664):

  • vfs_ceph: add fake async pwrite/pread send/recv hooks; (bso#13425).
  • Fix memory leak in vfs_ceph; (bso#13424).
  • winbind: avoid using fstrcpy(dcname,...) in _dual_init_connection; (bso#13294).
  • s3:smb2_server: correctly maintain request counters for compound requests; (bso#13215).
  • s3: smbd: Unix extensions attempts to change wrong field in fchown call; (bso#13375).
  • s3:smbd: map nterror on smb2_flush errorpath; (bso#13338).
  • vfs_glusterfs: Fix the wrong pointer being sent in glfs_fsync_async; (bso#13297).
  • s3: smbd: Fix possible directory fd leak if the underlying OS doesn't support fdopendir(); (bso#13270).
  • s3: ldap: Ensure the ADS_STRUCT pointer doesn't get freed on error, we don't own it here; (bso#13244).
  • s3:libsmb: allow -U'\administrator' to work; (bso#13206).
  • CVE-2018-1057: s4:dsdb: fix unprivileged password changes; (bso#13272); (bsc#1081024).
  • s3:smbd: Do not crash if we fail to init the session table; (bso#13315).
  • libsmb: Use smb2 tcon if conn_protocol >= SMB2_02; (bso#13310).
  • smbXcli: Add 'force_channel_sequence'; (bso#13215).
  • smbd: Fix channel sequence number checks for long-running requests; (bso#13215).
  • s3:smb2_server: allow logoff, close, unlock, cancel and echo on expired sessions; (bso#13197).
  • s3:smbd: return the correct error for cancelled SMB2 notifies on expired sessions; (bso#13197).
  • samba: Only use async signal-safe functions in signal handler; (bso#13240).
  • subnet: Avoid a segfault when renaming subnet objects; (bso#13031).
  • Fix vfs_ceph with 'aio read size' or 'aio write size' > 0; (bsc#1093664).
    • vfs_ceph: add fake async pwrite/pread send/recv hooks; (bso#13425).
    • Fix memory leak in vfs_ceph; (bso#13424).
Record
SUSE-SU-2018:1687-1
Updated
2026-11-02
OSVUSN-3595-1 No score

samba vulnerabilities

Björn Baumbach discovered that Samba incorrectly validated permissions when changing account passwords via LDAP. An authenticated attacker could use this issue to change the password of other users, including administrators, and perform actions as those users. (CVE-2018-1057)

It was discovered that Samba incorrectly validated inputs to the RPC spoolss service. An authenticated attacker could use this issue to cause the service to crash, resulting in a denial of service. (CVE-2018-1050)

Record
USN-3595-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
samba
Alpine:v3.10
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.11
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.12
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.13
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.14
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.15
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.16
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.17
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.18
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.19
4.0.0 up to 4.7.6-r0
4.7.6-r0
Show 30 moreShow less
Affected packages
PackageAffectedFixed
samba
Alpine:v3.20
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.21
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.22
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.23
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.24
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.4
4.0.0 up to 4.4.16-r2
4.4.16-r2
samba
Alpine:v3.5
4.0.0 up to 4.5.16-r0
4.5.16-r0
samba
Alpine:v3.6
4.0.0 up to 4.6.14-r0
4.6.14-r0
samba
Alpine:v3.7
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.8
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Alpine:v3.9
4.0.0 up to 4.7.6-r0
4.7.6-r0
samba
Azure Linux:2
before 4.12.5-6
4.12.5-6
samba
Debian:12
before 2:4.7.4+dfsg-2
2:4.7.4+dfsg-2
samba
Debian:13
before 2:4.7.4+dfsg-2
2:4.7.4+dfsg-2
samba
Debian:14
before 2:4.7.4+dfsg-2
2:4.7.4+dfsg-2
samba
Debian:8
From an advisory covering 4 CVEs
before 2:4.2.14+dfsg-0+deb8u12, plus listed versions
2:4.1.17+dfsg-22:4.1.17+dfsg-2+deb8u12:4.1.17+dfsg-2+deb8u22:4.1.17+dfsg-32:4.1.17+dfsg-4
Show 20 moreShow less
2:4.1.17+dfsg-52:4.1.20+dfsg-12:4.1.21+dfsg-12:4.1.21+dfsg-22:4.1.22+dfsg-12:4.2.1+dfsg-12:4.2.10+dfsg-0+deb8u12:4.2.10+dfsg-0+deb8u22:4.2.10+dfsg-0+deb8u32:4.2.14+dfsg-0+deb8u12:4.2.14+dfsg-0+deb8u102:4.2.14+dfsg-0+deb8u112:4.2.14+dfsg-0+deb8u22:4.2.14+dfsg-0+deb8u32:4.2.14+dfsg-0+deb8u42:4.2.14+dfsg-0+deb8u52:4.2.14+dfsg-0+deb8u62:4.2.14+dfsg-0+deb8u72:4.2.14+dfsg-0+deb8u82:4.2.14+dfsg-0+deb8u9
2:4.2.14+dfsg-0+deb8u12
samba
Debian:9
From an advisory covering 2 CVEs
before 2:4.5.12+dfsg-2+deb9u2, plus listed versions
2:4.5.12+dfsg-12:4.5.12+dfsg-22:4.5.12+dfsg-2+deb9u12:4.5.8+dfsg-22:4.5.8+dfsg-2+deb9u12:4.5.8+dfsg-2+deb9u2
2:4.5.12+dfsg-2+deb9u2
samba
Mageia:5
From an advisory covering 2 CVEs
before 3.6.25-2.9.mga5
3.6.25-2.9.mga5
samba
Mageia:6
From an advisory covering 2 CVEs
before 4.6.12-1.1.mga6
4.6.12-1.1.mga6
samba
SUSE:Linux Enterprise Desktop 12 SP3
before 4.6.14+git.150.1540e575faf-3.24.1
4.6.14+git.150.1540e575faf-3.24.1
samba
SUSE:Linux Enterprise High Availability Extension 12 SP3
before 4.6.14+git.150.1540e575faf-3.24.1
4.6.14+git.150.1540e575faf-3.24.1
samba
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 4.6.14+git.150.1540e575faf-3.24.1
4.6.14+git.150.1540e575faf-3.24.1
samba
SUSE:Linux Enterprise Server 12 SP3
before 4.6.14+git.150.1540e575faf-3.24.1
4.6.14+git.150.1540e575faf-3.24.1
samba
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 4.6.14+git.150.1540e575faf-3.24.1
4.6.14+git.150.1540e575faf-3.24.1
samba
SUSE:Enterprise Storage 5
before 4.6.14+git.150.1540e575faf-3.24.1
4.6.14+git.150.1540e575faf-3.24.1
samba
Ubuntu:14.04:LTS
before 2:4.3.11+dfsg-0ubuntu0.14.04.14, plus listed versions
2:3.6.18-1ubuntu32:4.0.10+dfsg-4ubuntu22:4.0.13+dfsg-1ubuntu12:4.1.3+dfsg-2ubuntu22:4.1.3+dfsg-2ubuntu3
Show 30 moreShow less
2:4.1.3+dfsg-2ubuntu42:4.1.3+dfsg-2ubuntu52:4.1.6+dfsg-1ubuntu12:4.1.6+dfsg-1ubuntu22:4.1.6+dfsg-1ubuntu2.14.04.12:4.1.6+dfsg-1ubuntu2.14.04.22:4.1.6+dfsg-1ubuntu2.14.04.32:4.1.6+dfsg-1ubuntu2.14.04.42:4.1.6+dfsg-1ubuntu2.14.04.52:4.1.6+dfsg-1ubuntu2.14.04.72:4.1.6+dfsg-1ubuntu2.14.04.82:4.1.6+dfsg-1ubuntu2.14.04.92:4.1.6+dfsg-1ubuntu2.14.04.112:4.1.6+dfsg-1ubuntu2.14.04.122:4.1.6+dfsg-1ubuntu2.14.04.132:4.3.8+dfsg-0ubuntu0.14.04.22:4.3.9+dfsg-0ubuntu0.14.04.12:4.3.9+dfsg-0ubuntu0.14.04.32:4.3.11+dfsg-0ubuntu0.14.04.12:4.3.11+dfsg-0ubuntu0.14.04.22:4.3.11+dfsg-0ubuntu0.14.04.32:4.3.11+dfsg-0ubuntu0.14.04.42:4.3.11+dfsg-0ubuntu0.14.04.62:4.3.11+dfsg-0ubuntu0.14.04.72:4.3.11+dfsg-0ubuntu0.14.04.82:4.3.11+dfsg-0ubuntu0.14.04.92:4.3.11+dfsg-0ubuntu0.14.04.102:4.3.11+dfsg-0ubuntu0.14.04.112:4.3.11+dfsg-0ubuntu0.14.04.122:4.3.11+dfsg-0ubuntu0.14.04.13
2:4.3.11+dfsg-0ubuntu0.14.04.14
samba
Ubuntu:16.04:LTS
before 2:4.3.11+dfsg-0ubuntu0.16.04.13, plus listed versions
2:4.1.17+dfsg-4ubuntu22:4.1.20+dfsg-1ubuntu12:4.1.20+dfsg-1ubuntu22:4.1.20+dfsg-1ubuntu32:4.1.20+dfsg-1ubuntu5
Show 18 moreShow less
2:4.3.3+dfsg-1ubuntu12:4.3.3+dfsg-1ubuntu22:4.3.3+dfsg-1ubuntu32:4.3.6+dfsg-1ubuntu12:4.3.8+dfsg-0ubuntu12:4.3.9+dfsg-0ubuntu0.16.04.12:4.3.9+dfsg-0ubuntu0.16.04.22:4.3.9+dfsg-0ubuntu0.16.04.32:4.3.11+dfsg-0ubuntu0.16.04.12:4.3.11+dfsg-0ubuntu0.16.04.32:4.3.11+dfsg-0ubuntu0.16.04.52:4.3.11+dfsg-0ubuntu0.16.04.62:4.3.11+dfsg-0ubuntu0.16.04.72:4.3.11+dfsg-0ubuntu0.16.04.82:4.3.11+dfsg-0ubuntu0.16.04.92:4.3.11+dfsg-0ubuntu0.16.04.102:4.3.11+dfsg-0ubuntu0.16.04.112:4.3.11+dfsg-0ubuntu0.16.04.12
2:4.3.11+dfsg-0ubuntu0.16.04.13
samba
Ubuntu:14.04:LTS
From an advisory covering 2 CVEs
before 2:4.3.11+dfsg-0ubuntu0.14.04.14, plus listed versions
2:3.6.18-1ubuntu32:4.0.10+dfsg-4ubuntu22:4.0.13+dfsg-1ubuntu12:4.1.3+dfsg-2ubuntu22:4.1.3+dfsg-2ubuntu3
Show 30 moreShow less
2:4.1.3+dfsg-2ubuntu42:4.1.3+dfsg-2ubuntu52:4.1.6+dfsg-1ubuntu12:4.1.6+dfsg-1ubuntu22:4.1.6+dfsg-1ubuntu2.14.04.12:4.1.6+dfsg-1ubuntu2.14.04.22:4.1.6+dfsg-1ubuntu2.14.04.32:4.1.6+dfsg-1ubuntu2.14.04.42:4.1.6+dfsg-1ubuntu2.14.04.52:4.1.6+dfsg-1ubuntu2.14.04.72:4.1.6+dfsg-1ubuntu2.14.04.82:4.1.6+dfsg-1ubuntu2.14.04.92:4.1.6+dfsg-1ubuntu2.14.04.112:4.1.6+dfsg-1ubuntu2.14.04.122:4.1.6+dfsg-1ubuntu2.14.04.132:4.3.8+dfsg-0ubuntu0.14.04.22:4.3.9+dfsg-0ubuntu0.14.04.12:4.3.9+dfsg-0ubuntu0.14.04.32:4.3.11+dfsg-0ubuntu0.14.04.12:4.3.11+dfsg-0ubuntu0.14.04.22:4.3.11+dfsg-0ubuntu0.14.04.32:4.3.11+dfsg-0ubuntu0.14.04.42:4.3.11+dfsg-0ubuntu0.14.04.62:4.3.11+dfsg-0ubuntu0.14.04.72:4.3.11+dfsg-0ubuntu0.14.04.82:4.3.11+dfsg-0ubuntu0.14.04.92:4.3.11+dfsg-0ubuntu0.14.04.102:4.3.11+dfsg-0ubuntu0.14.04.112:4.3.11+dfsg-0ubuntu0.14.04.122:4.3.11+dfsg-0ubuntu0.14.04.13
2:4.3.11+dfsg-0ubuntu0.14.04.14
samba
Ubuntu:16.04:LTS
From an advisory covering 2 CVEs
before 2:4.3.11+dfsg-0ubuntu0.16.04.13, plus listed versions
2:4.1.17+dfsg-4ubuntu22:4.1.20+dfsg-1ubuntu12:4.1.20+dfsg-1ubuntu22:4.1.20+dfsg-1ubuntu32:4.1.20+dfsg-1ubuntu5
Show 18 moreShow less
2:4.3.3+dfsg-1ubuntu12:4.3.3+dfsg-1ubuntu22:4.3.3+dfsg-1ubuntu32:4.3.6+dfsg-1ubuntu12:4.3.8+dfsg-0ubuntu12:4.3.9+dfsg-0ubuntu0.16.04.12:4.3.9+dfsg-0ubuntu0.16.04.22:4.3.9+dfsg-0ubuntu0.16.04.32:4.3.11+dfsg-0ubuntu0.16.04.12:4.3.11+dfsg-0ubuntu0.16.04.32:4.3.11+dfsg-0ubuntu0.16.04.52:4.3.11+dfsg-0ubuntu0.16.04.62:4.3.11+dfsg-0ubuntu0.16.04.72:4.3.11+dfsg-0ubuntu0.16.04.82:4.3.11+dfsg-0ubuntu0.16.04.92:4.3.11+dfsg-0ubuntu0.16.04.102:4.3.11+dfsg-0ubuntu0.16.04.112:4.3.11+dfsg-0ubuntu0.16.04.12
2:4.3.11+dfsg-0ubuntu0.16.04.13
samba
openSUSE:Tumbleweed
From an advisory covering 66 CVEs
before 4.14.6+git.182.2205d5224e3-1.1
4.14.6+git.182.2205d5224e3-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-1057 is a high vulnerability (CVSS 8.8) in Samba, published March 13, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 10.0%, the 95th percentile. Fixed in samba 4.7.6-r0.

References

Show 85 moreShow less
MoveEnter Open