CVE-2016-2040: phpMyAdmin XSS Vulnerability

Published Feb 20, 2016
·
Updated

Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 allow remote authenticated users to inject arbitrary web script or HTML via a (1) table name, (2) SET value, (3) search query, or (4) hostname in a Location header.

Affected Software

56 affected componentsFixes available
composer/phpmyadmin/phpmyadmin>=4.5<4.5.4
4.5.4
composer/phpmyadmin/phpmyadmin>=4.4<4.4.15.3
4.4.15.3
composer/phpmyadmin/phpmyadmin>=4.0<4.0.10.13
4.0.10.13
Fedoraproject Fedora=22
Fedoraproject Fedora=23
openSUSE Leap=42.1
openSUSE openSUSE=13.1
openSUSE openSUSE=13.2
phpMyAdmin phpMyAdmin=4.0.0
phpMyAdmin phpMyAdmin=4.0.0-rc2
phpMyAdmin phpMyAdmin=4.0.0-rc3
phpMyAdmin phpMyAdmin=4.0.1
phpMyAdmin phpMyAdmin=4.0.10
phpMyAdmin phpMyAdmin=4.0.10.1
phpMyAdmin phpMyAdmin=4.0.10.2
phpMyAdmin phpMyAdmin=4.0.10.3
phpMyAdmin phpMyAdmin=4.0.10.4
phpMyAdmin phpMyAdmin=4.0.10.5
phpMyAdmin phpMyAdmin=4.0.10.6
phpMyAdmin phpMyAdmin=4.0.10.7
phpMyAdmin phpMyAdmin=4.0.10.8
phpMyAdmin phpMyAdmin=4.0.10.9
phpMyAdmin phpMyAdmin=4.0.10.10
phpMyAdmin phpMyAdmin=4.0.10.11
phpMyAdmin phpMyAdmin=4.0.10.12
phpMyAdmin phpMyAdmin=4.4.0
phpMyAdmin phpMyAdmin=4.4.1
phpMyAdmin phpMyAdmin=4.4.1.1
phpMyAdmin phpMyAdmin=4.4.2
phpMyAdmin phpMyAdmin=4.4.3
phpMyAdmin phpMyAdmin=4.4.4
phpMyAdmin phpMyAdmin=4.4.5
phpMyAdmin phpMyAdmin=4.4.6
phpMyAdmin phpMyAdmin=4.4.6.1
phpMyAdmin phpMyAdmin=4.4.7
phpMyAdmin phpMyAdmin=4.4.8
phpMyAdmin phpMyAdmin=4.4.9
phpMyAdmin phpMyAdmin=4.4.10
phpMyAdmin phpMyAdmin=4.4.11
phpMyAdmin phpMyAdmin=4.4.12
phpMyAdmin phpMyAdmin=4.4.13
phpMyAdmin phpMyAdmin=4.4.13.1
phpMyAdmin phpMyAdmin=4.4.14.1
phpMyAdmin phpMyAdmin=4.4.15
phpMyAdmin phpMyAdmin=4.4.15.1
phpMyAdmin phpMyAdmin=4.4.15.2
phpMyAdmin phpMyAdmin=4.4.15.3
phpMyAdmin phpMyAdmin=4.5.0
phpMyAdmin phpMyAdmin=4.5.0.1
phpMyAdmin phpMyAdmin=4.5.0.2
phpMyAdmin phpMyAdmin=4.5.1
phpMyAdmin phpMyAdmin=4.5.2
phpMyAdmin phpMyAdmin=4.5.3
composer/phpmyadmin/phpmyadmin>=4.5, <4.5.4
4.5.4
composer/phpmyadmin/phpmyadmin>=4.4, <4.4.15.3
4.4.15.3
composer/phpmyadmin/phpmyadmin>=4.0, <4.0.10.13
4.0.10.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/phpmyadmin/phpmyadmin to a version that resolves this vulnerability.

    Fixed in 4.5.4
  2. Upgrade

    Upgrade composer/phpmyadmin/phpmyadmin to a version that resolves this vulnerability.

    Fixed in 4.4.15.3
  3. Upgrade

    Upgrade composer/phpmyadmin/phpmyadmin to a version that resolves this vulnerability.

    Fixed in 4.0.10.13

Event History

Feb 20, 2016
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Data Sourced
via NVD·01:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 14, 2022
Advisory Published
02:08 AM
Data Sourced
via GitHub·02:08 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·02:08 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What are the risks associated with CVE-2016-2040?

CVE-2016-2040 exposes phpMyAdmin to multiple cross-site scripting (XSS) vulnerabilities, allowing attackers to inject arbitrary web script or HTML.

2

How do I patch CVE-2016-2040?

To fix CVE-2016-2040, upgrade phpMyAdmin to at least version 4.5.4, 4.4.15.3, or 4.0.10.13.

3

Which versions of phpMyAdmin are affected by CVE-2016-2040?

CVE-2016-2040 affects phpMyAdmin versions 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4.

4

Who can exploit CVE-2016-2040?

CVE-2016-2040 can be exploited by remote authenticated users with sufficient privileges to change table names or modify search queries.

5

What is the potential impact of CVE-2016-2040?

The potential impact of CVE-2016-2040 includes unauthorized script execution in users' browsers, leading to data theft or session hijacking.

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