Cloudanix VulnDB

CVE-2015-1865

Medium · 5.1

CVSS

5.1

EPSS

0.3%

Published

Sep 20, 2017

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in basic system tools can let someone already on the computer erase any files they choose, which risks breaking programs and losing important information.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Data Tampering
Component
Application
Class
Race Condition
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A race condition in file system traversal code (fts.c) permits a local attacker to manipulate paths during operations, resulting in deletion of arbitrary files instead of intended targets.

Why it matters to the business

Local attackers can cause data loss, service disruption, or system instability by deleting critical files, increasing operational risk and potential recovery costs in environments using affected packages.

How an attack unfolds

An attacker with local system access identifies a process relying on vulnerable coreutils, exploits timing windows in file traversal to substitute paths, and forces deletion of chosen files outside the intended scope.

How to fix it

Upgrade prometheus-mysqld-exporter to 0.15.1-r7 or later on Chainguard and Wolfi distributions; replace any coreutils 8.4 instances with patched equivalents and verify no vulnerable packages remain in the environment.

How to confirm the fix worked

Confirm prometheus-mysqld-exporter version is 0.15.1-r7 or newer via package manager queries; test coreutils utilities for the absence of the fts.c race condition and review dependency trees for affected versions.

Typical attack path

  1. Obtain local access to the target system
  2. Locate processes or scripts invoking vulnerable coreutils utilities
  3. Trigger and time the race condition to redirect file deletion operations
  4. Achieve deletion of arbitrary files for disruption or further access

How to detect it

Review system logs for unexpected invocations of rm, find, or similar utilities; monitor for file deletion events on non-application paths and correlate with processes using coreutils.

What your security team should do

  • Apply the specified package upgrades immediately due to the long exposure window since 2017
  • Limit local user privileges and sandbox processes that invoke file utilities
  • Implement file integrity monitoring on critical paths to detect anomalous deletions

The record

fts.c in coreutils 8.4 allows local users to delete arbitrary files.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 coreutils 0 8.13-1
Debian:11 coreutils 0 8.13-1
Debian:12 coreutils 0 8.13-1
Debian:13 coreutils 0 8.13-1

Related vulnerabilities