Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpmyadmin/phpmyadmin
  4. ›
  5. CVE-2020-10804

CVE-2020-10804: SQL Injection

March 22, 2020 (updated November 2, 2020)

An SQL injection vulnerability was found 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).

References

  • nvd.nist.gov/vuln/detail/CVE-2020-10804
  • www.phpmyadmin.net/security/PMASA-2020-2/

Code Behaviors & Features

Detect and mitigate CVE-2020-10804 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0 before 4.9.5, all versions starting from 5.0.0 before 5.0.2

Fixed versions

  • 4.9.5
  • 5.0.2

Solution

Upgrade to versions 4.9.5, 5.0.2 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/phpmyadmin/phpmyadmin/CVE-2020-10804.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.