where to submit low security vulnerability in .profile?
- Date: Sun, 18 Jun 2017 06:56:07 +0200
- From: David Bunch <depb@xxxxxxxxxx>
- Subject: where to submit low security vulnerability in .profile?
I'm not sure where or how or even if i should submit a bug small security
vulnerability in the default .profile that is created in each users home
.profile searches for a ~/bin directory and if it finds it prepends it to
PATH like so: PATH='$HOME/bin':$PATH
This could be a potential security vulnerability because if the user account
of a uesr with 'su' power, an attacker could place a malicious 'su', 'ls',
and 'which' in their ~/bin directory which could give an attacker the root
password when the user runs the 'su' command.
A safer configuration would be PATH=$PATH:'$HOME/bin'.
This way if malicious copies of systems programs were placed in the user's
~/bin directory the uncompromised system copies would be still be run.