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 by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| packagist | yiisoft/yii2 | >=2.0, <2.0.14 | 2.0.14 |
| packagist | yiisoft/yii2-dev | >=2.0, <2.0.14 | 2.0.14 |
Classification
- Weakness
- CWE-352 Cross-Site Request Forgery
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
- CVE List: CVE-2018-6009
- GitHub Advisory: GHSA-cwhm-272p-3wj9
- NVD: CVE-2018-6009
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.