Bug 98826 (IT_25362) - CAN-2003-0388 pam_wheel uses getlogin in insecure fashion
Summary: CAN-2003-0388 pam_wheel uses getlogin in insecure fashion
Keywords:
Status: CLOSED ERRATA
Alias: IT_25362
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: pam
Version: 2.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Jay Turner
URL: http://www.idefense.com/advisory/06.1...
Whiteboard:
Depends On:
Blocks: 116726
TreeView+ depends on / blocked
 
Reported: 2003-07-09 10:53 UTC by Mark J. Cox
Modified: 2015-01-08 00:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-18 15:10:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2004:304 0 normal SHIPPED_LIVE Low: pam security update 2004-08-18 04:00:00 UTC

Description Mark J. Cox 2003-07-09 10:53:52 UTC
> 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
priority.  

[this is the same as bug 98020 but for Red Hat Enterprise Linux]

Comment 1 Mark J. Cox 2003-07-10 12:20:36 UTC
Note that the work around to this issue is to always ensure you use the use_uid
option if you are using pam_wheel.  

Comment 11 John Flanagan 2004-08-18 15:10:36 UTC
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.

http://rhn.redhat.com/errata/RHSA-2004-304.html



Note You need to log in before you can comment on or make changes to this bug.