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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd percentile)

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 Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-YIISOFTYII2-72037
  • published18 Feb 2018
  • disclosed14 Jan 2018
  • creditUnknown

Introduced: 14 Jan 2018

CVE-2018-6009  (opens in a new tab)
CWE-352  (opens in a new tab)

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.

CVSS Scores

version 3.1