PT-2023-31620 · Unknown · Yii2-Authclient

Rhertogh

·

Published

2023-12-18

·

Updated

2024-01-08

·

CVE-2023-50714

CVSS v3.1

6.8

Medium

VectorAV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions yii2-authclient versions prior to 2.2.15
Description The Oauth2 PKCE implementation in yii2-authclient is vulnerable in two 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.
Recommendations For versions prior to 2.2.15, update to version 2.2.15 to resolve the issue. As a temporary workaround, consider removing the authCodeVerifier after usage and avoid relying on PKCE for CSRF protection until a patch is applied.

Exploit

Fix

SSRF

Improper Verification of Cryptographic Signature

Improper Authentication

Weakness Enumeration

Related Identifiers

CVE-2023-50714
GHSA-RW54-6826-C8J5

Affected Products

Yii2-Authclient