Missing authorization in Google OAuth Client Library for Java



Published: 2020-07-09 | Updated: 2023-02-08
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-7692
CWE-ID CWE-863
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Google API Client Library for Java
Universal components / Libraries / Libraries used by multiple products

Vendor

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Incorrect authorization

EUVDB-ID: #VU72076

Risk: High

CVSSv3.1: 7.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-7692

CWE-ID: CWE-863 - Incorrect Authorization

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass authorization process.

The vulnerability exists due to missing support for PKCE. 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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Google API Client Library for Java: before 1.31.0

External links

http://github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc261f0b1d4764f8e3432c824
http://github.com/googleapis/google-oauth-java-client/issues/469
http://tools.ietf.org/html/rfc8252%23section-8.1
http://tools.ietf.org/html/rfc7636%23section-1
http://snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276
http://lists.apache.org/thread.html/r3db6ac73e0558d64f0b664f2fa4ef0a865e57c5de20f8321d3b48678@%3Ccommits.druid.apache.org%3E
http://lists.apache.org/thread.html/reae8909b264d1103f321b9ce1623c10c1ddc77dba9790247f2c0c90f@%3Ccommits.druid.apache.org%3E


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###