SQL Injection Affecting phpmyadmin/phpmyadmin package, versions >=4.0.0, <4.9.5 >=5.0.0, <5.0.2


0.0
medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required

    Threat Intelligence

    EPSS 0.11% (44th percentile)
Expand this section
NVD
5.4 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-PHPMYADMINPHPMYADMIN-560907
  • published 22 Mar 2020
  • disclosed 20 Mar 2020
  • credit Unknown

How to fix?

Upgrade phpmyadmin/phpmyadmin to version 4.9.5, 5.0.2 or higher.

Overview

phpmyadmin/phpmyadmin is a web interface for MySQL and MariaDB.

Affected versions of this package are vulnerable to SQL Injection via the tbl_get_field.php and libraries/classes/Display/Results.php classes where malicious code could be used to trigger an XSS attack through retrieving and displaying results. The attacker must be able to insert crafted data into certain database tables, which when retrieved can trigger the XSS attack.