Cross-site Request Forgery (CSRF) Affecting yiisoft/yii2 package, versions >=2.0, <2.0.14


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.07% (31st percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-YIISOFTYII2-72037
  • published 18 Feb 2018
  • disclosed 14 Jan 2018
  • credit Unknown

How to fix?

Upgrade yiisoft/yii2 to version 2.0.14 or higher.

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.