CVE-2018-1057 Missing authorization in Samba

High 8.8 Published Updated

Authenticated users can modify any other user's password, including administrators, due to incorrect LDAP permission validation in Samba AD DC.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1057?

CVE-2018-1057 is a high-severity missing authorization vulnerability in Canonical Ubuntu Linux, published on 13 Mar 2018. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-863

Which versions are affected by CVE-2018-1057?

It affects 3 products.

Linux distribution packages (6)
samba SUSE:Enterprise Storage 5All versions4.6.14+git.150.1540e575faf-3.24.1
samba SUSE:Linux Enterprise Desktop 12 SP3All versions4.6.14+git.150.1540e575faf-3.24.1
samba SUSE:Linux Enterprise High Availability Extension 12 SP3All versions4.6.14+git.150.1540e575faf-3.24.1
samba SUSE:Linux Enterprise Server 12 SP3All versions4.6.14+git.150.1540e575faf-3.24.1
samba SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions4.6.14+git.150.1540e575faf-3.24.1
samba SUSE:Linux Enterprise Software Development Kit 12 SP3All versions4.6.14+git.150.1540e575faf-3.24.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Samba Samba.

How do I fix CVE-2018-1057?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2018-1057 being exploited?

There is no known exploitation of CVE-2018-1057 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-1057, AZL-7346, DEBIAN-CVE-2018-1057, ECHO-1ee2-55c5-a468, GHSA-6r4h-vw53-wmvv, SUSE-SU-2018:1687-1 and 1 more.

Is CVE-2018-1057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free