CVE-2024-36066: KeyFactor EJBCA - Weak Cryptography
- Cve: CVE-2024-36066
- Name: KeyFactor EJBCA - Weak Cryptography
- Description: The CMP CLI client in KeyFactor EJBCA before 8.3.1 has only 6 octets of salt, and is thus not compliant with the security requirements of RFC 4211, and might make man-in-the-middle attacks easier. CMP includes password-based MAC as one of the options for message integrity and authentication (the other option is certificate-based). RFC 4211 section 4.4 requires that password-based MAC parameters use a salt with a random value of at least 8 octets. This helps to inhibit dictionary attacks. Because the standalone CMP client originally was developed as test code, the salt was instead hardcoded and only 6 octets long.
- Impact: Attackers may perform man-in-the-middle attacks to compromise message integrity and confidentiality.
- Remediation: Update to version 8.3.1 or later, where the salt length complies with RFC 4211.
- Vulnerability type: weak_cryptography
- Vulnerability impact: man_in_the_middle, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00168
- Epss percentile: 0.06135
- Assignee: [email protected]
- Published at: 2024-09-12T19:15:03Z
- Age in days: 803
- Modified at: 2026-06-17T07:36:04Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-36066
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
| Url | Source | Tags |
|---|---|---|
| https://support.keyfactor.com/hc/en-us/articles/26965687021595-EJBCA-Security-Advisory-EJBCA-standalone-CMP-CLI-client | nvd | Mitigation, Vendor Advisory |
| https://datatracker.ietf.org/doc/html/rfc4211#section-4.4 | nvd | Technical Description |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| keyfactor:ejbca | < 8.3.1 | no | nvd | /v1/products/keyfactor/ejbca |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts