This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix security issues in pre-install script
- Having $HOME in /tmp means everyone can create e.g. a .bashrc in your home dir - "chown -R" on the logdir is problematic when an attacker takes over alppaca and places hardlinks to files that alppaca should not be able to access in that directory. The next time the pre-install script runs, it would chown the hardlinked file to alppaca. - Having /etc/alppaca writable for alppaca itself means that an attacker that takes over alppaca can re-configure alppaca to run as root and then take over the privileged alppaca process.
- Loading branch information