Cloudanix VulnDB

CVE-2014-7206

None

CVSS

—

EPSS

0.4%

Published

Oct 15, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

On older Debian systems a local user could trick the package tool into overwriting important files by swapping in a link to them.

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

What it actually does

The changelog command in Apt follows symlinks when writing output, allowing a local attacker to redirect writes to arbitrary files on the system.

Why it matters to the business

A local attacker on unpatched Debian-based systems could overwrite critical configuration or data files, potentially leading to system instability, unauthorized changes, or further privilege escalation.

How an attack unfolds

An attacker creates a symlink in place of the expected changelog output file pointing to a sensitive target, then invokes the apt changelog command which follows the link and writes attacker-controlled content to the target location.

How to fix it

Upgrade Apt to version 1.0.9.2 or later on all affected Debian systems; apply package updates via apt itself once a safe version is available.

How to confirm the fix worked

Confirm installed Apt version is at least 1.0.9.2; test that changelog operations no longer follow or write through symlinks in user-controlled paths.

Typical attack path

  1. Identify a writable location for the changelog file used by apt
  2. Create a symlink from that location to a desired target file
  3. Execute the apt changelog command with appropriate arguments
  4. Verify or leverage the resulting write to the target file

How to detect it

Search system and audit logs for unexpected file modifications or symlink creations immediately preceding or during apt changelog executions; review user command histories for suspicious apt invocations.

What your security team should do

  • Prioritize patching Apt across all Debian-based hosts due to local attack surface
  • Review systems for any remaining legacy Apt versions and schedule upgrades
  • Harden local user environments to limit symlink creation in apt-related directories

The record

The changelog command in Apt before 1.0.9.2 allows local users to write to arbitrary files via a symlink attack on the changelog file.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 apt 0 1.0.9.2
Debian:12 apt 0 1.0.9.2
Debian:13 apt 0 1.0.9.2
Debian:7 apt 0 0.9.7.9+deb7u6
Ubuntu:14.04:LTS apt 0 1.0.1ubuntu2.5

Related vulnerabilities