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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (50th percentile)

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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PHPMYADMINPHPMYADMIN-560923
  • published22 Mar 2020
  • disclosed20 Mar 2020
  • creditUnknown

Introduced: 20 Mar 2020

CVE-2020-10804  (opens in a new tab)
CWE-89  (opens in a new tab)

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 in retrieval of the current username (in libraries/classes/Server/Privileges.php and libraries/classes/UserPassword.php). A malicious user with access to the server could create a crafted username, and then trick the victim into performing specific actions with that user account (such as editing its privileges).

CVSS Scores

version 3.1