apport process_report() arbitrary file write
Description
It was discovered that the process_report() function in data/whoopsie-upload-all allowed arbitrary file writes via symlinks.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A symlink-following vulnerability in apport's whoopsie-upload-all allows local attackers to overwrite arbitrary files.
Vulnerability
A symlink-following vulnerability exists in the process_report() function in data/whoopsie-upload-all of apport (versions prior to the fix). When processing crash reports, the function does not safely handle symbolic links, allowing a local attacker to trick the tool into writing data to arbitrary files on the system. The vulnerability is documented in [1].
Exploitation
An attacker must have local access to the system and be able to create a symlink pointing to a target file (e.g., /etc/passwd). The attacker then triggers the crash reporting mechanism (e.g., by causing a program to crash) so that apport processes the report and writes content into the location indicated by the symlink. The default Ubuntu kernel setting fs.protected_symlinks may mitigate exploitation on default installations, but not all configurations are protected [1].
Impact
Successful exploitation allows an attacker to overwrite arbitrary files with data controlled by the attacker. This can lead to privilege escalation (e.g., by overwriting system configuration files) or denial of service (by corrupting critical files). The vulnerability is rated as a local arbitrary file write [1].
Mitigation
Ubuntu has released a fix for this vulnerability in apport version 2.20.11-0ubuntu65.1 (for Ubuntu 21.04) and equivalent updates for other supported releases. Users should update their apport package to the patched version. Enabling fs.protected_symlinks (set to 1) provides additional mitigation against symlink-based attacks on Ubuntu systems [1].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: 2.20.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.