Cloudanix VulnDB

CVE-2016-5009

Medium · 6.5

CVSS

6.5

EPSS

2.5%

Published

Jul 12, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in storage monitoring software lets logged-in users send certain commands that crash the monitoring service and interrupt storage operations until the system is restarted or updated.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The handle_command function in mon/Monitor.cc crashes the Ceph monitor with a segmentation fault when an authenticated user supplies an empty or specially crafted command prefix.

Why it matters to the business

Disruption of Ceph cluster monitoring can halt storage management operations and force restarts, affecting availability of dependent services until the monitor recovers.

How an attack unfolds

An authenticated remote attacker connects to the Ceph monitor service and issues a command with an empty or malformed prefix, triggering the vulnerable code path that causes an immediate segmentation fault and process crash.

How to fix it

Upgrade Ceph to a build containing commit 957ece7e95d8f8746191fd9629622d4457d690d6; for Chainguard and Wolfi istio-operator-1.19 packages, update to the fixed 0 revision that pulls the corrected Ceph dependency.

How to confirm the fix worked

Verify the running Ceph binary or package contains commit 957ece7e95d8f8746191fd9629622d4457d690d6; attempt to reproduce the crash with an empty prefix command in a test environment and confirm the monitor remains stable.

Typical attack path

  1. Obtain valid credentials for a Ceph monitor user
  2. Connect to the monitor service over the network
  3. Send a command containing an empty or crafted prefix
  4. Trigger segmentation fault resulting in monitor crash

How to detect it

Inspect Ceph monitor logs for repeated segmentation fault entries or abrupt process terminations around the time of command handling; correlate with authentication events showing unusual prefix values.

  • segmentation fault
  • ceph-mon.*crash
  • handle_command

What your security team should do

  • Apply the fixed Ceph commit or package revision immediately on all monitor nodes
  • Restrict network access to monitor ports to only trusted clients
  • Enable and review Ceph monitor crash and audit logs for segmentation faults

The record

The handle_command function in mon/Monitor.cc in Ceph allows remote authenticated users to cause a denial of service (segmentation fault and ceph monitor crash) via an (1) empty or (2) crafted prefix.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 ceph 0 10.2.5-1
Debian:12 ceph 0 10.2.5-1
Debian:13 ceph 0 10.2.5-1
Debian:14 ceph 0 10.2.5-1
Red Hat:ceph_storage:1.3::el7 ceph 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 ceph-common 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 ceph-debuginfo 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 ceph-mon 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 ceph-osd 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 ceph-radosgw 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 ceph-selinux 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 ceph-test 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 librados2 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 librados2-devel 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 librbd1 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 librbd1-devel 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 python-rados 0 1:0.94.5-14.el7cp
Red Hat:ceph_storage:1.3::el7 python-rbd 0 1:0.94.5-14.el7cp
SUSE:Enterprise Storage 3 ceph 0 10.2.3+git.1475228057.755cf99-7.3
SUSE:Linux Enterprise Desktop 12 SP2 ceph 0 10.2.4+git.1481215985.12b091b-16.2
SUSE:Linux Enterprise Server 12 SP2 ceph 0 10.2.4+git.1481215985.12b091b-16.2
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 ceph 0 10.2.4+git.1481215985.12b091b-16.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 ceph 0 10.2.4+git.1481215985.12b091b-16.2
SUSE:Linux Enterprise Software Development Kit 12 SP2 ceph 0 10.2.4+git.1481215985.12b091b-16.2
Ubuntu:14.04:LTS ceph 0 0.80.11-0ubuntu1.14.04.3
Ubuntu:16.04:LTS ceph 0 10.2.7-0ubuntu0.16.04.1
Ubuntu:18.04:LTS ceph 0 12.2.0-0ubuntu1

Related vulnerabilities