CVE-2023-50714

HIGH EPSS 38.5%
Published Dec 22, 20232y ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
High
Find Similar
Published Dec 22, 2023 2y ago
Last Modified Jun 17, 2026 2w ago

Description

yii2-authclient is an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. In yii2-authclient prior to version 2.2.15, the Oauth2 PKCE implementation is vulnerable in 2 ways. First, the `authCodeVerifier` should be removed after usage (similar to `authState`). Second, there is a risk for a `downgrade attack` if PKCE is being relied on for CSRF protection. Version 2.2.15 contains a patch for the issue. No known workarounds are available.

CVSS Details

Base Score
8.8
Exploitability
2.8
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
38.5% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 3

CWE-287 Improper Authentication Authentication
CWE-347
CWE-918 Server-Side Request Forgery (SSRF) Validation

Affected Products 1

VendorProductVersionRange
yiiframeworkyii2-authclient* <2.2.15

References 5

  • github.com https://github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695ff/src/OAuth1.php#L158
    Product
  • github.com https://github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695ff/src/OAuth2.php#L121
    Product
  • github.com https://github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695ff/src/OpenIdConnect.php#L420
    Product
  • github.com https://github.com/yiisoft/yii2-authclient/commit/721ed974bc44137437b0cdc8454e137fff8db213
    Patch
  • github.com https://github.com/yiisoft/yii2-authclient/security/advisories/GHSA-rw54-6826-c8j5
    ExploitThird Party Advisory

Remediation

  • github.com https://github.com/yiisoft/yii2-authclient/commit/721ed974bc44137437b0cdc8454e137fff8db213
    Patch