Cloudanix VulnDB

CVE-2013-6410

None

CVSS

—

EPSS

2.5%

Published

Dec 7, 2013

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in network block device server software could let attackers sneak past IP address checks and access storage they shouldn't.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Privilege Gain
Component
Network Service
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability allows remote attackers to bypass IP-based access controls in nbd-server by using an IP address that partially matches an entry in the authfile configuration.

Why it matters to the business

Attackers may gain unauthorized access to network block devices, leading to potential data exposure or modification on storage systems without proper authentication.

How an attack unfolds

An attacker identifies a vulnerable nbd-server instance and connects using an IP address that matches only part of an allowed address in the authfile, bypassing the intended restrictions.

How to fix it

Upgrade nbd-server to version 3.5 or later. Review and harden authfile entries to enforce exact IP address matches rather than partial matches.

How to confirm the fix worked

Confirm nbd-server version is 3.5 or newer. Attempt connections with partial IP matches against known authfile entries and verify they are rejected.

Typical attack path

  1. Identify exposed nbd-server instances via network scanning
  2. Review or infer authfile entries to identify partial-match opportunities
  3. Establish a connection to the nbd-server using a crafted partial-match IP address
  4. Bypass access restrictions and read or write to block devices

How to detect it

Review nbd-server connection logs for successful authentications from IP addresses that only partially match entries in the authfile.

What your security team should do

  • Upgrade all affected nbd installations to version 3.5 or later
  • Audit and tighten authfile configurations across the environment
  • Disable nbd services if they are not strictly required
  • Implement network segmentation to limit exposure of block device services

The record

nbd-server in Network Block Device (nbd) before 3.5 does not properly check IP addresses, which might allow remote attackers to bypass intended access restrictions via an IP address that has a partial match in the authfile configuration file.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 nbd 0 1:3.5-1
Debian:12 nbd 0 1:3.5-1
Debian:13 nbd 0 1:3.5-1
Debian:6.0 nbd 0 1:2.9.16-8+squeeze1
Debian:7 nbd 0 1:3.2-4~deb7u4
Ubuntu:14.04:LTS nbd 0 1:3.7-1
Ubuntu:14.04:LTS nbd 0 1:3.7-1ubuntu0.1

Related vulnerabilities