Auth bypass in Yiiframework Yii2-Authclient
CVE-2023-50714
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.005 (39.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Yiiframework Yii2-Authclient
- Yiisoft Yii2-Authclient — versions < 2.2.15
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/yiisoft/yii2-authclient/security/advisories/GHSA-rw54-6826-c8j5 (Exploit, Third Party Advisory)
- github.com/yiisoft/yii2-authclient/commit/721ed974bc44137437b0cdc8454e137fff8db… (Patch)
- github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695f… (Product)
- github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695f… (Product)
- github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695f… (Product)
Frequently asked questions
- What is CVE-2023-50714?
- CVE-2023-50714 is a medium-severity vulnerability in Yiiframework Yii2-Authclient, classified under Improper Verification of Cryptographic Signature. CVSS score: 6.8/10. Published 2023-12-22.
- How severe is CVE-2023-50714?
- Medium severity. CVSS v3 base score is 6.8 out of 10.
- Is CVE-2023-50714 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.