Skip to content
Access control Write-up Advanced

CVE-2020-17049: Kerberos Bronze Bit Attack – Practical Exploitation

The Kerberos Bronze Bit vulnerability (CVE-2020-17049) allows an attacker with a foothold in an Active Directory environment to bypass Kerberos delegation restrictions, such as impersonating protected users or using services not trusted for protocol transition. This enables privilege escalation and compromise of other services by impersonating targeted users.

blog.netspi.com

Published on blog.netspi.com

Technical / Network Pentesting

Jake Karnes, on blog.netspi.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Key Distribution Center (KDC) does not properly validate the forwardable flag in service tickets during the S4U2proxy exchange, allowing an attacker who knows a service's long-term key to modify the ticket and set the forwardable flag.

Impact

An attacker could impersonate protected users and gain unauthorized access to services, potentially leading to full compromise of those services.

What the attacker needed

Foothold in AD environment; obtain service account hash; service with constrained delegation; target user protected from delegation

How it was found

  1. The attacker gains a foothold in the AD environment.
  2. The attacker obtains the password hash for a service account (Service1).
  3. Service1 has a constrained delegation trust relationship to another service (Service2).
  4. The attacker uses the exploit to act as Service1 and obtain a Kerberos service ticket as a targeted user to Service2.
  5. The attacker impersonates the targeted user, presenting the service ticket to Service2.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Kerberos is a computer network authentication protocol that allows nodes to prove their identity securely. In Windows Active Directory, delegation lets a service act on behalf of a user to access another service. This bug lets an attacker who already has some access trick the system into giving them a ticket that lets them pretend to be a protected user, even when rules should prevent that.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.