ZeroHour

CVE-2025-30156

large

CephX AES-CBC Ticket Forgery in Ceph Enables Cluster-Wide Privilege Escalation

CVSS 3.1
8.9 high
EPSS
<1%p1
Published
()
Modified
AI analysis

Ceph's CephX authentication protocol, in versions prior to 20.2.4 and 19.2.6, encrypts authentication tickets with AES-128-CBC in an unauthenticated mode that uses a hard-coded initialization vector and provides no message authentication. An attacker holding one low-privilege CephX key and able to observe CephX traffic can abuse the monitor as an encryption oracle, splicing ciphertext blocks to forge valid tickets for privileged entities such as Manager, MDS, and OSD, or can flip a single bit in a service ticket to set its allow_all field to true. Successful exploitation grants cluster-wide access with high impact on confidentiality and integrity. All Ceph clusters running affected versions are exposed, though the adjacent-network attack vector means an attacker needs access to the network carrying CephX traffic plus a valid low-privilege key. No public proof-of-concept or in-the-wild exploitation is known, and EPSS estimates only a 0.1% probability of exploitation in the next 30 days.

What to do: Upgrade all monitors and clients to Ceph 20.2.4 or 19.2.6, as applicable to your release line. Until upgraded, restrict which hosts can reach the Ceph public/cluster network and audit and minimize CephX key distribution, since exploitation requires an adjacent attacker with a valid low-privilege key who can observe CephX traffic.

Affected
Ceph project (open-source) Ceph distributed storage platformprior to 20.2.4
Ceph project (open-source) Ceph distributed storage platformprior to 19.2.6
Estimated exposure
largetens of thousands of Ceph clusters (estimate) — No public scan data or install counts exist for this flaw, so the estimate is based on Ceph's deployment patterns as the dominant open-source software-defined storage platform, bundled as the default hyperconverged storage option in…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-327
Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

In the news

No ingested article mentions this CVE yet.