VDB
Sign up
HIGH8.8

GHSA-ww4x-rwq6-qpgf

OmniAuth Ruby gem Cross-site Request Forgery in request phase

Quick fix

GHSA-ww4x-rwq6-qpgf — omniauth: upgrade to the fixed version with the command below.

bundle update omniauth

Details

The request phase of the OmniAuth Ruby gem (1.9.2 and earlier) is vulnerable to Cross-Site Request Forgery when used as part of the Ruby on Rails framework, allowing accounts to be connected without user intent, user interaction, or feedback to the user. This permits a secondary account to be able to sign into the web application as the primary account.

As of v2 OmniAuth no longer has the vulnerable configuration by default, but it is still possible to configure OmniAuth in such a way that the web application becomes vulnerable to Cross-Site Request Forgery. There is a recommended remediation described [here](https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284).

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/omniauth
Introduced in: 0Fixed in: 2.0.0
Fixbundle update omniauth

References