CVE-2022-34831
This occurs even if the certificate profile is configured to not allow a DN override by the CSR.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.51%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
An issue was discovered in Keyfactor PrimeKey EJBCA before 7.9.0, related to possible inconsistencies in DNS identifiers submitted in an ACME order and the corresponding CSR submitted during finalization. During the ACME enrollment process, an order is submitted containing an identifier for one or multiple dnsNames. These are validated properly in the ACME challenge. However, if the validation passes, a non-compliant client can include additional dnsNames the CSR sent to the finalize endpoint, resulting in EJBCA issuing a certificate including the identifiers that were not validated. This occurs even if the certificate profile is configured to not allow a DN override by the CSR.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.51% probability · 42th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-295
- Affected
- primekey/ejbca
- Source
- cve@mitre.org
References
- https://support.keyfactor.com/s/detail/a6x1Q000000CwC5QAKVendor Advisory
- https://www.primekey.com/products/ejbca-enterprise/Product, Vendor Advisory
- https://support.keyfactor.com/s/detail/a6x1Q000000CwC5QAKVendor Advisory
- https://www.primekey.com/products/ejbca-enterprise/Product, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.