CVE-2023-50708

Medium

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 Oauth1/2 `state` and OpenID Connect `nonce` is vulnerable for a `timing attack` since it is compared via regular string comparison (instead of `Yii::$app->getSecurity()->compareString()`). Version 2.2.15 contains a patch for the issue. No known workarounds are available.

SeverityMedium
CVSS6.1
Exploit probability—
ProductYiiframework Yii2-authclient
PublishedDec 22, 2023
First seenDec 22, 2023
Weakness typeCWE-203CWE-203

How to fix

Update
  • yiiframework yii2-authclient2.2.15 or later
  • yiisoft/yii2-authclient2.2.15 or later

Affected products

ProductAffected versionsFixed in
yiiframework yii2-authclientv < 2.2.152.2.15
yiisoft/yii2-authclientPackagistv < 2.2.152.2.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.