Advisory

GHSA-cwhm-272p-3wj9

Also known as: CVE-2018-6009

Summary

Yii Framework Cross-Site Request Forgery (CSRF)

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 03:45 UTC
Modified
2024-04-24 18:57 UTC

Affected packages and fixes

yiisoft/yii2

Packagist · All systems

Affected

  • introduced 2.0, fixed 2.0.14 (ecosystem)

Fixed versions

2.0.14

Fix

The export has no generic command for this ecosystem.

yiisoft/yii2-dev

Packagist · All systems

Affected

  • introduced 2.0, fixed 2.0.14 (ecosystem)

Fixed versions

2.0.14

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences