Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-j7c9-79x7-8hpr

Опубликовано: 03 дек. 2025
Источник: github
Github: Прошло ревью
CVSS3: 5

Описание

step-ca Has Improper Authorization Check for SSH Certificate Revocation

Summary

An authorized attacker can bypass authorization checks and revoke any SSH certificate issued by Step CA by using a valid revocation token.

Details

Step CA users can obtain SSH certificates from a few provisioners. The SSHPOP provisioner allows revocation of the SSH certificate (preventing future certificate renewals) using a token. Due to a missing validity check, this token could be used to revoke any SSH certificate issued by the CA.

To create a token, an attacker must have access to the CA endpoint and a valid SSH certificate, meaning they were already authorized to obtain an SSH certificate. The attacker must also know the serial number of the certificate they want to revoke.

Impact

There is no way to mitigate this attack. It is recommended to update to v0.29.0 or newer.

Fix

In v0.29.0, the token validation logic was strengthened to bind each token to a specific SSH certificate serial number.

Acknowledgements

This issue was identified and reported by Gabriel Departout and Andy Russon, from AMOSSYS. This audit was sponsored by ANSSI (French Cybersecurity Agency) based on their Open-Source security audit program.

Embargo List

If your organization runs Step CA in production and would like advance, embargoed notification of future security updates, visit https://u.step.sm/disclosure to request inclusion on our embargo list.

Stay safe, and thank you for helping us keep the ecosystem secure.

Пакеты

Наименование

github.com/smallstep/certificates

go
Затронутые версииВерсия исправления

<= 0.28.4

0.29.0

EPSS

Процентиль: 7%
0.00028
Низкий

5 Medium

CVSS3

Дефекты

CWE-285
CWE-863

Связанные уязвимости

CVSS3: 5
nvd
2 месяца назад

Step CA is an online certificate authority for secure, automated certificate management for DevOps. Prior to 0.29.0, there is an improper authorization check for SSH certificate revocation. This affects deployments configured with the SSHPOP provisioner. This vulnerability is fixed in 0.29.0.

EPSS

Процентиль: 7%
0.00028
Низкий

5 Medium

CVSS3

Дефекты

CWE-285
CWE-863