Skip to content
Access control Advisory Intermediate CVE-2025-44005

smallstep Step-CA Certificate Signing authentication bypass vulnerability

The ACME provisioner's AuthorizeSign method in step-ca performs no validation on the provided token, so any token claiming to be from an ACME provisioner is accepted. An attacker can craft such a token and use it to sign any certificate signing request (CSR) with the CA, bypassing protocol authorization checks.

Stephen Kubik Follow

Originally disclosed on Cisco Talos

Critical 10.0 View original

An attacker can bypass authorization checks and force a Step CA ACME or SCEP provisioner to create certificates without completing certain protocol authorization checks.

Stephen Kubik, on Cisco Talos

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

Impact

An attacker could sign any CSR with the CA, obtaining certificates without completing ACME protocol authorization checks.

What the attacker needed

Access to the step-ca /sign endpoint; Knowledge of an ACME provisioner name

The fix

In v0.29.0, ACME and SCEP provisioners were updated to block requests providing a token; if unable to upgrade, block access to the /sign endpoint.

How it was found

  1. Create a new CSR.
  2. Create a token by signing a payload with any secret, specifying the ACME provisioner name in the audience.
  3. Send a request to the /sign endpoint with the CSR and the token.

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.

A certificate authority (CA) issues digital certificates that prove identity. Step-ca is a CA that uses different 'provisioners' to decide who can get certificates. The ACME provisioner is meant to be used only through the ACME protocol, which has its own checks. But the code that validates tokens for other endpoints (like /sign) did not check that the token was actually meant for ACME, so an attacker could make a fake token and get a certificate for any name.

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 from Cisco Talos

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.