Skip to content
Access control Advisory Advanced CVE-2022-34691

Microsoft Windows Active Directory Certificate Services Improper Authorization Privilege Escalation Vulnerability

The certificate issuance process in Active Directory Certificate Services did not properly authorise requests, so an authenticated attacker could submit a crafted certificate request and receive a certificate that lets them authenticate as a domain administrator. That certificate could then be used to escalate privileges and run arbitrary code on domain-joined machines.

Oliver Lyak Follow

Originally disclosed on Zero Day Initiative

High 8.4 View original

This vulnerability allows network-adjacent attackers to escalate privileges on affected installations of Microsoft Windows Active Directory Certificate Services. Authentication is required to exploit this vulnerability.

Oliver Lyak (@ly4k_), on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the certificate authority did not correctly validate the requester's authorisation or the contents of the certificate request before issuing a certificate.

Impact

An authenticated network-adjacent attacker could escalate to domain administrator and execute arbitrary code on domain-joined endpoints.

What the attacker needed

Network-adjacent access; valid authentication

The fix

Microsoft issued an update to correct the vulnerability.

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 report has not been written yet. The Original tab links to the source.

Active Directory is the system that manages logins and permissions on Windows networks. Certificate Services hands out digital certificates that can be used to prove identity. The bug meant the service did not check properly who was asking, so someone with a normal account could trick it into giving them a certificate that made them look like the most powerful administrator on the network.

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.

More by Oliver Lyak

View all

6 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

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.