First published: Fri Jan 26 2018(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
rubygems/omniauth | <1.3.2 | 1.3.2 |
debian/ruby-omniauth | 1.8.1-1 1.9.1-1 2.1.1-1 | |
OmniAuth | <1.3.2 | |
Debian Linux | =8.0 | |
Debian Linux | =9.0 |
https://github.com/omniauth/omniauth/pull/867/commits/71866c5264122e196847a3980c43051446a03e9b
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-18076 has been rated as a moderate severity vulnerability.
To fix CVE-2017-18076, upgrade OmniAuth to version 1.3.2 or higher.
CVE-2017-18076 affects OmniAuth versions prior to 1.3.2 and specific Debian package versions including ruby-omniauth.
CVE-2017-18076 allows for a potential attacker to access the authenticity_token value through improperly stored session variables.
There is no documented workaround for CVE-2017-18076, so upgrading is the recommended approach.