CVE-2018-6009
HIGH8.8EPSS 0.17%Yii Framework Cross-Site Request Forgery (CSRF)
Published: 5/14/2022Modified: 4/24/2024
Description
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.
Affected packages (2)
- Packagist/yiisoft/yii2>= 2.0, < 2.0.14
- Packagist/yiisoft/yii2-dev>= 2.0, < 2.0.14
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-6009
- PATCHhttps://github.com/yiisoft/yii2-framework
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2018-6009.yaml
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2018-6009.yaml
- WEBhttps://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7
- WEBhttps://www.yiiframework.com/news/165/yii-2-0-14-is-released