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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.1% (44th 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-YIISOFTYII2DEV-72079
  • published1 Mar 2018
  • disclosed22 Jan 2018
  • creditUnknown

Introduced: 22 Jan 2018

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

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.

CVSS Scores

version 3.1