# Badlock

> Flaws in the SAMR/LSA protocols of Samba and Windows enabling man-in-the-middle attacks on Active Directory traffic.

## At a glance

Badlock is a vulnerability in the area of Network, disclosed on 12 April 2016 and tracked as CVE-2016-2118 and CVE-2016-0128. It was discovered by Stefan Metzmacher (SerNet). The rights to the logo lie with SerNet; the designer is not stated. The logo is in the public domain (CC0 1.0) and may be used without restriction.

## Background

An attacker between client and server can downgrade the protection level of the SAMR and LSAD protocols and then impersonate an authenticated user. This allows access to the account database and denial of service. The flaw was announced with a name, logo and website three weeks before patch day and turned out less dramatic than expected.

## Facts

- Disclosed: 12 April 2016
- CVE: [CVE-2016-2118](https://nvd.nist.gov/vuln/detail/CVE-2016-2118), [CVE-2016-0128](https://nvd.nist.gov/vuln/detail/CVE-2016-0128)
- Area: [Network](https://vulnallery.de/en/category/network/)
- Discovered by: Stefan Metzmacher (SerNet)
- Affected: Samba 3.6.0 to 4.4.0 and Microsoft Windows
- Severity: CVSS 3.1 7.5 (high), CVE-2016-2118, NVD
- Official website: https://web.archive.org/web/20170608065927/http://badlock.org/
- Wikidata: https://www.wikidata.org/wiki/Q23803536
- Logo: https://vulnallery.de/assets/img/badlock.webp
- Rights holder: SerNet
- Logo licence: CC0 1.0 – public domain dedication
- Source of the image rights: https://commons.wikimedia.org/wiki/File:Badlock_logo.svg
- Sources: https://samba.org/samba/security/CVE-2016-2118, https://kb.cert.org/vuls/id/813296, https://www.securityweek.com/microsoft-samba-patch-badlock-vulnerability/, https://nvd.nist.gov/vuln/detail/CVE-2016-2118

## Questions and answers about Badlock

### What is Badlock?

Flaws in the SAMR/LSA protocols of Samba and Windows enabling man-in-the-middle attacks on Active Directory traffic. An attacker between client and server can downgrade the protection level of the SAMR and LSAD protocols and then impersonate an authenticated user. This allows access to the account database and denial of service. The flaw was announced with a name, logo and website three weeks before patch day and turned out less dramatic than expected. Badlock was disclosed on 12 April 2016.

### Who discovered Badlock?

Badlock was discovered by Stefan Metzmacher (SerNet).

### What is affected by Badlock?

Affected: Samba 3.6.0 to 4.4.0 and Microsoft Windows.

### How severe is Badlock?

NVD rates CVE-2016-2118 with a CVSS 3.1 base score of 7.5 out of 10 (high).

### Who designed the Badlock logo?

The rights to the logo lie with SerNet; the designer is not stated.

### May I use the Badlock logo?

The logo is in the public domain (CC0 1.0) and may be used without restriction. No guarantee; the source commons.wikimedia.org is authoritative.

### Which CVE identifier does Badlock have?

Badlock is tracked as CVE-2016-2118 and CVE-2016-0128.

---

Source: Vulnallery – https://vulnallery.de/en/badlock/ (as of 2026-11-20). This page in German: https://vulnallery.de/de/badlock/
