🛡️ CVE-2018-8074 — yii2-dev
Description
Yii Framework Code Injection
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2018-8074 is classified as CWE-94: Code Injection. Input is incorporated into code that the runtime evaluates, so an attacker can have their own code executed.
Affected software
CVE-2018-8074 is recorded against 2 packages.
- yiisoft/yii2-dev (from 2.0.0 up to 2.0.15)
- yiisoft/yii2-elasticsearch (fixed in 2.0.5)
Timeline and source
Published on 24 May 2022 and last revised on 16 February 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
www.yiiframework.com (Web)
www.yiiframework.com (Web)
Details
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| yiisoft/yii2-dev | 2.0.0 | 2.0.15 |
| yiisoft/yii2-elasticsearch | — | 2.0.5 |
References
Similar Threats
- Medium CVE-2025-2689
- Critical CVE-2018-7269
- Unknown CVE-2017-11516
- High CVE-2018-6009
- High CVE-2021-3689
More CVE 2018 advisories
Browse all of CVE 2018 in the advisory index.
Site Security Check
Is yii2-dev part of your stack?
CVE-2018-8074 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.