Auth bypass in Google Oauth Client Library For Java
CVE-2020-7692
PKCE support is not implemented in accordance with the RFC for OAuth 2.0 for Native Apps. Without the use of PKCE, the authorization code returned by an authorization server is not enough to guarantee that the client that issued the initial authorization request is the one that will be authorized. An attacker is able to obtain the authorization code using a malicious app on the client-side and use it to gain authorization to the protected resource. This affects the package com.google.oauth-client:google-oauth-client before 1.31.0.
Vulnerability class: Broken Access Control
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.015, 75.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Google Oauth Client Library For Java
- Com.google.oauth-Client:google-Oauth-Client — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (11notes/docker-unifi, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276 (Third Party Advisory)
- github.com/googleapis/google-oauth-java-client/issues/469 (Third Party Advisory)
- github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc261f0b1d… (Patch, Third Party Advisory)
- tools.ietf.org/html/rfc8252#section-8.1 (Exploit, Third Party Advisory)
- tools.ietf.org/html/rfc7636#section-1 (Exploit, Third Party Advisory)
- [druid-commits] 20200724 [GitHub] [druid] suneet-s opened a new pull request #10214: Suppress CVE-2020-7692 (mailing-list)
- [druid-commits] 20200727 [druid] branch master updated: Suppress CVE-2020-7692 (#10214) (mailing-list)