SecurityContext

CVE-2018-1057: Samba - Broken Access Control

  • Cve: CVE-2018-1057
  • Name: Samba - Broken Access Control
  • Description: 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).
  • Impact: Authenticated users can change any user's password, including admin and privileged accounts, leading to potential account takeover and privilege escalation.
  • Remediation: Update to the latest Samba version where this issue is fixed or apply security patches provided by Samba project.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs LDAP authentication
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.1004
  • Epss percentile: 0.95738
  • Assignee: [email protected]
  • Published at: 2018-03-13T16:29:00Z
  • Age in days: 3178
  • Modified at: 2026-06-17T01:50:22Z
  • Patch available: yes
  • References total: 10
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1057
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-863Incorrect Authorization

References

Same in every row:

  • Source: nvd
UrlTags
https://www.samba.org/samba/security/CVE-2018-1057.htmlMitigation, Vendor Advisory
http://www.securityfocus.com/bid/103382Third Party Advisory, VDB Entry
http://www.securitytracker.com/id/1040494Third Party Advisory, VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1553553Issue Tracking, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/04/msg00013.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/201805-07Third Party Advisory
https://security.netapp.com/advisory/ntap-20180313-0001/Third Party Advisory
https://usn.ubuntu.com/3595-1/Third Party Advisory
https://www.debian.org/security/2018/dsa-4135Third Party Advisory
https://www.synology.com/support/security/Synology_SA_18_08Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
samba:samba>= 4.7.0, < 4.7.6; >= 4.6.0, < 4.6.14; >= 4.0.0, < 4.5.16/v1/products/samba/samba
debian:debian_linux= 8.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 17.10, = 16.04, = 14.04/v1/products/canonical/ubuntu_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports