CVE-2025-62710: Sakai - Weak Cryptography
- Cve: CVE-2025-62710
- Name: Sakai - Weak Cryptography
- Description: Sakai is a Collaboration and Learning Environment. Prior to versions 23.5 and 25.0, EncryptionUtilityServiceImpl initialized an AES256TextEncryptor password (serverSecretKey) using RandomStringUtils with the default java.util.Random. java.util.Random is a non‑cryptographic PRNG and can be predicted from limited state/seed information (e.g., start time window), substantially reducing the effective search space of the generated key. An attacker who can obtain ciphertexts (e.g., exported or at‑rest strings protected by this service) and approximate the PRNG seed can feasibly reconstruct the serverSecretKey and decrypt affected data. SAK-49866 is patched in Sakai 23.5, 25.0, and trunk.
- Impact: Attackers can decrypt protected data by reconstructing the encryption key, leading to information disclosure.
- Remediation: Update to versions 23.5, 25.0 or later.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure
- Requirements: Attacker needs access to ciphertexts and ability to approximate PRNG seed
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.002
- Epss percentile: 0.09628
- Assignee: [email protected]
- Published at: 2025-10-22T23:15:34Z
- Age in days: 398
- Modified at: 2026-10-08T11:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-62710
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-337 | Predictable Seed in Pseudo-Random Number Generator (PRNG) |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/sakaiproject/sakai/commit/bde070104b1de01f4a6458dca6d9e0880a0e3c04 | nvd | Patch |
| https://github.com/sakaiproject/sakai/security/advisories/GHSA-gr7h-xw4f-wh86 | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sakailms:sakai | < 23.5 | no | nvd | /v1/products/sakailms/sakai |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sakaiproject/sakai | commit, fix, package, security_advisory | yes | /v1/repositories/sakaiproject/sakai |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts