Privilege escalation in Apport Project
CVE-2019-15790
Apport reads and writes information on a crashed process to /proc/pid with elevated privileges. Apport then determines which user the crashed process belongs to by reading /proc/pid through get_pid_info() in data/apport. An unprivileged user could exploit this to read information about a privileged running process by exploiting PID recycling. This information could then be used to obtain ASLR offsets for a process with an existing memory corruption vulnerability. The initial fix introduced regressions in the Python Apport library due to a missing argument in Report.add_proc_environ in apport/report.py. It also caused an autopkgtest failure when reading /proc/pid and with Python 2 compatibility by reading /proc maps. The initial and subsequent regression fixes are in 2.20.11-0ubuntu16, 2.20.11-0ubuntu8.6, 2.20.9-0ubuntu7.12, 2.20.1-0ubuntu2.22 and 2.14.1-0ubuntu3.29+esm3.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.8 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 45.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apport Project
- Canonical Apport — versions 2.14.1, 2.20.1, 2.20.9
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.launchpad.net/ubuntu/+source/apport/+bug/1839795 (Exploit, Third Party Advisory, Issue Tracking)
- usn.ubuntu.com/4171-1/ (Third Party Advisory)
- usn.ubuntu.com/4171-2/ (Third Party Advisory)
- usn.ubuntu.com/4171-3/ (Third Party Advisory)
- usn.ubuntu.com/4171-4/ (Third Party Advisory)
- usn.ubuntu.com/4171-5/ (Third Party Advisory)
- bugs.launchpad.net/ubuntu/+source/apport/+bug/1850929 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- bugs.launchpad.net/ubuntu/+source/apport/+bug/1851806 (Exploit, Third Party Advisory, Issue Tracking)
- bugs.launchpad.net/apport/+bug/1854237 (Third Party Advisory, Issue Tracking)
- packetstormsecurity.com/files/172858/Ubuntu-Apport-Whoopsie-DoS-Integer-Overflo…