Cross-site Request Forgery (CSRF)

Affecting yiisoft/yii2 package, versions >=2.0, <2.0.14

Do your applications use this vulnerable package? Test your applications

Overview

yiisoft/yii2 is a framework designed to be a solid foundation for PHP application.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.

Remediation

Upgrade yiisoft/yii2 to version 2.0.14 or higher.

References

CVSS Score

8.8
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Credit
Unknown
CVE
CVE-2018-6009
CWE
CWE-352
Snyk ID
SNYK-PHP-YIISOFTYII2-72037
Disclosed
14 Jan, 2018
Published
18 Feb, 2018