Red Hat Bugzilla – Bug 98826
CAN-2003-0388 pam_wheel uses getlogin in insecure fashion
Last modified: 2015-01-07 19:05:49 EST
> If the "trust" option is enabled in the pam_wheel configuration file
> and the "use_uid" option is disabled, any local user may spoof the
> username returned by getlogin() and gain access to a super-user account
> without supplying a password.
This security issues is only a risk to Red Hat Enterprise Linux users that are
using pam_wheel (which is not a default in Red Hat Linux) and if they are using
in a non-default way (not the way shown commented out in the configuration
file). Therefore we consider this of minimal risk and have given it a low
[this is the same as bug 98020 but for Red Hat Enterprise Linux]
Note that the work around to this issue is to always ensure you use the use_uid
option if you are using pam_wheel.
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.