CVE-2018-6010: XSS

Published Jan 22, 2018
·
Updated

In Yii Framework 2.x before 2.0.14, remote attackers could obtain potentially sensitive information from exception messages, or exploit reflected XSS on the error handler page in non-debug mode. Related to base/ErrorHandler.php, log/Dispatcher.php, and views/errorHandler/exception.php.

Other sources

Remote attackers could obtain potentially sensitive information from exception messages printed by the error handler in non-debug mode.

Affected Software

23 affected componentsFixes available
composer/yiisoft/yii2<2.0.14
composer/yiisoft/yii2-dev<2.0.14
composer/yiisoft/yii2>=2.0.0<2.0.14
2.0.14
Yiiframework Yiiframework=2.0.0
Yiiframework Yiiframework=2.0.0-alpha
Yiiframework Yiiframework=2.0.0-beta
Yiiframework Yiiframework=2.0.0-rc
Yiiframework Yiiframework=2.0.1
Yiiframework Yiiframework=2.0.2
Yiiframework Yiiframework=2.0.3
Yiiframework Yiiframework=2.0.4
Yiiframework Yiiframework=2.0.5
Yiiframework Yiiframework=2.0.6
Yiiframework Yiiframework=2.0.7
Yiiframework Yiiframework=2.0.8
Yiiframework Yiiframework=2.0.9
Yiiframework Yiiframework=2.0.10
Yiiframework Yiiframework=2.0.11
Yiiframework Yiiframework=2.0.11.1
Yiiframework Yiiframework=2.0.11.2
Yiiframework Yiiframework=2.0.12
Yiiframework Yiiframework=2.0.13
Yiiframework Yiiframework=2.0.13.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 2.0.14
  2. Upgrade

    Upgrade Yii Framework 2.x to a version that resolves this vulnerability.

    Fixed in 2.0.14
  3. Configuration

    Ensure the error handler does not print potentially sensitive exception message details in non-debug mode; apply the Yii Framework 2.x fix affecting base/ErrorHandler.php, log/Dispatcher.php, and views/errorHandler/exception.php (upgrading to 2.0.14).

    Yii Framework base/ErrorHandler.php / log/Dispatcher.php / views/errorHandler/exception.php debug (non-debug mode) = true

Event History

Jan 22, 2018
Advisory Published
08:41 AM
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·10: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 the severity of CVE-2018-6010?

The severity of CVE-2018-6010 is high with a CVSS score of 7.5.

2

How can remote attackers exploit CVE-2018-6010?

Remote attackers can obtain potentially sensitive information from exception messages or exploit reflected XSS on the error handler page in non-debug mode.

3

What software versions are affected by CVE-2018-6010?

Yii Framework 2.x before 2.0.14 is affected by CVE-2018-6010.

4

Are there any fixes available for CVE-2018-6010?

Yes, upgrading to Yii Framework 2.0.14 will fix CVE-2018-6010.

5

Where can I find more information about CVE-2018-6010?

More information about CVE-2018-6010 can be found at the Yii Framework website and the GitHub repository.

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