Bug 1433955 (CVE-2017-6967)

Summary: CVE-2017-6967 xrdp: Incorrect placement of auth_start_session()
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bojan, itamar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:09:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1433958, 1433959    
Bug Blocks:    

Description Andrej Nemec 2017-03-20 13:07:03 UTC
xrdp calls the PAM function auth_start_session() in an incorrect location, leading to PAM session modules not being properly initialized, with a potential consequence of incorrect configurations or elevation of privileges, aka a pam_limits.so bypass.

Upstream bug:

https://github.com/neutrinolabs/xrdp/issues/350

Upstream patch:

https://github.com/neutrinolabs/xrdp/pull/696/commits/44129acd210c803fc8bbcfaf1b0db05e5bb4034f

Comment 1 Andrej Nemec 2017-03-20 13:11:34 UTC
Created xrdp tracking bugs for this issue:

Affects: epel-all [bug 1433958]
Affects: fedora-all [bug 1433959]

Comment 2 Product Security DevOps Team 2019-06-08 03:09:13 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.