Exploit database

Vulnerability

CVE-2015-1318

Vulnerability details

Score
7.2
Severity
high

CVSS 2.0 · NVD

Vector string

AV:L/AC:L/Au:N/C:C/I:C/A:C

Description

The crash reporting feature in Apport 2.13 through 2.17.x before 2.17.1 allows local users to gain privileges via a crafted usr/share/apport/apport file in a namespace (container).

CVE Program

Exploit source choices

4 sources
Apport / ABRT chroot Privilege Escalation
MSF-linux--local--apport_abrt_chroot_priv_escMetasploitLinux / remote

This module attempts to gain root privileges on Linux systems by invoking the default coredump handler inside a namespace ("container"). Apport versions 2.13 through 2.17.x before 2.17.1 on Ubuntu are vulnerable, due to a feature which allows forwarding reports to a container's Apport by changing the root directory before loading the crash report, causing `usr/share/apport/apport` within the crashed task's directory to be executed. Similarly, Fedora is vulnerable when the kernel crash handler is configured to change root directory before executing ABRT, causing `usr/libexec/abrt-hook-ccpp` within the crashed task's directory to be executed. In both instances, the crash handler does not drop privileges, resulting in code execution as root. This module has been tested successfully on Apport 2.14.1 on Ubuntu 14.04.1 LTS x86 and x86_64 and ABRT on Fedora 19 and 20 x86_64.

2015-03-31apport_abrt_chroot_priv_esc.rb