CVE-2021-40088 Missing authorization in n/a
A missing authorization check in EJBCA allows a tenant to revoke certificates belonging to other tenants when using CMP RA Mode with shared client certificates.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-40088?
CVE-2021-40088 is a medium-severity missing authorization vulnerability in n/a, published on 25 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-862
Which versions are affected by CVE-2021-40088?
1 open source package ship an affected version, including ejbca. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ejbca Bitnami | All versions | 7.6.0 |
Products include Primekey Ejbca.
How do I fix CVE-2021-40088?
Upgrade ejbca to 7.6.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-40088 being exploited?
There is no known exploitation of CVE-2021-40088 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as BIT-ejbca-2021-40088, GHSA-vw75-3c43-6g3p.