CVE-2025-30156
JSON

8.9high

Ceph: AES-CBC misuse in CephX and RADOSGW enables authentication bypass and credential forgery

Severity
8.9high CVSS:3.1 by GitHub_M
Exploit likelihood
0.09% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-CEPH-2025-30156GHSA-7q3q-3975-qw3q

Description

Ceph is an open-source distributed storage platform providing object, block, and file storage. In versions prior to 20.2.4 and 19.2.6, the CephX authentication protocol encrypts tickets with AES-128-CBC in an unauthenticated mode that uses a hard-coded initialization vector and no message authentication, allowing an attacker to forge credentials and gain cluster-wide access. Because the ciphertext is malleable and the monitor will encrypt attacker-chosen entity names, an attacker holding one low-privilege key and able to observe CephX traffic can use the monitor as an encryption oracle and splice ciphertext blocks into valid tickets for privileged entities such as Manager, MDS, and OSD. The same lack of authentication also lets an attacker with CephX permissions escalate privileges by flipping a single bit in a service ticket to set its allow_all field to true. This issue is fixed in versions 20.2.4 and 19.2.6.

Affected

Product or packageVersionsReported by
ceph ceph< 19.2.6, >= 20.0.0, < 20.2.4CVE List
ceph (Bitnami)before 19.2.6, from 20.0.0 before 20.2.4Bitnami Vulnerability Database

All scores

GitHub_M8.9high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Bitnami Vulnerability Databasehigh rating

Classification

CWE-327

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Ceph is an open-source distributed storage platform providing object, block, and file storage. In versions prior to 20.2.4 and 19.2.6, the CephX authentication protocol encrypts tickets with AES-128-CBC in an unauthenticated mode that uses a hard-coded initialization vector and no message authentication, allowing an attacker to forge credentials and gain cluster-wide access. Because the ciphertext is malleable and the monitor will encrypt attacker-chosen entity names, an attacker holding one low-privilege key and able to observe CephX traffic can use the monitor as an encryption oracle and splice ciphertext blocks into valid tickets for privileged entities such as Manager, MDS, and OSD. The same lack of authentication also lets an attacker with CephX permissions escalate privileges by flipping a single bit in a service ticket to set its allow_all field to true. This issue is fixed in versions 20.2.4 and 19.2.6.

NVD (es)

Ceph es una plataforma de almacenamiento distribuido de código abierto que ofrece almacenamiento de objetos, bloques y archivos. En versiones anteriores a 20.2.4 y 19.2.6, el protocolo de autenticación CephX cifra los tickets con AES-128-CBC en un modo no autenticado que utiliza un vector de inicialización codificado de forma fija y no incluye autenticación de mensaje, lo que permite al atacante falsificar credenciales y obtener acceso a todo el clúster. Debido a que el texto cifrado es maleable y el monitor cifrará nombres de entidad elegidos por el atacante, un atacante que posea una clave de bajo privilegio y pueda observar el tráfico CephX puede usar el monitor como un oráculo de cifrado e insertar bloques de texto cifrado en tickets válidos para entidades privilegiadas como Manager, MDS y OSD. La misma falta de autenticación también permite a un atacante con permisos CephX escalar privilegios al cambiar un solo bit en un ticket de servicio para establecer su campo allow_all a verdadero. Este problema está solucionado en versiones 20.2.4 y 19.2.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-30156 changed 2026-09-01CVE Terms of Use
NVDCVE-2025-30156 changed 2026-10-19Public domain
Bitnami Vulnerability DatabaseBIT-CEPH-2025-30156 changed 2026-09-02Apache-2.0