Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Manipulate gpg config file as www-data
An attacker with access to www-data could have gpg-agent.conf be a symlink to a root-owned file (e.g. /etc/passwd) and trick the postinst into clobbering that file as root. Because the content is fixed, it's pretty low risk but straightforward to fix.
- Loading branch information
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters