PT-2023-31614 · Unknown · Yii2-Authclient
Rhertogh
·
Published
2023-12-18
·
Updated
2024-01-08
·
CVE-2023-50708
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
yii2-authclient versions prior to 2.2.15
Description
The issue concerns a timing attack vulnerability in the Oauth1/2
state and OpenID Connect nonce due to comparison via regular string comparison instead of using Yii::$app->getSecurity()->compareString(). This vulnerability affects the OAuth 1 "state", OAuth 2 "state", and OpenID Connect "nonce". No estimated number of potentially affected devices or real-world incidents are mentioned.Recommendations
For yii2-authclient versions prior to 2.2.15, update to version 2.2.15 to resolve the issue. As a temporary workaround, consider using
Yii::$app->getSecurity()->compareString() for comparing the Oauth1/2 state and OpenID Connect nonce until the official patch is applied.Exploit
Fix
Side Channel Attack
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Yii2-Authclient