8.8
CWE
352
Advisory Published
CVE Published
Updated

CVE-2018-6009: CSRF

First published: Sat Jan 13 2018(Updated: )

In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
composer/yiisoft/yii2<2.0.14
composer/yiisoft/yii2-dev<2.0.14
Yiiframework Yiiframework=2.0.0
Yiiframework Yiiframework=2.0.0-alpha
Yiiframework Yiiframework=2.0.0-beta
Yiiframework Yiiframework=2.0.0-rc
Yiiframework Yiiframework=2.0.1
Yiiframework Yiiframework=2.0.2
Yiiframework Yiiframework=2.0.3
Yiiframework Yiiframework=2.0.4
Yiiframework Yiiframework=2.0.5
Yiiframework Yiiframework=2.0.6
Yiiframework Yiiframework=2.0.7
Yiiframework Yiiframework=2.0.8
Yiiframework Yiiframework=2.0.9
Yiiframework Yiiframework=2.0.10
Yiiframework Yiiframework=2.0.11
Yiiframework Yiiframework=2.0.11.1
Yiiframework Yiiframework=2.0.11.2
Yiiframework Yiiframework=2.0.12
Yiiframework Yiiframework=2.0.13
Yiiframework Yiiframework=2.0.13.1
composer/yiisoft/yii2-dev>=2.0<2.0.14
2.0.14
composer/yiisoft/yii2>=2.0<2.0.14
2.0.14

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this issue?

    The vulnerability ID for this issue is CVE-2018-6009.

  • What is the severity of CVE-2018-6009?

    CVE-2018-6009 has a severity value of 8.8 (high).

  • What software versions are affected by CVE-2018-6009?

    CVE-2018-6009 affects Yii Framework versions up to and including 2.0.14.

  • How does the switchIdentity() function in yii\web\User introduce the vulnerability?

    The switchIdentity() function in yii\web\User does not regenerate the CSRF token upon a change of identity, which introduces the vulnerability.

  • How can I fix CVE-2018-6009?

    To fix CVE-2018-6009, upgrade to Yii Framework version 2.0.14 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203