Bug 711170

Summary: pam_ssh: privileges not dropped properly before executing ssh-agent
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dmitry, manuel.wolfshant, pertusus
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-27 19:13:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 711171, 711172    
Bug Blocks: 734540    

Description Jan Lieskovsky 2011-06-06 17:43:43 UTC
It was found that pam_ssh, PAM module for use with SSH keys and ssh-agent,
did not properly drop root SGID privileges prior executing the ssh-agent
authentication agent. A local attacker could use this flaw to potentially
escalate their privileges.

References:
[1] https://bugzilla.novell.com/show_bug.cgi?id=665061

Proposed patch:
[2] https://bugzilla.novell.com/show_bug.cgi?id=665061#c3

CVE request:
[3] http://www.openwall.com/lists/oss-security/2011/06/06/3

Comment 1 Jan Lieskovsky 2011-06-06 17:46:04 UTC
This issue affects the versions of the pam_ssh package, as present within
EPEL-4 and EPEL-5 repositories.

--

This issue affects the versions of the pam_ssh package, as shipped with
Fedora release of 13, 14, and 15. Please schedule an update.

Comment 2 Jan Lieskovsky 2011-06-06 17:46:58 UTC
Created pam_ssh tracking bugs for this issue

Affects: epel-all [bug 711171]
Affects: fedora-all [bug 711172]