ADVISORIES

GitHub Advisory Database

GHSA-ww4x-rwq6-qpgf

OmniAuth Ruby gem Cross-site Request Forgery in request phase

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsomniauth
All versions before 2.0.0 (fixed in 2.0.0)

References