CVE-2023-50708
Yiiframework Yii2-Authclient ≤ 2.2.15
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2023-50708 is a medium-severity Observable Discrepancy (CWE-203) vulnerability in Yiiframework Yii2-Authclient. Its CVSS base score is 6.1 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Gather Victim Identity Information (T1589); ranked in the top 45% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-3310
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 1 hardening rule · 1 OS baseline
—
Likely Mitigating Controls
Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Misdirection can normalize or falsify responses to eliminate observable discrepancies that aid reconnaissance.
Observable discrepancies in system behavior can be modulated to create covert storage or timing channels; the required analysis detects and constrains such avenues.
Prevents attackers from using observable differences in error responses to infer internal system details or state.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly prevent observable response discrepancies via consistent error handling and timing.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Training helps developers recognize that uniform error messages, constant-time comparisons and non-leaking response patterns are security requirements, addressing the common knowledge-gap cases (error-message enumeration, basic auth timing); however, CWE-203 also covers deeper technical instances — cache/power/microarchitectural side channels, TTL and packet-level discrepancies — that exceed what general awareness training reaches, leaving a nameable remainder.
Secure coding standards can mandate consistent error messages, constant-time comparisons, and uniform response behavior, addressing the application-layer observable discrepancies (different error messages, response timing in auth flows). The remainder is nameable: hardware-level side channels (cache, power consumption, RAPL interfaces), subtle timing differences emerging from complex code paths, and network-level observable differences (TTL, packet behavior) are not caught by coding practice alone, and the clause's mechanism is human practice which is fallible.
A.8.30 carries its effect through the secure design, coding and testing practices (8.25-8.29) its contract requires of the supplier, so observable discrepancies in delivered code are reduced the way those practices reduce them — but the clause mandates a practice, not a mechanism, and what it catches depends on the rigour of the supplier's implementation, leaving a fallible remainder.
A.8.5's log-on procedure guidance (items c, d, e) directly blocks user enumeration via error messages and timing discrepancies during authentication, but the control does not address observable discrepancies outside the log-on process such as side-channel attacks or behavioral information leaks.