SSL.com: Certificate serial numbers generated from time-seeded PRNG with insufficient entropy
Categories
(CA Program :: CA Certificate Compliance, task)
Tracking
(Not tracked)
People
(Reporter: secauditor, Assigned: secauditor)
Details
(Whiteboard: [ca-compliance])
Preliminary Incident Report
Summary
- Incident description:
A security researcher reported findings to Mozilla, which the Mozilla Root Store Program shared with SSL.com through a confidential bug on 2026-10-31. The findings showed that the serial numbers of nine SSL.com CA certificates, signed between 2016-02-12 and 2017-05-31, could be reproduced from time-seeded Java SHA1PRNG streams. SSL.com investigated through the confidential bug with the root programs and is now disclosing the incident publicly.
SSL.com confirmed the finding and reproduced all nine serial numbers. They come from four streams, one per offline ceremony session (2016-02-12, 2016-06-24, 2017-04-06 and 2017-05-31). The EJBCA versions SSL.com used at the time (before 6.6.0) seeded the serial number generator once per startup with the current time in milliseconds plus a 31-bit object hash code. Serial numbers produced this way contained at most about 31 bits of entropy, and every later serial in a session followed deterministically from the same seed. During the investigation, SSL.com's oldest readily available records showed an upgrade in November 2017 to EJBCA 6.9.0.6, which no longer seeds the generator itself. SSL.com notes every certificate issued by its EJBCA before upgrading to or beyond version 6.6.0 as affected, however, the CAs reported are the only remaining unexpired certificates.
This generator was used only to produce certificate serial numbers. SSL.com's CA key pairs were generated inside SSL.com's HSMs during key ceremonies, and every CA signature was computed inside the HSM. The generator supplied no randomness to key generation, signing or any other security-sensitive operation, and no CA key is affected. All affected certificates were signed with SHA-256 or stronger.
Five of the nine certificates were signed before 2016-09-30, when the requirement for at least 64 bits of CSPRNG output took effect. This leave four unexpired certificates, listed below:
- SSL.com EV Root Certification Authority RSA R2 (two self-signed certificates for the same key, 2017-04-06 and 2017-05-31)
- SSL.com EV Code Signing Intermediate CA RSA R2 (2017-04-06)
- SSL.com EV Timestamping Intermediate CA RSA R1 (2017-04-06)
This issue is distinct from Bug 1534147 (2019), which concerned the 63-bit value range of 8-octet serial numbers from the same EJBCA generator. SSL.com increased serial number entropy to about 127 bits on 2019-03-05. One CA certificate from the same 2017-04-06 stream, SSL.com EV SSL Intermediate CA RSA R2, was revoked on 2019-04-05 under that bug.
SSL.com has contacted Microsoft, the only root program that trusts the code signing and timestamping CA, about its expectations for them, and has not heard back as of the posting of this preliminary report.
- Relevant policies:
TLS Baseline Requirements v1.3.7, Section 7.1: "Effective September 30, 2016, CAs SHALL generate non-sequential Certificate serial numbers greater than zero (0) containing at least 64 bits of output from a CSPRNG."
EV Code Signing Guidelines v1.4, Section 9.6, which apply BR Section 7.1.
SSL.com CP/CPS v1.1, Section 7.1 (effective 2016-09-01): "SSL.com shall generate Certificate serial numbers greater than zero (0) containing at least 64 bits of output from a CSPRNG."
- Source of incident disclosure: Third Party Reported, through the Mozilla Root Store Program.
SSL.com will post the Full Incident Report on or before 2026-12-07.
Updated•4 days ago
|
Description
•