Review certificate templates for enrolment settings that let low-privilege users request certificates with excessive subject control, authentication capability, or privileged EKUs. Look for templates that can be modified by unintended principals and for risky enrolment permissions. The practical check is to compare each template against your intended issuance policy and remove any template that allows privilege escalation through certificate-based authentication.
How vulnerable certificate templates show up in practice
Vulnerable AD CS template configurations usually stand out when issuance policy and actual template behavior diverge. A safe template should tightly control who can enroll, what subject details the requester may supply, and which EKUs are allowed. When those controls are loose, the template can become a privilege-escalation path rather than a routine issuance mechanism.
The fastest way to review a template is to ask three questions: who can enroll, who can modify the template, and what the certificate can be used for after issuance. If a low-trust group can request a certificate that is valid for authentication or can influence the subject enough to impersonate another principal, the configuration deserves immediate attention.
Template review is also about change control. Many AD CS issues become visible only when an otherwise ordinary template is writable by an unintended group, or when a template meant for one purpose quietly acquires more permissive enrollment settings over time. That is why template security must be checked as part of the certificate authority's broader issuance policy, not as a one-time hardening exercise.
What settings to inspect first
Start with enrollment permissions, manager approval requirements, and the template's subject and SAN controls. The dangerous combinations are usually easy to describe but easy to miss in a crowded console: self-service enrollment for too broad a group, requester-supplied subject data, and EKUs that enable authentication or certificate-based logon. For background on the broader template abuse patterns and escalation paths, see the AD CS Security Guide.
Next inspect template security descriptors and ownership. A template that can be altered by a delegated admin group, a compromised helpdesk account, or another unintended principal is not just mismanaged, it is a control failure that can be turned into a durable escalation route. Review whether the template can be modified without a formal change process and whether the CA will actually honor the resulting configuration.
Finally examine usage constraints. Templates that can issue certificates for client authentication, smart card logon, or other privileged authentication scenarios need much stricter review than ordinary TLS issuance. If the certificate can be trusted by directory authentication systems, then the template is part of the identity boundary and should be treated accordingly.
What makes a template risky enough to escalate
A template becomes high risk when the certificate it issues can be abused to authenticate as someone else, not merely to obtain a certificate. The key warning signs are excessive subject control, permissive enrollment by low-privilege users, and authentication-capable EKUs paired with weak mapping or broad trust. Those conditions can turn a certificate request into an account impersonation primitive.
Risk also rises when the template is reusable across multiple business functions or environments. A template intended for one team but trusted in another part of the directory can create cross-boundary issuance problems that are difficult to see from the template alone. If the issuance policy is unclear, the certificate authority may be enforcing a rule set that no longer matches the organization's privilege model.
When the configuration touches cryptographic lifetime or renewal behavior, compare it to your lifecycle policy as well. Long-lived certificates, weak renewal governance, or poor inventory of issued certificates can extend the time window in which a bad template continues to matter. That is why certificate lifecycle control and template control need to be reviewed together.
Risk and Threat Considerations
Vulnerable AD CS templates are risky because they can convert a normal enrollment workflow into a path for authentication abuse. If the requester can influence identity fields or obtain a certificate that maps to a more privileged account, the attacker does not need to break the password, they can borrow trust from the certificate infrastructure itself.
Failure mechanism: A template with weak enrollment restrictions, excessive subject control, or privileged EKUs can issue a certificate that directory services accept as proof of higher privilege than the requester should have.
Impact: The result can be unauthorized authentication, privilege escalation, persistence, or lateral movement through certificate-based trust, often with less obvious telemetry than password theft.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 addresses the attack surface, NIST SP 800-53 Rev 5 sets the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | AD CS template access should be limited to prevent excessive issuance and modification rights. |
| IA-5 — Authenticator Management | Certificate templates govern credential issuance and lifecycle for certificate-based authentication. | |
| CM-6 — Configuration Settings | Template misconfiguration is the core failure mode in vulnerable AD CS deployments. | |
| Recommendation — Restrict template enrollment and modification to the minimum required principals. Control certificate issuance, renewal, and revocation as managed authenticators. Baseline and review certificate template settings against approved secure configuration. | ||
| ISO/IEC 27001:2022 | A.5.15 — Access control | Template enrollment and modification permissions are access-control decisions over issuance authority. |
| A.8.24 — Use of cryptography | Certificate templates directly shape cryptographic trust and authentication use cases. | |
| Recommendation — Define and enforce who may enroll, modify, and approve certificate templates. Govern certificate use cases and trust assumptions through approved cryptographic policy. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | AD CS templates can issue certificates that enable improper authentication and impersonation. |
| NHI-05 — Overprivileged NHI | Templates that grant broad enrollment or privileged EKUs create excessive authority. | |
| Recommendation — Validate that certificate-based authentication cannot be abused through template misconfiguration. Remove unnecessary enrollment rights and privileged EKUs from certificate templates. | ||
Practitioner Guidance
What to verify: Confirm that every template has an explicit owner, a justified enrollment audience, and a documented reason for any EKU that enables authentication. If you cannot explain why a low-privilege group can request it, treat that as a remediation candidate rather than a tolerated exception.
Decision rule: If a template can be used for authentication and the requester can influence subject identity or SAN values, review it as a potential escalation path first and a convenience feature second. That ordering matters because the security decision is about who can become trusted, not just who can receive a certificate.
Common mistake: Teams often focus on certificate expiry and key strength while overlooking template permissions. Expiry matters, but a misconfigured template can remain exploitable for as long as the CA trusts it, especially if the issue is embedded in a widely used issuance pattern.
Practitioner takeaway: Treat template review as a privilege review, not only a PKI review, because the dangerous failure mode is not malformed certificates, it is certificates that authenticate the wrong principal.
Related resources from NHI Mgmt Group
- What do teams get wrong about AD Certificate Services risk?
- How should security teams use decoy certificate templates to detect AD CS abuse early?
- Who is accountable when a vulnerable certificate template allows an attacker to impersonate a privileged account?
- What is the difference between certificate issuance permissions and certificate template permissions in AD CS?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 20, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org