8.1high

CVE-2018-8074

Yii Framework Code Injection

Also known as GHSA-m2p5-fwp2-qcw2

Published 8 y ago · modified 4 mo ago · JSON

CVSS
8.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.5%
percentile 74%
Public exploits
0
none known

Summary

Yii 2.x before 2.0.15 allows remote attackers to inject unintended search conditions via a variant of the CVE-2018-7269 attack in conjunction with the Elasticsearch extension.

Exploit prediction (EPSS)

1.49% probability of exploitation in the next 30 days, higher than 74% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.08.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.08.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
packagistyiisoft/yii2-dev
>=2.0.0, <2.0.15
2.0.15
packagistyiisoft/yii2-elasticsearch
<2.0.5
2.0.5

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

  • yiiframework.com /news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/ · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-8074 · advisory
  • github.com /FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-elasticsearch/CVE-2018-8074.yam · web
  • github.com /yiisoft/yii2 · package
  • yiiframework.com /news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes · web
  • yiiframework.com /news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.