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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.004 (27.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 27th percentile — 27.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-40088: held from 0.004 to 0.004.

EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000

Affected products

Weakness classification (CWE)

References

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.