Auth bypass in Primekey Ejbca
CVE-2021-40088
An issue was discovered in PrimeKey EJBCA before 7.6.0. CMP RA Mode can be configured to use a known client certificate to authenticate enrolling clients. The same RA client certificate is used for revocation requests as well. While enrollment enforces multi tenancy constraints (by verifying that the client certificate has access to the CA and Profiles being enrolled against), this check was not performed when authenticating revocation operations, allowing a known tenant to revoke a certificate belonging to another tenant.
Vulnerability class: Broken Access Control
EPSS: 0.004 (28.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L.
Affected products
- Primekey Ejbca
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (x_refsource_MISC, Vendor Advisory)
Frequently asked questions
- What is CVE-2021-40088?
- CVE-2021-40088 is a medium-severity vulnerability in Primekey Ejbca, classified under Missing Authorization. CVSS score: 5.4/10. Published 2021-08-25.
- How severe is CVE-2021-40088?
- Medium severity. CVSS v3 base score is 5.4 out of 10.