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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.15% (52nd percentile)

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

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

8.8 high