CVE-2018-8074: Code Injection

Published Mar 20, 2018
·
Updated

Possibility of manipulated condition when unfiltered input is passed to yii\elasticsearch\ActiveRecord::findOne() and ::findAll()

Other sources

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.

Affected Software

4 affected componentsFixes available
composer/yiisoft/yii2-elasticsearch<2.0.5
composer/yiisoft/yii2-elasticsearch<2.0.5
2.0.5
composer/yiisoft/yii2-dev>=2.0.0<2.0.15
2.0.15
Yiiframework Yii>=2.0.0<2.0.15

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/yiisoft/yii2-elasticsearch to a version that resolves this vulnerability.

    Fixed in 2.0.5
  2. Upgrade

    Upgrade composer/yiisoft/yii2-dev to a version that resolves this vulnerability.

    Fixed in 2.0.15

Event History

Mar 20, 2018
Advisory Published
02:00 PM
Mar 21, 2018
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:29 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-8074?

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

2

How does CVE-2018-8074 affect Yii?

CVE-2018-8074 affects Yii 2.x before version 2.0.15, specifically the yii2-elasticsearch package.

3

What is the severity of CVE-2018-8074?

CVE-2018-8074 has a severity rating of 8.1 (High).

4

How can I fix CVE-2018-8074?

To fix CVE-2018-8074, you should update to Yii version 2.0.15 or apply the necessary security fixes.

5

Are there any references for CVE-2018-8074?

Yes, you can find more information about CVE-2018-8074 at the following references: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203