Path Traversal in Apport Package Hook Loader
CVE-2016-9950 is a path traversal vulnerability in Apport before version 2.20.4. The vulnerability arises from insufficient sanitization of the 'Package' and 'SourcePackage' fields in Apport crash files. These fields are used to construct file paths to package-specific hook scripts in /usr/share/apport/package-hooks/. By manipulating these fields, an attacker can traverse directories and cause Apport to execute arbitrary Python files from the local filesystem.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a local attacker to execute arbitrary Python code with the privileges of the user running Apport, potentially leading to privilege escalation or arbitrary code execution on the system.
If you can’t patch tonight, do this now.
Restrict access to Apport crash files and the Apport utility to trusted users only. Monitor and audit the use of Apport, and consider disabling it on systems where it is not required until a patched version is deployed.
Patch, then assume compromise.
Upgrade Apport to version 2.20.4 or later, where input validation and sanitization of the 'Package' and 'SourcePackage' fields have been implemented to prevent path traversal.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.