Skip to main content

Observable Discrepancy


Severity High
Score 9.8/10


yii2-authclient is an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. In yiisoft/yii2-authclient package version prior to 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()`). There are no known workarounds are available.

  • LOW
  • HIGH
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-203 - Observable Discrepancy

The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor, which exposes security-relevant information about the state of the product, such as whether a particular operation was successful or not.

Advisory Timeline

  • Published