CVE-2020-28942 Missing authorization in n/a
Attackers with valid client certificates can bypass RA restrictions in EJBCA EST enrollment, gaining unauthorized access to CA services.
- 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-2020-28942?
CVE-2020-28942 is a medium-severity missing authorization vulnerability in n/a, published on 19 Nov 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue exists in PrimeKey EJBCA before 7.4.3 when enrolling with EST while proxied through an RA over the Peers protocol. As a part of EJBCA's domain security model, the peer connector allows the restriction of client certificates (for the RA, not the end user) to a limited set of allowed CAs, thus restricting the accessibility of that RA to the rights it has within a specific role. While this works for other protocols such as CMP, it was found that the EJBCA enrollment over an EST implementation bypasses this check, allowing enrollment with a valid client certificate through any functioning and authenticated RA connected to the CA. NOTE: an attacker must already have a trusted client certificate and authorization to enroll against the targeted CA.
Weakness: CWE-295
Which versions are affected by CVE-2020-28942?
1 open source package ship an affected version, including ejbca. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ejbca Bitnami | All versions | 7.4.3 |
Products include Primekey Ejbca.
How do I fix CVE-2020-28942?
Upgrade ejbca to 7.4.3 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-28942 being exploited?
There is no known exploitation of CVE-2020-28942 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as BIT-ejbca-2020-28942, GHSA-vjxv-h84w-vj5j.