CVE-2019-11481
High · 7.8CVSS
7.8
EPSS
0.5%
Published
Feb 8, 2020
CISA due date
—
Cloudanix analysis
A crash-reporting tool could be tricked by a simple link into reading any file on the computer while running with full system rights, risking exposure of private information.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Apport, executing with root privileges, resolves and reads a user-controlled configuration file path that an attacker can replace with a symbolic link, enabling arbitrary file reads from the filesystem as root.
Why it matters to the business
Attackers with local access can disclose sensitive system files such as passwords, keys, or configuration data, potentially enabling further attacks or data breaches on Ubuntu systems running the vulnerable Apport package.
How an attack unfolds
A local attacker prepares a symbolic link pointing to a privileged file in the location Apport expects for its configuration, then invokes Apport (via crash reporting or direct execution) so that the elevated-privilege process dereferences the link and leaks the target file contents.
How to fix it
Upgrade Apport to a patched release that validates configuration paths and refuses to follow symbolic links when operating with elevated privileges; apply the fix through standard Ubuntu package management channels as soon as available.
How to confirm the fix worked
Confirm the updated Apport binary refuses to follow symlinks for user-supplied configuration paths when executed under root or setuid contexts, and verify package version matches the distributor's fixed release.
Typical attack path
- Identify expected Apport configuration file path
- Replace path with symbolic link to desired target file
- Trigger Apport execution under elevated privileges
- Capture output or side-channel leakage of arbitrary file contents
How to detect it
Review system logs and Apport execution traces for the process opening files via unexpected symbolic links; inspect /var/log/apport.log or auditd records for anomalous read operations on sensitive paths during apport execution.
- /var/crash
- apport.*symlink
- readlink.*apport
- apport.*config.*->
What your security team should do
- Prioritize patching Apport across all Ubuntu deployments
- Restrict local user accounts that can invoke Apport
- Audit Apport-related file access logs for unexpected symlink usage
- Harden crash reporting workflows to limit privileged reads
The record
Kevin Backhouse discovered that apport would read a user-supplied configuration file with elevated privileges. By replacing the file with a symbolic link, a user could get apport to read any file on the system as root, with unknown consequences.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:14.04:LTS | apport | 0 | 2.14.1-0ubuntu3.29+esm2 |
| Ubuntu:16.04:LTS | apport | 0 | 2.20.1-0ubuntu2.20 |
| Ubuntu:18.04:LTS | apport | 0 | 2.20.9-0ubuntu7.8 |
| Ubuntu:Pro:14.04:LTS | apport | 0 | 2.14.1-0ubuntu3.29+esm2 |
Related vulnerabilities
- CVE-2021-25682 It was discovered that the get_pid_info() function in data/apport did not properly parse… Also affects apport
- CVE-2020-11936 gdbus setgid privilege escalation Also affects apport
- CVE-2020-8831 Apport creates a world writable lock file with root ownership in the world writable… Also affects apport
- CVE-2019-7307 Apport before versions 2.14.1-0ubuntu3.29+esm1, 2.20.1-0ubuntu2.19, 2.20.9-0ubuntu7.7… Also affects apport
- CVE-2015-1341 Any Python module in sys.path can be imported if the command line of the process… Also affects apport
- CVE-2018-6552 Apport does not properly handle crashes originating from a PID namespace allowing local… Also affects apport
- CVE-2017-14177 Apport through 2.20.7 does not properly handle core dumps from setuid binaries allowing… Also affects apport
- CVE-2015-1324 Apport before 2.17.2-0ubuntu1.1 as packaged in Ubuntu 15.04, before 2.14.70ubuntu8.5 as… Also affects apport