CVE-2020-5504: SQL Injection

Published Jan 1, 2020
·
Updated

In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page. A malicious user could inject custom SQL in place of their own username when creating queries to this page. An attacker must have a valid MySQL account to access the server.

Affected Software

7 affected componentsFixes available
composer/phpmyadmin/phpmyadmin>=4.0.0, <4.9.4, >=5.0.0, <5.0.1
composer/phpmyadmin/phpmyadmin>=5.0.0<5.0.1
5.0.1
composer/phpmyadmin/phpmyadmin>=4.0.0<4.9.4
4.9.4
phpMyAdmin phpMyAdmin>=4.0.0<4.9.4
phpMyAdmin phpMyAdmin>=5.0.0<5.0.1
SUSE SUSE Linux Enterprise Server=12
Debian Debian Linux=8.0

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 5.0.1
  2. Upgrade

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

    Fixed in 4.9.4

Event History

Jan 1, 2020
Advisory Published
01:54 PM
Jan 9, 2020
CVE Published
via MITRE·09:56 PM
Data Sourced
via MITRE·09:56 PM
Description
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 3, 2025
Exploit Published
12:00 AM
Known Exploited
11:13 AM
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 vulnerability ID CVE-2020-5504?

The vulnerability ID CVE-2020-5504 refers to a SQL injection vulnerability in the user accounts page.

2

What software versions are affected by CVE-2020-5504?

Versions 4.0.0 up to 4.9.4 and versions 5.0.0 up to 5.0.1 of the phpMyAdmin software are affected by CVE-2020-5504.

3

What is the severity of CVE-2020-5504?

The severity of CVE-2020-5504 is not available.

4

How does the SQL injection vulnerability in the user accounts page work?

The SQL injection vulnerability in the user accounts page allows an attacker to execute malicious SQL queries, potentially giving them unauthorized access to sensitive information or allowing them to manipulate the database.

5

How can I fix the SQL injection vulnerability in the user accounts page?

To fix the SQL injection vulnerability in the user accounts page, it is recommended to update to a patched version of phpMyAdmin that addresses the vulnerability.

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