Cloudanix VulnDB

CVE-2015-1324

High · 7.8

CVSS

7.8

EPSS

0.4%

Published

Aug 25, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in Ubuntu's crash reporting tool lets someone already logged into the computer secretly gain full control of the machine.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Privilege Escalation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Local privilege escalation through Apport's incorrect permission handling when generating core dumps for setuid binaries, enabling arbitrary file writes as root.

Why it matters to the business

Local attackers can obtain full administrative control over affected Ubuntu systems, resulting in complete machine compromise and potential lateral movement within environments using these distributions.

How an attack unfolds

An attacker with local access runs a setuid binary to trigger a crash, then leverages Apport's flawed core dump handling to write attacker-controlled content into sensitive system files such as cron jobs or authentication configurations, ultimately escalating to root.

How to fix it

Upgrade Apport to the patched package versions listed in the advisory: 2.17.2-0ubuntu1.1 (Ubuntu 15.04), 2.14.70ubuntu8.5 (Ubuntu 14.10), 2.14.1-0ubuntu3.11 (Ubuntu 14.04 LTS), or 2.0.1-0ubuntu17.9 (Ubuntu 12.04 LTS). Apply updates via apt and restart affected services.

How to confirm the fix worked

Verify the installed Apport package version matches or exceeds the fixed releases for the running Ubuntu release; confirm core dump permission restrictions prevent writes by unprivileged users to arbitrary paths.

Typical attack path

  1. Obtain local shell access on the target Ubuntu system
  2. Execute a setuid binary to induce a segmentation fault
  3. Manipulate environment or symlink to redirect core dump output
  4. Write malicious payload into a privileged file via the dump mechanism
  5. Trigger the payload to gain root shell or persistent access

How to detect it

Review Apport logs in /var/log/apport.log and system crash directories under /var/crash for unexpected file writes or ownership changes performed by the apport process; correlate with authentication or cron log modifications.

What your security team should do

  • Apply the Apport package updates immediately on all affected Ubuntu systems
  • Audit local user accounts and running setuid binaries for signs of prior abuse
  • Enable additional logging for Apport and core dump activity in SIEM
  • Consider disabling core dumps for setuid binaries via system configuration if patching is delayed

The record

Apport before 2.17.2-0ubuntu1.1 as packaged in Ubuntu 15.04, before 2.14.70ubuntu8.5 as packaged in Ubuntu 14.10, before 2.14.1-0ubuntu3.11 as packaged in Ubuntu 14.04 LTS, and before 2.0.1-0ubuntu17.9 as packaged in Ubuntu 12.04 LTS allow local users to write to arbitrary files and gain root privileges by leveraging incorrect handling of permissions when generating core dumps for setuid binaries.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:14.04:LTS apport 0 2.14.1-0ubuntu3.11

Related vulnerabilities