1. Archivio CVE
  2. 2025
  3. CVE-2025-62710

CVE-2025-62710

5.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 5.9 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
sakailms sakai < 23.5 –

Tipo di vulnerabilità

CWE-337 Predictable Seed in Pseudo-Random Number Generator (PRNG)

A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time.

Impatto sui sistemi

AmbitoImpatto
Altro Aggirare i meccanismi di protezione, Dipende dal contesto

Come si previene

Use non-predictable inputs for seed generation.
Architettura e progettazione · Requisiti · Librerie o framework Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems, or use the more recent FIPS 140-3 if possible.
Sviluppo Use a PRNG that periodically re-seeds itself using input from high-quality sources, such as hardware devices with high entropy. However, do not re-seed too frequently, or else the entropy source might block.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 13 CVE di tipo CWE-337, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org