GitHub Advisoryadvisory · Packagist
GHSA-cwhm-272p-3wj9 Yii Framework Cross-Site Request Forgery (CSRF)
HIGH
Official page ↗
- Aliases
- CVE-2018-6009
- Ecosystem
- Packagist
- Packages
- yiisoft/yii2, yiisoft/yii2-dev
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-352
- Reviewed
- 2024-04-24
Affected packages
• Packagist yiisoft/yii2: >= 2.0, < 2.0.14 → fixed in 2.0.14
• Packagist yiisoft/yii2-dev: >= 2.0, < 2.0.14 → fixed in 2.0.14
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.
Related
Alias · CVE (1)
- CVE-2018-6009 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. vulnerability
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-6009 advisory
- https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2018-6009.yaml web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2018-6009.yaml web
- https://github.com/yiisoft/yii2-framework package
- https://www.yiiframework.com/news/165/yii-2-0-14-is-released web