RC RANDOM CHAOS

APT Flaw Lets Attackers Swap Packages and Run Root Code

· via The Hacker News

Original source

Debian and Ubuntu APT Flaw Lets MitM Attackers Swap Verified Packages and Run Code as Root

The Hacker News →

A vulnerability in APT, the package manager for Debian and Ubuntu, permits attackers intercepting HTTP traffic to swap verified packages with malicious ones that execute as root. The vulnerability, CVE-2026-109518, impacts systems using automatic retry logic for failed downloads—standard on Debian 12 and newer, as well as Ubuntu 22.04 and later. Attackers exploit HTTP redirects and temporary server errors to trigger retries, making the attack possible from any position in the network path, such as a compromised mirror or proxy.

Debian and Ubuntu released fixes on November 4, with a CVSS 7.7 rating and high-priority classification. Older distributions like Debian 11 and Ubuntu 20.04 remain safe by default, though custom configurations enabling retries could expose them. The advisories focus on HTTP attacks and do not clarify whether HTTPS package sources face similar risks.

Read the full article

Continue reading at The Hacker News →

This is an AI-generated summary. Read the original for the full story.