Cross-site Request Forgery (CSRF) Affecting omniauth package, versions >=0.0.0, <2.0.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.14% (49th percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-OMNIAUTH-174820
  • published 30 May 2019
  • disclosed 24 Apr 2015
  • credit Mohamed Abdelbaset Elnoby

How to fix?

Upgrade omniauth to version 2.0.0 or higher.

Overview

omniauth is a generalized Rack framework for multiple-provider authentication.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). An attacker may be allowed to be connected to the user without the user's intent, interaction, or feedback. This permits a secondary account to be able to sign into the web application as the primary account.

Note:

  • The package is only vulnerable when used as part of the Ruby on Rails framework.
  • It is possible to use the omniauth-rails_csrf_protection gem to mitigate this attack