Improper Authentication Affecting yiisoft/yii2-authclient package, versions <2.2.15


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (54th 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 Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-YIISOFTYII2AUTHCLIENT-6131210
  • published19 Dec 2023
  • disclosed18 Dec 2023
  • creditrhertogh

Introduced: 18 Dec 2023

CVE-2023-50714  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade yiisoft/yii2-authclient to version 2.2.15 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication due to improper handling of the authCodeVerifier which should be removed after usage. Additionally, there is a susceptibility to a downgrade attack when PKCE is used for CSRF protection. An attacker can exploit these weaknesses by intercepting or manipulating the authorization process.

References

CVSS Scores

version 3.1