{"id":"CVE-2018-1057","details":"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).","modified":"2026-05-18T05:50:17.968201558Z","published":"2018-03-13T16:29:00.287Z","related":["SUSE-SU-2018:1687-1","openSUSE-SU-2024:11365-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"last_affected":"14.04"},{"last_affected":"16.04"},{"last_affected":"17.10"}],"cpes":["cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:lts:*:*:*"],"vendor_product":"canonical:ubuntu_linux","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"8.0"}],"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"],"vendor_product":"debian:debian_linux","source":"CPE_FIELD"}]},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/103382"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1040494"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00013.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201805-07"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180313-0001/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3595-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4135"},{"type":"ADVISORY","url":"https://www.samba.org/samba/security/CVE-2018-1057.html"},{"type":"ADVISORY","url":"https://www.synology.com/support/security/Synology_SA_18_08"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1553553"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/samba-team/samba","events":[{"introduced":"df33344d8eb40221d60c99931690703a11d91bc2"},{"fixed":"4b43ad87039c0e94522b2baa7381255e28935f4e"},{"introduced":"f17816a4ae2bb0ed45561347a4c578ca9ab28ccf"},{"fixed":"d64e68abdb0c468467b6ea480dd2ede8c0315374"},{"introduced":"d1e69845e28c20a491c4cd60c712b46ddfcb9dc0"},{"fixed":"5cfa947e5098bc361ff13fdad1b4fe3211a39154"}],"database_specific":{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.5.16"},{"introduced":"4.6.0"},{"fixed":"4.6.14"},{"introduced":"4.7.0"},{"fixed":"4.7.6"}],"cpe":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","source":"CPE_FIELD"}}],"versions":["samba-4.6.13","samba-4.7.5","samba-4.7.4","ldb-1.2.3","samba-4.6.12","samba-4.6.10","samba-4.7.2","samba-4.7.1","samba-4.6.9","samba-4.7.0","samba-4.6.7","samba-4.6.5","samba-4.6.3","samba-4.6.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-1057.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}