CVE-2020-17049: Kerberos Bronze Bit Attack – Overview
The Kerberos Bronze Bit attack allows an attacker with a service account's password hash and constrained delegation rights to impersonate any user, including protected users, by flipping the forwardable flag in a service ticket. This bypasses existing protections and enables lateral movement and privilege escalation.
blog.netspi.com
Published on blog.netspi.com
Technical / Network Pentesting
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
The forwardable flag in a Kerberos service ticket is only protected by encryption with the service account's password hash, so an attacker who knows that hash can decrypt the ticket, flip the flag, and re-encrypt it without detection.
Impact
The attacker could impersonate any user, including protected users, to the second service, enabling lateral movement and privilege escalation.
What the attacker needed
Foothold in target environment; password hash of a service account; service account allowed constrained delegation
How it was found
- Obtain a foothold in the target environment.
- Obtain the password hash of a service account that is allowed to perform constrained delegation.
- Use the S4U2self protocol to obtain a service ticket for the targeted user to the compromised service.
- Decrypt the service ticket, flip the forwardable flag to 1, and re-encrypt it.
- Use the tampered ticket in the S4U2proxy protocol to obtain a service ticket for the targeted user to the targeted service.
- Use the final service ticket to impersonate the targeted user and send requests to the targeted service.
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 system that proves who you are on a network. In this attack, someone who has stolen a special key (a password hash) for a service can trick another service into thinking they are a different, more powerful user. They do this by changing a single setting in a digital ticket that says 'this ticket can be passed on'.
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.