Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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 LDAP allowing authenticated users to change any other users' passwords, including administrative users and privileged service accounts (eg Domain Controllers).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1057
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:40 UTC · Revision 1

Source evidence

CVE-2018-1057

core-osv · Original source

Published 13 Mar 2018, 16:29 UTC

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

osv:CVE-2018-1057
Complete source record
{
  "id": "824b2cc2c9ebc28b14ddd3ae7a79c7f5a3a3024275575ce14dc3a63811e84a02",
  "url": "https://osv.dev/vulnerability/CVE-2018-1057",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1057",
    "summary": "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).",
    "evidence": "osv:CVE-2018-1057",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-1057",
      "aliases": [
        "CVE-2018-1057"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/samba-team/samba",
              "type": "GIT",
              "events": [
                {
                  "introduced": "df33344d8eb40221d60c99931690703a11d91bc2"
                },
                {
                  "fixed": "4b43ad87039c0e94522b2baa7381255e28935f4e"
                },
                {
                  "introduced": "f17816a4ae2bb0ed45561347a4c578ca9ab28ccf"
                },
                {
                  "fixed": "d64e68abdb0c468467b6ea480dd2ede8c0315374"
                },
                {
                  "introduced": "d1e69845e28c20a491c4cd60c712b46ddfcb9dc0"
                },
                {
                  "fixed": "5cfa947e5098bc361ff13fdad1b4fe3211a39154"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.5.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.6.0"
                      },
                      {
                        "fixed": "4.6.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.7.0"
                      },
                      {
                        "fixed": "4.7.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "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/cve-osv-conversion/osv-output/CVE-2018-1057.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:56.711036415Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/04/msg00013.html",
        "https://security.gentoo.org/glsa/201805-07",
        "https://security.netapp.com/advisory/ntap-20180313-0001/",
        "https://usn.ubuntu.com/3595-1/",
        "https://www.debian.org/security/2018/dsa-4135",
        "https://www.samba.org/samba/security/CVE-2018-1057.html",
        "https://www.synology.com/support/security/Synology_SA_18_08",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1553553"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "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",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "17.10"
                  },
                  {
                    "last_affected": "17.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1057",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 438716,
  "published_at": "2018-03-13T16:29:00.287+00:00"
}