mittel5.9
CVE-2018-20745
Yii Incorrectly Implements CORS
Auswirkung
Yii 2.x through 2.0.15.1 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | yiisoft/yii2 | < 2.0.16 | 2.0.16 |
Betroffene Produkte · Yiiframework
| Produkt | Betroffene Versionen |
|---|---|
| Yii | ab 2.0 bis einschließlich 2.0.15.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/yiisoft/yii2/issues/16193
- https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf
- https://github.com/advisories/GHSA-cr6r-6xm9-ww22
- https://nvd.nist.gov/vuln/detail/CVE-2018-20745
- https://github.com/yiisoft/yii2/pull/16198