Auth bypass in Auth0 Omniauth-Auth0
CVE-2020-15240
omniauth-auth0 (rubygems) versions >= 2.3.0 and < 2.4.1 improperly validate the JWT token signature when using the `jwt_validator.verify` method. Improper validation of the JWT token signature can allow an attacker to bypass authentication and authorization. You are affected by this vulnerability if all of the following conditions apply: 1. You are using `omniauth-auth0`. 2. You are using `JWTValidator.verify` method directly OR you are not authenticating using the SDK’s default Authorization Code Flow. The issue is patched in version 2.4.1.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.008, 57.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Auth0 Omniauth-Auth0 — versions >= 2.3.0, <2.4.1
Weakness classification (CWE)
References
- github.com/auth0/omniauth-auth0/security/advisories/GHSA-58r4-h6v8-jcvm (Third Party Advisory)
- github.com/auth0/omniauth-auth0/commit/fd3a14f4ccdfbc515d1121d6378ff88bf55a7a7a (Patch, Third Party Advisory)
- rubygems.org/gems/omniauth-auth0 (Product, Vendor Advisory)