CVE-2021-40088 Missing authorization in n/a

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
ejbca BitnamiAll versions7.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.

Sources

Also known as BIT-ejbca-2021-40088, GHSA-vw75-3c43-6g3p.

Is CVE-2021-40088 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free