Broken CORS (Cross-Origin Resource Sharing)

Affecting yiisoft/yii2 package, versions <2.0.16

Do your applications use this vulnerable package? Test your applications

Overview

yiisoft/yii2 is a Yii PHP Framework.

Affected versions of this package are vulnerable to Broken CORS (Cross-Origin Resource Sharing). It 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.

Remediation

Upgrade yiisoft/yii2 to version 2.0.16 or higher.

References

CVSS Score

5.6
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    Low
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Credit
chenjj
CVE
CVE-2018-20745
CWE
CWE-346
Snyk ID
SNYK-PHP-YIISOFTYII2-73651
Disclosed
28 Jan, 2019
Published
10 Feb, 2019