Bug 1540040 (CVE-2017-18076)

Summary: CVE-2017-18076 rubygem-omniauth: Improper protection of authenticity_token in strategy.rb via POST parameters
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: axilleas, jaruga
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-omniauth 1.3.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:38:46 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: 1540041    
Bug Blocks:    

Description Sam Fowler 2018-01-30 07:01:20 UTC
In strategy.rb in OmniAuth before 1.3.2, the authenticity_token value is improperly protected because POST (in addition to GET) parameters are stored in the session and become available in the environment of the callback phase.

External References:
https://nvd.nist.gov/vuln/detail/CVE-2017-18076

Upstream Issue:
https://github.com/omniauth/omniauth/pull/867

Upstream Patch:
https://github.com/omniauth/omniauth/pull/867/commits/71866c5264122e196847a3980c43051446a03e9b

Comment 1 Sam Fowler 2018-01-30 07:01:41 UTC
Created rubygem-omniauth tracking bugs for this issue:

Affects: fedora-all [bug 1540041]

Comment 2 Product Security DevOps Team 2019-06-08 03:38:46 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.