CVE-2016-2123 Integer overflow in samba

High 8.1 Published Updated

An integer overflow in Samba allows authenticated users to trigger memory corruption and escalate privileges via LDAP writes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-2123?

CVE-2016-2123 is a high-severity vulnerability in Samba Samba, published on 1 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains an integer wrap problem, leading to an attacker-controlled memory overwrite. ndr_pull_dnsp_name parses data from the Samba Active Directory ldb database. Any user who can write to the dnsRecord attribute over LDAP can trigger this memory corruption. By default, all authenticated LDAP users can write to the dnsRecord attribute on new DNS objects. This makes the defect a remote privilege escalation.

Weakness: CWE-119, CWE-122

Which versions are affected by CVE-2016-2123?

It affects 1 product.

Products include Samba Samba.

How do I fix CVE-2016-2123?

Upgrade to a fixed version.

Is CVE-2016-2123 being exploited?

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

All Samba Samba vulnerabilities

Sources

Also known as ALPINE-CVE-2016-2123, DEBIAN-CVE-2016-2123, ECHO-66d0-8aed-029e, GHSA-m2v2-w4f9-rmq6, UBUNTU-CVE-2016-2123.

Is CVE-2016-2123 in your software?

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

Check your SBOMs for free