phpmyadmin/composer · Security
phpMyAdmin SQL injection in user accounts page
- GHSA ID
- GHSA-fgj8-93xx-f6g6
- CVE ID
- CVE-2020-5504
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-5504 ↗
- https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html ↗
- https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html ↗
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html ↗
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-5504.yaml ↗
- https://www.phpmyadmin.net/security/PMASA-2020-1 ↗
- https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md ↗
- https://github.com/advisories/GHSA-fgj8-93xx-f6g6 ↗