CVE-2017-10708

Published: 18 July 2017

An issue was discovered in Apport through 2.20.x. In apport/report.py, Apport sets the ExecutablePath field and it then uses the path to run package specific hooks without protecting against path traversal. This allows remote attackers to execute arbitrary code via a crafted .crash file.

Priority

Medium

CVSS 3 base score: 7.8

Status

Package Release Status
apport
Launchpad, Ubuntu, Debian
Upstream
Released (2.20.6)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (2.20.1-0ubuntu2.10)
Ubuntu 14.04 ESM (Trusty Tahr)
Released (2.14.1-0ubuntu3.25)
Patches:
Upstream: https://bazaar.launchpad.net/~apport-hackers/apport/trunk/revision/3153

Notes

AuthorNote
tyhicks
Apport registers itself as the default handler for .crash files so an
attacker could trick a user into opening a malicious .crash file and execute
arbitrary code as the user.
A potential method of hardening apport against these types of attacks
is to unregister it as the handler for .crash files.

References

Bugs