Description
An issue was discovered in Apport before 2.20.4. There is a path traversal issue in the Apport crash file "Package" and "SourcePackage" fields. These fields are used to build a path to the package specific hook files in the /usr/share/apport/package-hooks/ directory. An attacker can exploit this path traversal to execute arbitrary Python files from the local system.
Exploits (1)
References (6)
Core 6
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/DonnchaC/ubuntu-apport-exploitation
Exploit, Technical Description, Third Party Advisory x_refsource_misc
https://donncha.is/2016/12/compromising-ubuntu-desktop/
Issue Tracking, Patch x_refsource_misc
https://bugs.launchpad.net/apport/+bug/1648806
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/95011
Vendor Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-3157-1
Exploit, Third Party Advisory exploit
x_refsource_exploit-db
https://www.exploit-db.com/exploits/40937/
Scores
CVSS v3
7.8
EPSS
0.0073
EPSS Percentile
72.8%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-22
Status
published
Products (2)
apport_project/apport
< 2.20.3
canonical/ubuntu_linux
< 12.10
Published
Dec 17, 2016
Tracked Since
Feb 18, 2026