8.8high

CVE-2018-6009

Yii Framework Cross-Site Request Forgery (CSRF)

Also known as GHSA-cwhm-272p-3wj9

Published 8 y ago · modified 4 mo ago · JSON

CVSS
8.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.6%
percentile 49%
Public exploits
0
none known

Summary

In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.

Exploit prediction (EPSS)

0.60% probability of exploitation in the next 30 days, higher than 49% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
packagistyiisoft/yii2
>=2.0, <2.0.14
2.0.14
packagistyiisoft/yii2-dev
>=2.0, <2.0.14
2.0.14

Classification

Weakness

References

  • github.com /yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7 · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-6009 · advisory
  • github.com /FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2018-6009.yaml · web
  • github.com /FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2018-6009.yaml · web
  • github.com /yiisoft/yii2-framework · package
  • yiiframework.com /news/165/yii-2-0-14-is-released · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.