CVE-2025-65998
JSON

7.5high

Apache Syncope: Default AES key used for internal password encryption

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-jqg8-m35q-jh7j

Description

Apache Syncope can be configured to store the user password values in the internal database with AES encryption, though this is not the default option. When AES is configured, the default key value, hard-coded in the source code, is always used. This allows a malicious attacker, once obtained access to the internal database content, to reconstruct the original cleartext password values. This is not affecting encrypted plain attributes, whose values are also stored using AES encryption. Users are recommended to upgrade to version 3.0.15 / 4.0.3, which fix this issue.

Affected

Product or packageVersionsReported by
org.apache.syncope.core:syncope-core-springfrom 2.1 up to 2.1.14, from 3.0 up to 3.0.14, from 4.0 up to 4.0.2CVE List
org.apache.syncope:syncope-core (Maven)from 4.0.0 before 4.0.3, before 3.0.15GitHub Advisory Database
apache syncopefrom 2.1.0 up to 2.1.14, from 3.0.0 before 3.0.15, from 4.0.0 before 4.0.3NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-321

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Apache Syncope can be configured to store the user password values in the internal database with AES encryption, though this is not the default option. When AES is configured, the default key value, hard-coded in the source code, is always used. This allows a malicious attacker, once obtained access to the internal database content, to reconstruct the original cleartext password values. This is not affecting encrypted plain attributes, whose values are also stored using AES encryption. Users are recommended to upgrade to version 3.0.15 / 4.0.3, which fix this issue.

NVD (es)

Apache Syncope puede configurarse para almacenar los valores de las contraseñas de usuario en la base de datos interna con cifrado AES, aunque esta no es la opción predeterminada. Cuando AES está configurado, el valor de clave predeterminado, codificado de forma rígida en el código fuente, se utiliza siempre. Esto permite a un atacante malicioso, una vez obtenido acceso al contenido de la base de datos interna, reconstruir los valores originales de las contraseñas en texto claro. Esto no afecta a los atributos planos cifrados, cuyos valores también se almacenan utilizando cifrado AES. Se recomienda a los usuarios actualizar a la versión 3.0.15 / 4.0.3, que corrige este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-65998 changed 2025-11-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-jqg8-m35q-jh7j changed 2025-11-25CC-BY-4.0
NVDCVE-2025-65998 changed 2026-10-18Public domain