Cross-site Request Forgery (CSRF) Affecting yiisoft/yii2-dev package, versions <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-YIISOFTYII2DEV-72079
  • published 1 Mar 2018
  • disclosed 22 Jan 2018
  • credit Unknown

How to fix?

Upgrade yiisoft/yii2-dev to version 2.0.14 or higher.

Overview

yiisoft/yii2-dev is a Yii PHP Framework Version 2 - Development Package.

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.

References